summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-07-08 11:43:04 +0200
committerStefano Karapetsas <[email protected]>2014-07-08 11:43:04 +0200
commit1cc02144b717d503fe285361f75819ca48089c79 (patch)
tree10ca1d696139665fdfafd98411d1024a2ceab40e /data
parent06778518d38fc40cd106ac1a2a525ee2f416dc10 (diff)
downloadmate-session-manager-1cc02144b717d503fe285361f75819ca48089c79.tar.bz2
mate-session-manager-1cc02144b717d503fe285361f75819ca48089c79.tar.xz
Add key in GSettings schema to set logout timeout in seconds
0 disables timeout
Diffstat (limited to 'data')
-rw-r--r--data/org.mate.session.gschema.xml.in.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/data/org.mate.session.gschema.xml.in.in b/data/org.mate.session.gschema.xml.in.in
index 2415c67..4ce615e 100644
--- a/data/org.mate.session.gschema.xml.in.in
+++ b/data/org.mate.session.gschema.xml.in.in
@@ -15,6 +15,12 @@
<_summary>Logout prompt</_summary>
<_description>If enabled, mate-session will prompt the user before ending a session.</_description>
</key>
+ <key name="logout-timeout" type="i">
+ <default>60</default>
+ <range min="0" max="300"/>
+ <_summary>Logout timeout</_summary>
+ <_description>If logout prompt is enabled, this set the timeout in seconds before logout automatically. If 0, automatic logout is disabled.</_description>
+ </key>
<key name="idle-delay" type="i">
<default>5</default>
<_summary>Time before session is considered idle</_summary>