ScreenShield: fix wrong signal value in ActiveChanged
ActiveChanged should be about active, not locked. https://bugzilla.gnome.org/show_bug.cgi?id=691964
This commit is contained in:
parent
5c4570fcaa
commit
644b8304ab
@ -248,7 +248,7 @@ const ScreenSaverDBus = new Lang.Class({
|
|||||||
|
|
||||||
this._screenShield = screenShield;
|
this._screenShield = screenShield;
|
||||||
screenShield.connect('lock-status-changed', Lang.bind(this, function(shield) {
|
screenShield.connect('lock-status-changed', Lang.bind(this, function(shield) {
|
||||||
this._dbusImpl.emit_signal('ActiveChanged', GLib.Variant.new('(b)', [shield.locked]));
|
this._dbusImpl.emit_signal('ActiveChanged', GLib.Variant.new('(b)', [shield.active]));
|
||||||
}));
|
}));
|
||||||
|
|
||||||
this._dbusImpl = Gio.DBusExportedObject.wrapJSObject(ScreenSaverIface, this);
|
this._dbusImpl = Gio.DBusExportedObject.wrapJSObject(ScreenSaverIface, this);
|
||||||
|
Loading…
Reference in New Issue
Block a user