[gnome-control-center] power: Construct the gsd proxies properly



commit 5fb7b67ab6d9928ec792b5025f2093529b7f932f
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Jan 5 17:45:58 2013 -0500

    power: Construct the gsd proxies properly
    
    The code was not using the correct bus name for the screen proxy.
    https://bugzilla.gnome.org/show_bug.cgi?id=691177

 panels/power/cc-power-panel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/power/cc-power-panel.c b/panels/power/cc-power-panel.c
index c361197..0b7849d 100644
--- a/panels/power/cc-power-panel.c
+++ b/panels/power/cc-power-panel.c
@@ -1915,7 +1915,7 @@ cc_power_panel_init (CcPowerPanel *self)
   g_dbus_proxy_new_for_bus (G_BUS_TYPE_SESSION,
                             G_DBUS_PROXY_FLAGS_NONE,
                             NULL,
-                            "org.gnome.SettingsDaemon",
+                            "org.gnome.SettingsDaemon.Power",
                             "/org/gnome/SettingsDaemon/Power",
                             "org.gnome.SettingsDaemon.Power.Screen",
                             priv->cancellable,



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