aboutsummaryrefslogtreecommitdiff
path: root/src/gconf-helper.h
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-07-18 20:08:34 +0100
committerConor Curran <conor.curran@canonical.com>2011-07-18 20:08:34 +0100
commite226343737929872852a01c4e9b621a26de23ab9 (patch)
tree45532fc337065612787ac5ee3b822742acc50a42 /src/gconf-helper.h
parentb92df905984963b9923fc7d826b0bcf963dda962 (diff)
parent797cf05a2f643dfed7b70db6abf2095f1216aa89 (diff)
downloadayatana-indicator-session-e226343737929872852a01c4e9b621a26de23ab9.tar.gz
ayatana-indicator-session-e226343737929872852a01c4e9b621a26de23ab9.tar.bz2
ayatana-indicator-session-e226343737929872852a01c4e9b621a26de23ab9.zip
user menu abstracted
Diffstat (limited to 'src/gconf-helper.h')
-rw-r--r--src/gconf-helper.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gconf-helper.h b/src/gconf-helper.h
index 505c24f..039b309 100644
--- a/src/gconf-helper.h
+++ b/src/gconf-helper.h
@@ -39,6 +39,12 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#define RESTART_KEY GLOBAL_DIR "/suppress_restart_menuitem"
#define SHUTDOWN_KEY GLOBAL_DIR "/suppress_shutdown_menuitem"
+#define LOCKDOWN_DIR "/desktop/gnome/lockdown"
+#define LOCKDOWN_KEY_USER LOCKDOWN_DIR "/disable_user_switching"
+#define LOCKDOWN_KEY_SCREENSAVER LOCKDOWN_DIR "/disable_lock_screen"
+#define KEYBINDING_DIR "/apps/gnome_settings_daemon/keybindings"
+#define KEY_LOCK_SCREEN KEYBINDING_DIR "/screensaver"
+
typedef struct _RestartShutdownLogoutMenuItems
{
DbusmenuMenuitem * logout_mi;