aboutsummaryrefslogtreecommitdiff
path: root/src/settings-helper.c
diff options
context:
space:
mode:
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) ;