[gnome-shell] power: Use the new gnome-settings-daemon DBus names now the power plugin has moved there



commit c5676900046266a1cdac5216b2bedd6d2b98795e
Author: Richard Hughes <richard hughsie com>
Date:   Mon Jul 4 12:09:06 2011 +0100

    power: Use the new gnome-settings-daemon DBus names now the power plugin has moved there

 js/ui/status/power.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/status/power.js b/js/ui/status/power.js
index 1961702..fe757ec 100644
--- a/js/ui/status/power.js
+++ b/js/ui/status/power.js
@@ -12,8 +12,8 @@ const PanelMenu = imports.ui.panelMenu;
 const PopupMenu = imports.ui.popupMenu;
 const Util = imports.misc.util;
 
-const BUS_NAME = 'org.gnome.PowerManager';
-const OBJECT_PATH = '/org/gnome/PowerManager';
+const BUS_NAME = 'org.gnome.SettingsDaemon';
+const OBJECT_PATH = '/org/gnome/SettingsDaemon/Power';
 
 const UPDeviceType = {
     UNKNOWN: 0,
@@ -41,7 +41,7 @@ const UPDeviceState = {
 };
 
 const PowerManagerInterface = {
-    name: 'org.gnome.PowerManager',
+    name: 'org.gnome.SettingsDaemon.Power',
     methods: [
         { name: 'GetDevices', inSignature: '', outSignature: 'a(susbut)' },
         { name: 'GetPrimaryDevice', inSignature: '', outSignature: '(susbut)' },



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