-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
1 parent
522a1d2
commit 463cdb5
Showing
3 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters