From cf5f3639b23ba4e2bd12fd4b987e67f7a3b3b1d4 Mon Sep 17 00:00:00 2001 From: Conor Curran Date: Tue, 6 Sep 2011 16:52:08 +0100 Subject: live cd user should now be turned off via new gsettings entry by casper --- src/settings-helper.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/settings-helper.h') diff --git a/src/settings-helper.h b/src/settings-helper.h index 7b377ca..f17f8ea 100644 --- a/src/settings-helper.h +++ b/src/settings-helper.h @@ -36,6 +36,7 @@ with this program. If not, see . #define LOGOUT_KEY "suppress-logout-menuitem" #define RESTART_KEY "suppress-restart-menuitem" #define SHUTDOWN_KEY "suppress-shutdown-menuitem" +#define SHOW_USER_MENU "show-user-menu" #define LOCKDOWN_SCHEMA "org.gnome.desktop.lockdown" #define LOCKDOWN_KEY_USER "disable-user-switching" @@ -56,5 +57,7 @@ gboolean supress_confirmations (void); gboolean show_logout (void); gboolean show_restart (void); gboolean show_shutdown (void); +gboolean should_show_user_menu (void); + #endif /* __GCONF_HELPER__ */ -- cgit v1.2.3 From b23c52315a5a5ccb875926a6c567baa9074e8338 Mon Sep 17 00:00:00 2001 From: Conor Curran Date: Tue, 6 Sep 2011 17:36:25 +0100 Subject: change the actual key on the entry --- src/settings-helper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/settings-helper.h') diff --git a/src/settings-helper.h b/src/settings-helper.h index f17f8ea..ae57575 100644 --- a/src/settings-helper.h +++ b/src/settings-helper.h @@ -36,7 +36,7 @@ with this program. If not, see . #define LOGOUT_KEY "suppress-logout-menuitem" #define RESTART_KEY "suppress-restart-menuitem" #define SHUTDOWN_KEY "suppress-shutdown-menuitem" -#define SHOW_USER_MENU "show-user-menu" +#define SHOW_USER_MENU "user-show-menu" #define LOCKDOWN_SCHEMA "org.gnome.desktop.lockdown" #define LOCKDOWN_KEY_USER "disable-user-switching" -- cgit v1.2.3