Commit 8bcbf303 authored by Florian Müllner's avatar Florian Müllner
Browse files

power: Fix icon updates

gnome-settings-daemon commit 07b1ed63016 removed the custom 'Changed'
DBus signal in favor of the standard 'PropertiesChanged' signal, so
use that instead to update the icon.
parent 1bc7edc5
......@@ -46,7 +46,6 @@ const PowerManagerInterface = <interface name="org.gnome.SettingsDaemon.Power">
<method name="GetPrimaryDevice">
<arg type="(susdut)" direction="out" />
<signal name="Changed" />
<property name="Icon" type="s" access="read" />
......@@ -76,7 +75,8 @@ const Indicator = new Lang.Class({ PopupMenu.PopupSeparatorMenuItem());"Power Settings"), 'gnome-power-panel.desktop');
this._proxy.connectSignal('Changed', Lang.bind(this, this._devicesChanged));
Lang.bind(this, this._devicesChanged));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment