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 21, 2025
1 parent c83b471 commit 001fdb2
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 @@ -194,7 +194,8 @@ void DBusMenu::fillLayoutItem(
appendSubItem(subLayoutItems, BII_Restart, depth, propertyNames);
}
if (parent_->instance()->canRestart() &&
getDesktopType() != DesktopType::DEEPIN) {
getDesktopType() != DesktopType::DEEPIN &&
getDesktopType() != DesktopType::UKUI) {
appendSubItem(subLayoutItems, BII_Exit, depth, propertyNames);
}
} else if (id == BII_InputMethodGroup) {
Expand Down

0 comments on commit 001fdb2

Please sign in to comment.