Skip to content

Commit 7b2ee7d

Browse files
hantengcwengxt
authored andcommitted
adjust registration order
By referring to other OS, such as Windows and Mac, found that the settings function is always placed at the bottom. So did the same on fcitx5
1 parent f5acb96 commit 7b2ee7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/notificationitem/dbusmenu.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,10 @@ void DBusMenu::fillLayoutItem(
189189
if (hasAction) {
190190
appendSubItem(subLayoutItems, BII_Separator2, depth, propertyNames);
191191
}
192-
appendSubItem(subLayoutItems, BII_Configure, depth, propertyNames);
193192
if (parent_->instance()->canRestart()) {
194193
appendSubItem(subLayoutItems, BII_Restart, depth, propertyNames);
195194
}
195+
appendSubItem(subLayoutItems, BII_Configure, depth, propertyNames);
196196
if (parent_->instance()->canRestart() &&
197197
getDesktopType() != DesktopType::DEEPIN &&
198198
getDesktopType() != DesktopType::UKUI) {

0 commit comments

Comments
 (0)