Hello community,

here is the log from the commit of package plasma5-workspace for 
openSUSE:Factory checked in at 2017-07-11 08:23:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/plasma5-workspace (Old)
 and      /work/SRC/openSUSE:Factory/.plasma5-workspace.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "plasma5-workspace"

Tue Jul 11 08:23:29 2017 rev:69 rq:509066 version:5.10.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/plasma5-workspace/plasma5-workspace.changes      
2017-07-02 13:36:36.216384205 +0200
+++ /work/SRC/openSUSE:Factory/.plasma5-workspace.new/plasma5-workspace.changes 
2017-07-11 08:23:30.655202891 +0200
@@ -1,0 +2,7 @@
+Sun Jul  9 09:51:05 UTC 2017 - [email protected]
+
+- Add logoutdialog-honor-Offer-shutdown-options.patch to make the
+  logout dialog respect the "Offer shutdown options" setting and
+  hide "Reboot" and "Shutdown" if disabled (boo#1008844)
+
+-------------------------------------------------------------------

New:
----
  logoutdialog-honor-Offer-shutdown-options.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ plasma5-workspace.spec ++++++
--- /var/tmp/diff_new_pack.ryQ1wI/_old  2017-07-11 08:23:31.499083874 +0200
+++ /var/tmp/diff_new_pack.ryQ1wI/_new  2017-07-11 08:23:31.503083310 +0200
@@ -39,6 +39,7 @@
 # PATCHES 100-200 and above are from upstream 5.10 branch
 # PATCHES 201-300 and above are from upstream master/5.11 branch
 Patch201:       applauncher-allow-to-show-apps-by-name.patch
+Patch202:       logoutdialog-honor-Offer-shutdown-options.patch
 BuildRequires:  breeze5-icons
 BuildRequires:  fdupes
 BuildRequires:  kf5-filesystem
@@ -211,6 +212,7 @@
 %patch0 -p1
 %patch1 -p1
 %patch201 -p1
+%patch202 -p1
 
 %build
   %cmake_kf5 -d build -- -DKDE4_COMMON_PAM_SERVICE=xdm 
-DKDE_DEFAULT_HOME=.kde4 -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir}

++++++ logoutdialog-honor-Offer-shutdown-options.patch ++++++
>From 913142c565ec7cb51f9d5406193d3c9a2562dbb0 Mon Sep 17 00:00:00 2001
From: Kai Uwe Broulik <[email protected]>
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


Reply via email to