diff options
author | Eric Koegel <eric.koegel@gmail.com> | 2017-05-21 04:05:35 +0300 |
---|---|---|
committer | Eric Koegel <eric.koegel@gmail.com> | 2017-05-21 04:07:49 +0300 |
commit | 702361edb121d2c17fdcb1d7e19ee1af23eb6c61 (patch) | |
tree | 288ccc237fc4845d4c28523248745a759550c54f /data | |
parent | b1670e77f714848144b495037b0c55c34d8faf6f (diff) | |
download | ConsoleKit2-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.conf | 3 |
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" |