diff options
author | Ted Gould <ted@gould.cx> | 2010-04-06 17:24:42 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-04-06 17:24:42 -0500 |
commit | 07dcd3f24ee57e0ee895e457f1b07bd126c2facf (patch) | |
tree | fda98ff5c2ed97e5ded4056723259a22c90bc1ff /src | |
parent | fd1e69241e772a7f9f463ce98bf532c78fdf91f5 (diff) | |
download | ayatana-indicator-session-07dcd3f24ee57e0ee895e457f1b07bd126c2facf.tar.gz ayatana-indicator-session-07dcd3f24ee57e0ee895e457f1b07bd126c2facf.tar.bz2 ayatana-indicator-session-07dcd3f24ee57e0ee895e457f1b07bd126c2facf.zip |
Adding the restart and shutdown keys and functions to check them.
Diffstat (limited to 'src')
-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__ */ |