diff options
author | Marco Trevisan (TreviƱo) <mail@3v1n0.net> | 2014-04-10 17:39:10 +0000 |
---|---|---|
committer | CI bot <ps-jenkins@lists.canonical.com> | 2014-04-10 17:39:10 +0000 |
commit | 36fe650a80739727b9fe10a59196d504c1b8aecd (patch) | |
tree | ed4d9ca250824e0955342d291626f575f2369c64 /src/backend-dbus/com.canonical.Unity.Session.xml | |
parent | 74352b31c0addac59c36e767096d0ddddf9eee93 (diff) | |
parent | e4b9f042a74b471f0b5992b99701231c3052e3ef (diff) | |
download | ayatana-indicator-session-36fe650a80739727b9fe10a59196d504c1b8aecd.tar.gz ayatana-indicator-session-36fe650a80739727b9fe10a59196d504c1b8aecd.tar.bz2 ayatana-indicator-session-36fe650a80739727b9fe10a59196d504c1b8aecd.zip |
DBusActions: use unity session APIs when unity is running
Use Immediate lock when switching, and rely to standard lock (with fade) in normal cases. Fixes: 1305194
Diffstat (limited to 'src/backend-dbus/com.canonical.Unity.Session.xml')
-rw-r--r-- | src/backend-dbus/com.canonical.Unity.Session.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/backend-dbus/com.canonical.Unity.Session.xml b/src/backend-dbus/com.canonical.Unity.Session.xml new file mode 100644 index 0000000..1dce43e --- /dev/null +++ b/src/backend-dbus/com.canonical.Unity.Session.xml @@ -0,0 +1,12 @@ +<!DOCTYPE node PUBLIC +"-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" +"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> +<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd"> + <interface name="com.canonical.Unity.Session"> + <method name="Lock" /> + <method name="PromptLock" /> + <method name="RequestLogout" /> + <method name="RequestReboot" /> + <method name="RequestShutdown" /> + </interface> +</node> |