summaryrefslogtreecommitdiff
path: root/mate-session
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-11-07 12:30:29 +0100
committerinfirit <[email protected]>2014-11-07 12:30:29 +0100
commitb1d7d27360d4e718bad6a0455f796e7b2b7ed0d4 (patch)
treead8a22567ca8344cc3659b9a51741bd196d0af68 /mate-session
parent1d445c051f73d55fa4477ab19ba16af543c63007 (diff)
downloadmate-session-manager-b1d7d27360d4e718bad6a0455f796e7b2b7ed0d4.tar.bz2
mate-session-manager-b1d7d27360d4e718bad6a0455f796e7b2b7ed0d4.tar.xz
lockdown: Add define for disable-log-out
Diffstat (limited to 'mate-session')
-rw-r--r--mate-session/gsm-manager.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mate-session/gsm-manager.c b/mate-session/gsm-manager.c
index c8af33a..f2b5fd0 100644
--- a/mate-session/gsm-manager.c
+++ b/mate-session/gsm-manager.c
@@ -83,6 +83,7 @@
#define LOCKDOWN_SCHEMA "org.mate.lockdown"
#define KEY_LOCK_DISABLE "disable-lock-screen"
+#define KEY_LOG_OUT_DISABLE "disable-log-out"
#define KEY_USER_SWITCH_DISABLE "disable-user-switching"
#define SESSION_SCHEMA "org.mate.session"
@@ -3319,7 +3320,7 @@ static gboolean
_log_out_is_locked_down (GsmManager *manager)
{
return g_settings_get_boolean (manager->priv->settings_lockdown,
- "disable-log-out");
+ KEY_LOG_OUT_DISABLE);
}
gboolean