summaryrefslogtreecommitdiff
path: root/src/shell-action-modes.h
diff options
context:
space:
mode:
authorFlorian Müllner <fmuellner@gnome.org>2015-02-26 01:05:29 +0100
committerFlorian Müllner <fmuellner@gnome.org>2015-02-26 01:41:18 +0100
commit890a80902267befd30711770b8488072fcc8a9b7 (patch)
tree7dc28b0c738bd1a263eaa6eff05c4c88144cb10e /src/shell-action-modes.h
parent530e8273ff775ffdc6e39cca02d0f6ac4cca96d8 (diff)
downloadgnome-shell-890a80902267befd30711770b8488072fcc8a9b7.tar.gz
Drop MESSAGE_TRAY action mode
The mode is never set after the removal of the bottom tray, so it no longer makes sense to pass it to allowKeybinding(). We can also safely remove it from the ActionModes flags altogether without requiring a synchronized update with gnome-settings-daemon, as the latter never used any flag value above LOGIN_SCREEN.
Diffstat (limited to 'src/shell-action-modes.h')
-rw-r--r--src/shell-action-modes.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/shell-action-modes.h b/src/shell-action-modes.h
index bf21d341c..a6f4718b1 100644
--- a/src/shell-action-modes.h
+++ b/src/shell-action-modes.h
@@ -10,8 +10,6 @@
* @SHELL_ACTION_MODE_UNLOCK_SCREEN: allow action in the unlock
* dialog
* @SHELL_ACTION_MODE_LOGIN_SCREEN: allow action in the login screen
- * @SHELL_ACTION_MODE_MESSAGE_TRAY: allow action while the message
- * tray is popped up
* @SHELL_ACTION_MODE_SYSTEM_MODAL: allow action when a system modal
* dialog (e.g. authentification or session dialogs) is open
* @SHELL_ACTION_MODE_LOOKING_GLASS: allow action in looking glass
@@ -28,10 +26,9 @@ typedef enum {
SHELL_ACTION_MODE_LOCK_SCREEN = 1 << 2,
SHELL_ACTION_MODE_UNLOCK_SCREEN = 1 << 3,
SHELL_ACTION_MODE_LOGIN_SCREEN = 1 << 4,
- SHELL_ACTION_MODE_MESSAGE_TRAY = 1 << 5,
- SHELL_ACTION_MODE_SYSTEM_MODAL = 1 << 6,
- SHELL_ACTION_MODE_LOOKING_GLASS = 1 << 7,
- SHELL_ACTION_MODE_POPUP = 1 << 8,
+ SHELL_ACTION_MODE_SYSTEM_MODAL = 1 << 5,
+ SHELL_ACTION_MODE_LOOKING_GLASS = 1 << 6,
+ SHELL_ACTION_MODE_POPUP = 1 << 7,
SHELL_ACTION_MODE_ALL = ~0,
} ShellActionMode;