Package not found: devel:languages:python/.collapse-python-hishel-15_6

File logoutdialog-honor-Offer-shutdown-options.patch of Package plasma5-workspace

From 913142c565ec7cb51f9d5406193d3c9a2562dbb0 Mon Sep 17 00:00:00 2001
From: Kai Uwe Broulik <kde@privat.broulik.de>
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
@@ -133,6 +133,7 @@ PlasmaCore.ColorScope {
                 KeyNavigation.left: suspendButton
                 KeyNavigation.right: shutdownButton
                 focus: sdtype == ShutdownType.ShutdownTypeReboot
+                visible: maysd
             }
             LogoutButton {
                 id: shutdownButton
@@ -142,6 +143,7 @@ PlasmaCore.ColorScope {
                 KeyNavigation.left: rebootButton
                 KeyNavigation.right: logoutButton
                 focus: sdtype == ShutdownType.ShutdownTypeHalt
+                visible: maysd
             }
             LogoutButton {
                 id: logoutButton
-- 
cgit v0.11.2

openSUSE Build Service is sponsored by