[gnome-settings-daemon] power: fix DBus path of gnome-screensaver

commit 031b33f19ef1af5c7eb569c857b7308a396dbb40
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Thu Aug 16 16:08:19 2012 +0200

    power: fix DBus path of gnome-screensaver
    The right path for both gnome-screensaver and gnome-shell is
    /org/gnome/ScreenSaver. It was never noticed because the proxy
    is created without properties and there is no callback in the
    method calls.

 plugins/power/gsd-power-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/plugins/power/gsd-power-manager.c b/plugins/power/gsd-power-manager.c
index 82127f7..033ab8a 100644
--- a/plugins/power/gsd-power-manager.c
+++ b/plugins/power/gsd-power-manager.c
@@ -66,7 +66,7 @@
 #define GSD_POWER_DBUS_INTERFACE_KEYBOARD       "org.gnome.SettingsDaemon.Power.Keyboard"
 #define GS_DBUS_NAME                            "org.gnome.ScreenSaver"
-#define GS_DBUS_PATH                            "/"
+#define GS_DBUS_PATH                            "/org/gnome/ScreenSaver"
 #define GS_DBUS_INTERFACE                       "org.gnome.ScreenSaver"
 #define GSD_POWER_MANAGER_NOTIFY_TIMEOUT_NEVER          0 /* ms */

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]