diff options
author | Ken VanDine <ken.vandine@canonical.com> | 2010-03-18 15:51:49 -0400 |
---|---|---|
committer | Ken VanDine <ken.vandine@canonical.com> | 2010-03-18 15:51:49 -0400 |
commit | 585f1180a33057220f2afc5dae896ed44045f99c (patch) | |
tree | a3e6db63beec92f63452c6448868a2800a074505 /src/gconf-helper.h | |
parent | 91a59d5405f998627cc94d14a8c8501aee797e14 (diff) | |
parent | 66c6817500eb8e5ad899f20f8d46d4336e5ffdd3 (diff) | |
download | ayatana-indicator-session-585f1180a33057220f2afc5dae896ed44045f99c.tar.gz ayatana-indicator-session-585f1180a33057220f2afc5dae896ed44045f99c.tar.bz2 ayatana-indicator-session-585f1180a33057220f2afc5dae896ed44045f99c.zip |
releasing version 0.2.6-0ubuntu1
Diffstat (limited to 'src/gconf-helper.h')
-rw-r--r-- | src/gconf-helper.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gconf-helper.h b/src/gconf-helper.h index 951bb0f..6f9bcb7 100644 --- a/src/gconf-helper.h +++ b/src/gconf-helper.h @@ -33,8 +33,9 @@ with this program. If not, see <http://www.gnu.org/licenses/>. #include <libdbusmenu-glib/server.h> #include <libdbusmenu-glib/menuitem.h> -#define SUPPRESS_KEY "/apps/indicator-session/suppress_logout_restart_shutdown" -#define GLOBAL_DIR "/apps/indicator-session" +#define GLOBAL_DIR "/apps/indicator-session" +#define SUPPRESS_KEY GLOBAL_DIR "/suppress_logout_restart_shutdown" +#define LOGOUT_KEY GLOBAL_DIR "/suppress_logout_menuitem" typedef struct _RestartShutdownLogoutMenuItems { @@ -44,7 +45,8 @@ typedef struct _RestartShutdownLogoutMenuItems } RestartShutdownLogoutMenuItems; -void update_menu_entries(RestartShutdownLogoutMenuItems*); +void update_menu_entries(RestartShutdownLogoutMenuItems*, DbusmenuMenuitem * logoutitem); gboolean supress_confirmations (void); +gboolean show_logout (void); #endif /* __GCONF_HELPER__ */ |