summaryrefslogtreecommitdiff
path: root/extra/gnome-power-manager
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-10-17 14:16:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-10-17 14:16:38 +0000
commite1b3d592f43a99f4ed7c91971deda6ce8414dd69 (patch)
tree38fecdc19b201d4d28df13c22e9b3b45bb469e4b /extra/gnome-power-manager
parentd286d980d2ff42151e9bc81ec348c864c24f9cc4 (diff)
Mon Oct 17 14:16:38 UTC 2011
Diffstat (limited to 'extra/gnome-power-manager')
-rw-r--r--extra/gnome-power-manager/fix-suspend.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/extra/gnome-power-manager/fix-suspend.patch b/extra/gnome-power-manager/fix-suspend.patch
deleted file mode 100644
index acd9093cd..000000000
--- a/extra/gnome-power-manager/fix-suspend.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 44503c5bca065290ce73b0d064a1a0db7de2936d Mon Sep 17 00:00:00 2001
-From: Matthias Clasen <mclasen@redhat.com>
-Date: Mon, 02 May 2011 23:18:58 +0000
-Subject: gpm-idle: manually update the status property
-
-gnome-session doesn't emit PropertyChanged since it uses dbus-glib,
-therefore we need to manually update the cached property when
-receiving a SessionChanged signal.
-
-https://bugzilla.redhat.com/show_bug.cgi?id=679083
-
-Signed-off-by: Richard Hughes <richard@hughsie.com>
----
-diff --git a/src/gpm-idle.c b/src/gpm-idle.c
-index 04225fc..0f2f1ee 100644
---- a/src/gpm-idle.c
-+++ b/src/gpm-idle.c
-@@ -424,6 +424,11 @@ gpm_idle_dbus_signal_cb (GDBusProxy *proxy, const gchar *sender_name, const gcha
- return;
- }
- if (g_strcmp0 (signal_name, "StatusChanged") == 0) {
-+ guint status;
-+
-+ g_variant_get (parameters, "(u)", &status);
-+ g_dbus_proxy_set_cached_property (proxy, "status",
-+ g_variant_new ("u", status));
- g_debug ("Received gnome session status change");
- gpm_idle_evaluate (idle);
- return;
---
-cgit v0.9