Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove the restart icon #15

Merged
merged 1 commit into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading