Skip to content

Commit

Permalink
fix: remove the restart icon
Browse files Browse the repository at this point in the history
remove the restart icon from the right-click menu

Log: remove the restart icon
Bug: https://pms.uniontech.com/bug-view-270971.html
  • Loading branch information
xionglinlin authored and Zeno-sole committed Oct 25, 2024
1 parent 522a1d2 commit 463cdb5
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
fcitx5 (5.1.10-1deepin5) unstable; urgency=medium

* remove the restart icon from the right-click menu

-- xionglinlin <[email protected]> Wed, 16 Oct 2024 16:25:33 +0800

fcitx5 (5.1.10-1deepin4) unstable; urgency=medium

* Use gcc 12.
Expand Down
25 changes: 25 additions & 0 deletions debian/patches/0008-fix-remove-the-restart-icon.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
From: xionglinlin <[email protected]>
Date: Sun, 29 Sep 2024 11:44:52 +0800
Subject: fix: remove the restart icon

remove the restart icon from the right-click menu

Log: remove the restart icon
Bug: https://pms.uniontech.com/bug-view-270971.html
---
src/modules/notificationitem/dbusmenu.cpp | 2 --
1 file changed, 2 deletions(-)

diff --git a/src/modules/notificationitem/dbusmenu.cpp b/src/modules/notificationitem/dbusmenu.cpp
index 10e33c5..e29409f 100644
--- a/src/modules/notificationitem/dbusmenu.cpp
+++ b/src/modules/notificationitem/dbusmenu.cpp
@@ -259,8 +259,6 @@ void DBusMenu::fillLayoutProperties(
case BII_Restart:
appendProperty(properties, propertyNames, "label",
dbus::Variant(_("Restart")));
- appendProperty(properties, propertyNames, "icon-name",
- dbus::Variant("view-refresh"));
break;
case BII_Exit:
appendProperty(properties, propertyNames, "label",
1 change: 1 addition & 0 deletions debian/patches/series
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
0005-configtool-opens-dde-control-center-when-using-DDE.patch
0006-Revert-disable-ctrl-shift-enumerate-key-by-default.patch
0007-Add-Sogou-to-the-default-zh_CN-input-method-list.patch
0008-fix-remove-the-restart-icon.patch

0 comments on commit 463cdb5

Please sign in to comment.