diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2012-06-17 14:03:25 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2012-06-17 14:03:25 -0500 |
commit | 63b800e6036bc9d5096d8f7b7db42a814b8a2bed (patch) | |
tree | 150d229310660daca351d19d6b2afab4affd56f7 /src/settings-helper.h | |
parent | 8cb934f213894b998bc3c471f5636fa9f0ae1dd4 (diff) | |
download | ayatana-indicator-session-63b800e6036bc9d5096d8f7b7db42a814b8a2bed.tar.gz ayatana-indicator-session-63b800e6036bc9d5096d8f7b7db42a814b8a2bed.tar.bz2 ayatana-indicator-session-63b800e6036bc9d5096d8f7b7db42a814b8a2bed.zip |
a step in merging the two menus: consolidate & clean up the code in session-menu-mgr
Diffstat (limited to 'src/settings-helper.h')
-rw-r--r-- | src/settings-helper.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/settings-helper.h b/src/settings-helper.h index 17304af..8c4b2e8 100644 --- a/src/settings-helper.h +++ b/src/settings-helper.h @@ -23,11 +23,6 @@ with this program. If not, see <http://www.gnu.org/licenses/>. #ifndef __GCONF_HELPER_H__ #define __GCONF_HELPER_H__ -#include <glib/gi18n.h> - -#include <libdbusmenu-glib/server.h> -#include <libdbusmenu-glib/menuitem.h> - #define SESSION_SCHEMA "com.canonical.indicator.session" #define SUPPRESS_KEY "suppress-logout-restart-shutdown" #define LOGOUT_KEY "suppress-logout-menuitem" @@ -35,25 +30,6 @@ with this program. If not, see <http://www.gnu.org/licenses/>. #define SHUTDOWN_KEY "suppress-shutdown-menuitem" #define SHOW_USER_MENU "user-show-menu" -#define LOCKDOWN_SCHEMA "org.gnome.desktop.lockdown" -#define LOCKDOWN_KEY_USER "disable-user-switching" -#define LOCKDOWN_KEY_SCREENSAVER "disable-lock-screen" -#define KEYBINDING_SCHEMA "org.gnome.settings-daemon.plugins.media-keys" -#define KEY_LOCK_SCREEN "screensaver" - -typedef struct _RestartShutdownLogoutMenuItems -{ - DbusmenuMenuitem * logout_mi; - DbusmenuMenuitem * restart_mi; - DbusmenuMenuitem * shutdown_mi; -} -RestartShutdownLogoutMenuItems; - -void update_menu_entries(RestartShutdownLogoutMenuItems*); gboolean supress_confirmations (void); -gboolean show_logout (void); -gboolean show_restart (void); -gboolean show_shutdown (void); - #endif /* __GCONF_HELPER__ */ |