aboutsummaryrefslogtreecommitdiff
path: root/src/gconf-helper.h
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-04-07 13:44:46 -0500
committerTed Gould <ted@gould.cx>2010-04-07 13:44:46 -0500
commita40be08e33cb64bfedb327288fdb9afb8a3a8187 (patch)
treed5ebe78cf8d9069cbf373dc2e5512701ad0dbdee /src/gconf-helper.h
parente822834a58b32ebf9ecc85a2e2dc159d416ec3ed (diff)
parent58cb1d4475110e662fa2d67717daa5b263c3331e (diff)
downloadayatana-indicator-session-a40be08e33cb64bfedb327288fdb9afb8a3a8187.tar.gz
ayatana-indicator-session-a40be08e33cb64bfedb327288fdb9afb8a3a8187.tar.bz2
ayatana-indicator-session-a40be08e33cb64bfedb327288fdb9afb8a3a8187.zip
Make restart and shutdown configurable with GConf
Diffstat (limited to 'src/gconf-helper.h')
-rw-r--r--src/gconf-helper.h6
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__ */