[gnome-shell] Make org.gnome.ScreenSaver.SetActive work
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] Make org.gnome.ScreenSaver.SetActive work
- Date: Sun, 14 Oct 2012 01:06:39 +0000 (UTC)
commit a7d344d28738c803f5864925253d26a59081726b
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Oct 12 19:37:36 2012 -0400
Make org.gnome.ScreenSaver.SetActive work
The interface was declared to take an unsigned integer instead
of a boolean, as gnome-screensaver does. Due to this,
gnome-screensaver-command --activate or --deactivate does not
work when used with gnome-shell.
https://bugzilla.gnome.org/show_bug.cgi?id=686063
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 0b403be..65465ef 100644
--- a/js/ui/shellDBus.js
+++ b/js/ui/shellDBus.js
@@ -57,7 +57,7 @@ const ScreenSaverIface = <interface name="org.gnome.ScreenSaver">
<arg name="active" direction="out" type="b" />
</method>
<method name="SetActive">
- <arg name="value" direction="in" type="u" />
+ <arg name="value" direction="in" type="b" />
</method>
<signal name="ActiveChanged">
<arg name="new_value" type="b" />
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]