aboutsummaryrefslogtreecommitdiff
path: root/src/gconf-helper.h
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-03-15 21:50:48 -0500
committerTed Gould <ted@gould.cx>2010-03-15 21:50:48 -0500
commit868fd5ed54d3d3e5ce8c054c9381602a2671e34d (patch)
tree0d4b973bc6e0dbe7d95930ce041ba4a9246454af /src/gconf-helper.h
parent4c19fcf5d137c16beacdcda830366f473d34532b (diff)
downloadayatana-indicator-session-868fd5ed54d3d3e5ce8c054c9381602a2671e34d.tar.gz
ayatana-indicator-session-868fd5ed54d3d3e5ce8c054c9381602a2671e34d.tar.bz2
ayatana-indicator-session-868fd5ed54d3d3e5ce8c054c9381602a2671e34d.zip
Update to handle the new key for showing the logout menu item.
Diffstat (limited to 'src/gconf-helper.h')
-rw-r--r--src/gconf-helper.h8
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__ */