[kdebase-workspace/f15] add awol patch
Rex Dieter
rdieter at fedoraproject.org
Fri Aug 12 17:57:32 UTC 2011
commit 15f8b6e0abfd48468d91b2375ad1deb14586abed
Author: Rex Dieter <rdieter at fedoraproject.org>
Date: Fri Aug 12 12:57:07 2011 -0500
add awol patch
kdebase-workspace-4.7.0-kde#278206.patch | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/kdebase-workspace-4.7.0-kde#278206.patch b/kdebase-workspace-4.7.0-kde#278206.patch
new file mode 100644
index 0000000..8817e96
--- /dev/null
+++ b/kdebase-workspace-4.7.0-kde#278206.patch
@@ -0,0 +1,14 @@
+diff --git a/libs/kworkspace/kdisplaymanager.cpp b/libs/kworkspace/kdisplaymanager.cpp
+index 57f7765..bd5c974 100644
+--- a/libs/kworkspace/kdisplaymanager.cpp
++++ b/libs/kworkspace/kdisplaymanager.cpp
+@@ -124,8 +124,7 @@ KDisplayManager::KDisplayManager() : d(new Private)
+ DMType = OldKDM;
+ else if (::getenv("GDMSESSION")) {
+ //lightDM identifies itself as GDM at the moment.
+- QDBusReply<bool> reply = QDBusConnection::systemBus().interface()->isServiceRegistered("org.lightdm.LightDisplayManager");
+- if (reply.isValid()) {
++ if (LightDMDBus().isValid()) {
+ DMType = LightDM;
+ } else {
+ DMType = GDMFactory().isValid() ? NewGDM : OldGDM;
More information about the scm-commits
mailing list