From 913142c565ec7cb51f9d5406193d3c9a2562dbb0 Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik Date: Sat, 8 Jul 2017 16:29:01 +0200 Subject: [Logout Dialog] Honor "Offer shutdown options" "maysd" stands for "may shut down" apparently. Kickoff already removed the options in this case but clicking "Logout" yields the new dialog which offers them all again. Differential Revision: https://phabricator.kde.org/D6574 --- lookandfeel/contents/logout/Logout.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lookandfeel/contents/logout/Logout.qml b/lookandfeel/contents/logout/Logout.qml index 460b802..251e1ee 100644 --- a/lookandfeel/contents/logout/Logout.qml +++ b/lookandfeel/contents/logout/Logout.qml @@ -168,6 +168,7 @@ PlasmaCore.ColorScope { KeyNavigation.left: suspendButton KeyNavigation.right: shutdownButton focus: sdtype == ShutdownType.ShutdownTypeReboot + visible: maysd } LogoutButton { id: shutdownButton @@ -177,6 +178,7 @@ PlasmaCore.ColorScope { KeyNavigation.left: rebootButton KeyNavigation.right: logoutButton focus: sdtype == ShutdownType.ShutdownTypeHalt + visible: maysd } LogoutButton { id: logoutButton -- cgit v0.11.2