aboutsummaryrefslogtreecommitdiff
path: root/src/settings-helper.h
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-09-08 14:01:36 +0100
committerConor Curran <conor.curran@canonical.com>2011-09-08 14:01:36 +0100
commit6174b1bac576198e5d3df35f93971598937e71c6 (patch)
treede31cf2284a2860bdd4b209fd443e05e922c087b /src/settings-helper.h
parentdaa6295ce57baca8b3e4fc574e3b8dd29cf2598e (diff)
downloadayatana-indicator-session-6174b1bac576198e5d3df35f93971598937e71c6.tar.gz
ayatana-indicator-session-6174b1bac576198e5d3df35f93971598937e71c6.tar.bz2
ayatana-indicator-session-6174b1bac576198e5d3df35f93971598937e71c6.zip
user correct string on switch item unless user actually wants to show username
Diffstat (limited to 'src/settings-helper.h')
-rw-r--r--src/settings-helper.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/settings-helper.h b/src/settings-helper.h
index ae57575..ea0c99f 100644
--- a/src/settings-helper.h
+++ b/src/settings-helper.h
@@ -21,7 +21,7 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef __GCONF_HELPER_H__
-#define __GCONF_HELPER_H__ 1
+#define __GCONF_HELPER_H__
#include <glib/gi18n.h>
@@ -31,12 +31,13 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#include <libdbusmenu-glib/server.h>
#include <libdbusmenu-glib/menuitem.h>
-#define SESSION_SCHEMA "com.canonical.indicator.session"
-#define SUPPRESS_KEY "suppress-logout-restart-shutdown"
-#define LOGOUT_KEY "suppress-logout-menuitem"
-#define RESTART_KEY "suppress-restart-menuitem"
-#define SHUTDOWN_KEY "suppress-shutdown-menuitem"
-#define SHOW_USER_MENU "user-show-menu"
+#define SESSION_SCHEMA "com.canonical.indicator.session"
+#define SUPPRESS_KEY "suppress-logout-restart-shutdown"
+#define LOGOUT_KEY "suppress-logout-menuitem"
+#define RESTART_KEY "suppress-restart-menuitem"
+#define SHUTDOWN_KEY "suppress-shutdown-menuitem"
+#define SHOW_USER_MENU "user-show-menu"
+#define USER_USERNAME_IN_SWITCH_ITEM "use-username-in-switch-item"
#define LOCKDOWN_SCHEMA "org.gnome.desktop.lockdown"
#define LOCKDOWN_KEY_USER "disable-user-switching"