From c5676900046266a1cdac5216b2bedd6d2b98795e Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Mon, 4 Jul 2011 12:09:06 +0100 Subject: [PATCH] power: Use the new gnome-settings-daemon DBus names now the power plugin has moved there --- js/ui/status/power.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/ui/status/power.js b/js/ui/status/power.js index 196170262..fe757ec36 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)' },