diff options
author | Sebastien Bacher <seb128@ubuntu.com> | 2010-04-09 20:59:20 +0200 |
---|---|---|
committer | Sebastien Bacher <seb128@ubuntu.com> | 2010-04-09 20:59:20 +0200 |
commit | ef92fb6b07220aea130c9a32890c56623e393a45 (patch) | |
tree | 75c5ec3c6753057bcfa68703e206d2a6c2c3ee26 /src/gconf-helper.h | |
parent | 81db14844ae153486cd472e1186d98b33865a23a (diff) | |
parent | dda06df8cd9fd0186d81701c72ff2e6fa36f5658 (diff) | |
download | ayatana-indicator-session-ef92fb6b07220aea130c9a32890c56623e393a45.tar.gz ayatana-indicator-session-ef92fb6b07220aea130c9a32890c56623e393a45.tar.bz2 ayatana-indicator-session-ef92fb6b07220aea130c9a32890c56623e393a45.zip |
releasing version 0.2.8-0ubuntu1~ppa1
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__ */ |