aboutsummaryrefslogtreecommitdiff
path: root/src/gconf-helper.h
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-03-16 14:47:59 -0500
committerTed Gould <ted@gould.cx>2010-03-16 14:47:59 -0500
commit1e43b72a71addb0dd45b0e7ea5dc195b0b250196 (patch)
treef2beb19767afa62ec082f540f97c1f53e1f85dce /src/gconf-helper.h
parent0cfa0d154f3e3fcea6c4d0c946fa665c0b12aa9a (diff)
parent87d0374245134a7a723ee6dd8a1a1aec90ca4776 (diff)
downloadayatana-indicator-session-1e43b72a71addb0dd45b0e7ea5dc195b0b250196.tar.gz
ayatana-indicator-session-1e43b72a71addb0dd45b0e7ea5dc195b0b250196.tar.bz2
ayatana-indicator-session-1e43b72a71addb0dd45b0e7ea5dc195b0b250196.zip
Sync up to trunk.
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__ */