Skip to content

Commit

Permalink
do not display the exit button on the UKUI desktop environment
Browse files Browse the repository at this point in the history
  • Loading branch information
hantengc committed Jan 7, 2025
1 parent b7dac05 commit 8b12ec7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/modules/notificationitem/dbusmenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,8 @@ void DBusMenu::fillLayoutItem(
}
appendSubItem(subLayoutItems, BII_Configure, depth, propertyNames);
appendSubItem(subLayoutItems, BII_Restart, depth, propertyNames);
if (getDesktopType() != DesktopType::DEEPIN) {
if ((getDesktopType() != DesktopType::DEEPIN) &&
(getDesktopType() != DesktopType::UKUI)) {
appendSubItem(subLayoutItems, BII_Exit, depth, propertyNames);
}
} else if (id == BII_InputMethodGroup) {
Expand Down

0 comments on commit 8b12ec7

Please sign in to comment.