summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorEric Koegel <eric.koegel@gmail.com>2017-05-21 04:05:35 +0300
committerEric Koegel <eric.koegel@gmail.com>2017-05-21 04:07:49 +0300
commit702361edb121d2c17fdcb1d7e19ee1af23eb6c61 (patch)
tree288ccc237fc4845d4c28523248745a759550c54f /data
parentb1670e77f714848144b495037b0c55c34d8faf6f (diff)
downloadConsoleKit2-702361edb121d2c17fdcb1d7e19ee1af23eb6c61.tar.gz
feat: add a session-state property and method
CK2 will change this property dynamically depending on if the session is active or online. At some point we may also provide the "closing" state as well but it's currently unused. This property maps to the logind state.
Diffstat (limited to 'data')
-rw-r--r--data/ConsoleKit.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/ConsoleKit.conf b/data/ConsoleKit.conf
index 54f2ac2..9c564ce 100644
--- a/data/ConsoleKit.conf
+++ b/data/ConsoleKit.conf
@@ -157,6 +157,9 @@
send_member="GetSessionClass"/>
<allow send_destination="org.freedesktop.ConsoleKit"
send_interface="org.freedesktop.ConsoleKit.Session"
+ send_member="GetSessionState"/>
+ <allow send_destination="org.freedesktop.ConsoleKit"
+ send_interface="org.freedesktop.ConsoleKit.Session"
send_member="GetUser"/>
<allow send_destination="org.freedesktop.ConsoleKit"
send_interface="org.freedesktop.ConsoleKit.Session"