Accepting request 816717 from home:Vogtinator:plasma5.19
- Add patch to fix power actions (kde#423391): * 0001-Fix-DBus-service-used-in-shutdown-interface.patch OBS-URL: https://build.opensuse.org/request/show/816717 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/plasma5-workspace?expand=0&rev=522
This commit is contained in:
37
0001-Fix-DBus-service-used-in-shutdown-interface.patch
Normal file
37
0001-Fix-DBus-service-used-in-shutdown-interface.patch
Normal file
@@ -0,0 +1,37 @@
|
||||
From 1c787f7698b5078779c043b3b5ff98800679d0ec Mon Sep 17 00:00:00 2001
|
||||
From: David Edmundson <kde@davidedmundson.co.uk>
|
||||
Date: Tue, 23 Jun 2020 16:17:44 +0100
|
||||
Subject: [PATCH] Fix DBus service used in shutdown interface
|
||||
|
||||
During Plasma 5.18, ksmserver was cleverly split so it hosted the new
|
||||
new interface registering both services names org.kde.ksmserver and
|
||||
org.kde.Shutdown.
|
||||
|
||||
This way we could do a gradual port, update the libs, and migrate the
|
||||
final code without any breakages. It was a good plan in theory.
|
||||
|
||||
In 5.19 we did the final actual splitting, unfortunately in
|
||||
libkworkspace on the path where we skip logout confirmation had the
|
||||
wrong name.
|
||||
|
||||
BUG: 423391
|
||||
---
|
||||
libkworkspace/sessionmanagement.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/libkworkspace/sessionmanagement.cpp b/libkworkspace/sessionmanagement.cpp
|
||||
index 943b4c4c6..b9d868548 100644
|
||||
--- a/libkworkspace/sessionmanagement.cpp
|
||||
+++ b/libkworkspace/sessionmanagement.cpp
|
||||
@@ -47,7 +47,7 @@ class ShutdownIface : public OrgKdeShutdownInterface
|
||||
Q_OBJECT
|
||||
public:
|
||||
ShutdownIface()
|
||||
- : OrgKdeShutdownInterface(QStringLiteral("org.kde.ksmserver"), QStringLiteral("/Shutdown"), QDBusConnection::sessionBus())
|
||||
+ : OrgKdeShutdownInterface(QStringLiteral("org.kde.Shutdown"), QStringLiteral("/Shutdown"), QDBusConnection::sessionBus())
|
||||
{
|
||||
}
|
||||
};
|
||||
--
|
||||
2.25.1
|
||||
|
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 23 20:24:28 UTC 2020 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Add patch to fix power actions (kde#423391):
|
||||
* 0001-Fix-DBus-service-used-in-shutdown-interface.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 23 13:26:18 UTC 2020 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
|
@@ -42,6 +42,7 @@ Source3: baselibs.conf
|
||||
Source4: plasmafullwayland.desktop
|
||||
# PATCH-FIX-UPSTREAM
|
||||
Patch1: 0001-Port-applets-to-use-PlasmaExtras.PlaceholderMessage.patch
|
||||
Patch2: 0001-Fix-DBus-service-used-in-shutdown-interface.patch
|
||||
# PATCHES 501-??? are PATCH-FIX-OPENSUSE
|
||||
Patch501: 0001-Use-qdbus-qt5.patch
|
||||
Patch502: 0001-Ignore-default-sddm-face-icons.patch
|
||||
|
Reference in New Issue
Block a user