Skip to content

Commit a10c27f

Browse files
authored
do not display the exit button on the UKUI desktop environment (#1228)
1 parent c83b471 commit a10c27f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/modules/notificationitem/dbusmenu.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,8 @@ void DBusMenu::fillLayoutItem(
194194
appendSubItem(subLayoutItems, BII_Restart, depth, propertyNames);
195195
}
196196
if (parent_->instance()->canRestart() &&
197-
getDesktopType() != DesktopType::DEEPIN) {
197+
getDesktopType() != DesktopType::DEEPIN &&
198+
getDesktopType() != DesktopType::UKUI) {
198199
appendSubItem(subLayoutItems, BII_Exit, depth, propertyNames);
199200
}
200201
} else if (id == BII_InputMethodGroup) {

0 commit comments

Comments
 (0)