diff options
author | Ted Gould <ted@gould.cx> | 2010-04-07 13:45:47 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-04-07 13:45:47 -0500 |
commit | d268b36aa4b078efe0cd4014358360c32ddf58a3 (patch) | |
tree | 7c52ae577fff77c4540dfe113dac734a71108d89 /src/gconf-helper.h | |
parent | cf5ace2d77add0de49cbe888b1b9cb57a4463d00 (diff) | |
parent | 9c92ecca86b835536b70b34b1f53719c287306da (diff) | |
download | ayatana-indicator-session-d268b36aa4b078efe0cd4014358360c32ddf58a3.tar.gz ayatana-indicator-session-d268b36aa4b078efe0cd4014358360c32ddf58a3.tar.bz2 ayatana-indicator-session-d268b36aa4b078efe0cd4014358360c32ddf58a3.zip |
* Upstream Merge
* Making restart and shutdown items configurable (LP: #548810)
Diffstat (limited to 'src/gconf-helper.h')
-rw-r--r-- | src/gconf-helper.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gconf-helper.h b/src/gconf-helper.h index 6f9bcb7..505c24f 100644 --- a/src/gconf-helper.h +++ b/src/gconf-helper.h @@ -36,6 +36,8 @@ with this program. If not, see <http://www.gnu.org/licenses/>. #define GLOBAL_DIR "/apps/indicator-session" #define SUPPRESS_KEY GLOBAL_DIR "/suppress_logout_restart_shutdown" #define LOGOUT_KEY GLOBAL_DIR "/suppress_logout_menuitem" +#define RESTART_KEY GLOBAL_DIR "/suppress_restart_menuitem" +#define SHUTDOWN_KEY GLOBAL_DIR "/suppress_shutdown_menuitem" typedef struct _RestartShutdownLogoutMenuItems { @@ -45,8 +47,10 @@ typedef struct _RestartShutdownLogoutMenuItems } RestartShutdownLogoutMenuItems; -void update_menu_entries(RestartShutdownLogoutMenuItems*, DbusmenuMenuitem * logoutitem); +void update_menu_entries(RestartShutdownLogoutMenuItems*); gboolean supress_confirmations (void); gboolean show_logout (void); +gboolean show_restart (void); +gboolean show_shutdown (void); #endif /* __GCONF_HELPER__ */ |