aboutsummaryrefslogtreecommitdiff
path: root/src/settings-helper.c
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2011-09-06 22:09:19 +0200
committerSebastien Bacher <seb128@ubuntu.com>2011-09-06 22:09:19 +0200
commitf3e7aa155d66704fcdb97ec4201095dfe9e74a0a (patch)
tree273c675f7e0431a9d50ec6d89d4bfe7955ecf164 /src/settings-helper.c
parent4faa2c96bc8f608d7066564dd2569c013a2c6ea4 (diff)
parent433512c195ed7faac8d834bd648f32aaff380827 (diff)
downloadayatana-indicator-session-f3e7aa155d66704fcdb97ec4201095dfe9e74a0a.tar.gz
ayatana-indicator-session-f3e7aa155d66704fcdb97ec4201095dfe9e74a0a.tar.bz2
ayatana-indicator-session-f3e7aa155d66704fcdb97ec4201095dfe9e74a0a.zip
Import upstream version 0.3.4.3
Diffstat (limited to 'src/settings-helper.c')
-rw-r--r--src/settings-helper.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/settings-helper.c b/src/settings-helper.c
index 5a69d17..d70df95 100644
--- a/src/settings-helper.c
+++ b/src/settings-helper.c
@@ -53,6 +53,12 @@ supress_confirmations (void) {
}
gboolean
+should_show_user_menu (void) {
+ build_settings();
+ return g_settings_get_boolean (settings, SHOW_USER_MENU) ;
+}
+
+gboolean
show_logout (void) {
build_settings();
return !g_settings_get_boolean (settings, LOGOUT_KEY) ;