diff options
| author | Ted Gould <ted@gould.cx> | 2010-03-18 14:19:39 -0500 |
|---|---|---|
| committer | Ted Gould <ted@gould.cx> | 2010-03-18 14:19:39 -0500 |
| commit | 2b2e31f1ea346dd43cc2e4838695984e3f8ca67e (patch) | |
| tree | b58ce0b44fca14ed5e35ef08799fbc0d8e128ef6 /src/gconf-helper.h | |
| parent | 631d34aad2f454fb334330f3b041e8e0c4495434 (diff) | |
| parent | f1095e5616806c67db70f3875eea38abf6ce9e19 (diff) | |
| download | ayatana-indicator-session-2b2e31f1ea346dd43cc2e4838695984e3f8ca67e.tar.gz ayatana-indicator-session-2b2e31f1ea346dd43cc2e4838695984e3f8ca67e.tar.bz2 ayatana-indicator-session-2b2e31f1ea346dd43cc2e4838695984e3f8ca67e.zip | |
Upstream release 0.2.6
∘ Updating sessions to make guest account marked when being
used (LP: #436030)
∘ String "Switch From" is miscapitalized (LP: #540265)
∘ Follow user switching lockdown key (LP: #504360)
∘ Use user avatar images in session menu (LP: #436028)
∘ Don't show suspend/hibernate if disabled in Policy Kit (LP: #432598)
∘ Lock screen when switching users (LP: #536801)
∘ Fix callback prototype (LP: #536990)
∘ Revert back to "Shut Down" instead of "Switch Off" (LP: #540056)
∘ Fix leaked GConf notifications
∘ Add GConf key for showing the "Log Out" item
∘ Adding the ability to specify a desktop file to have at the end
of the menu.
∘ Setting up restart required notification by changing panel icon
and icon in menus.
∘ Use the libindicator image helpers
∘ Set proper translation domain for loadable indicator
∘ Translation update
Diffstat (limited to 'src/gconf-helper.h')
| -rw-r--r-- | src/gconf-helper.h | 8 |
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__ */ |
