diff --git a/js/ui/status/power.js b/js/ui/status/power.js index 60600bfe5..9391bf871 100644 --- a/js/ui/status/power.js +++ b/js/ui/status/power.js @@ -46,7 +46,6 @@ const PowerManagerInterface = - ; @@ -76,7 +75,8 @@ const Indicator = new Lang.Class({ this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem()); this.menu.addSettingsAction(_("Power Settings"), 'gnome-power-panel.desktop'); - this._proxy.connectSignal('Changed', Lang.bind(this, this._devicesChanged)); + this._proxy.connect('g-properties-changed', + Lang.bind(this, this._devicesChanged)); this._devicesChanged(); },