[gnome-shell] ScreenShield: fix wrong signal value in ActiveChanged
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] ScreenShield: fix wrong signal value in ActiveChanged
- Date: Thu, 31 Jan 2013 17:25:51 +0000 (UTC)
commit 644b8304ab2f9ed0925a4d395af00b9c272e5e7a
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Thu Jan 31 18:05:46 2013 +0100
ScreenShield: fix wrong signal value in ActiveChanged
ActiveChanged should be about active, not locked.
https://bugzilla.gnome.org/show_bug.cgi?id=691964
js/ui/shellDBus.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/shellDBus.js b/js/ui/shellDBus.js
index cf6c1f2..44ddf74 100644
--- a/js/ui/shellDBus.js
+++ b/js/ui/shellDBus.js
@@ -248,7 +248,7 @@ const ScreenSaverDBus = new Lang.Class({
this._screenShield = screenShield;
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]