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
This commit is contained in:
parent
0ac215f9de
commit
a7d344d287
@ -57,7 +57,7 @@ const ScreenSaverIface = <interface name="org.gnome.ScreenSaver">
|
|||||||
<arg name="active" direction="out" type="b" />
|
<arg name="active" direction="out" type="b" />
|
||||||
</method>
|
</method>
|
||||||
<method name="SetActive">
|
<method name="SetActive">
|
||||||
<arg name="value" direction="in" type="u" />
|
<arg name="value" direction="in" type="b" />
|
||||||
</method>
|
</method>
|
||||||
<signal name="ActiveChanged">
|
<signal name="ActiveChanged">
|
||||||
<arg name="new_value" type="b" />
|
<arg name="new_value" type="b" />
|
||||||
|
Loading…
Reference in New Issue
Block a user