[gnome-shell] altTab: Use 'switch-applications' for app switcher



commit 2fb1d707fec10dfaa7ae888fa3504c157a988c72
Author: Florian MÃllner <fmuellner gnome org>
Date:   Fri Nov 23 01:18:06 2012 +0100

    altTab: Use 'switch-applications' for app switcher
    
    The Shell's alt-tab popup is application-based, so using the
    'switch-windows' keybinding for it never really made sense.
    Use the newly added 'switch-applications' keybinding instead.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=688913

 js/ui/altTab.js        |    6 +++---
 js/ui/windowManager.js |    4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/js/ui/altTab.js b/js/ui/altTab.js
index b587219..95f2bad 100644
--- a/js/ui/altTab.js
+++ b/js/ui/altTab.js
@@ -127,7 +127,7 @@ const AltTabPopup = new Lang.Class({
             }
         } else if (binding == 'switch-group-backward') {
             this._select(0, this._items[0].cachedWindows.length - 1);
-        } else if (binding == 'switch-windows-backward') {
+        } else if (binding == 'switch-applications-backward') {
             this._select(this._items.length - 1);
         } else if (this._items.length == 1) {
             this._select(0);
@@ -158,9 +158,9 @@ const AltTabPopup = new Lang.Class({
             this._select(this._selectedIndex, backwards ? this._previousWindow() : this._nextWindow());
         } else if (action == Meta.KeyBindingAction.SWITCH_GROUP_BACKWARD) {
             this._select(this._selectedIndex, this._previousWindow());
-        } else if (action == Meta.KeyBindingAction.SWITCH_WINDOWS) {
+        } else if (action == Meta.KeyBindingAction.SWITCH_APPLICATIONS) {
             this._select(backwards ? this._previous() : this._next());
-        } else if (action == Meta.KeyBindingAction.SWITCH_WINDOWS_BACKWARD) {
+        } else if (action == Meta.KeyBindingAction.SWITCH_APPLICATIONS_BACKWARD) {
             this._select(this._previous());
         } else if (this._thumbnailsFocused) {
             if (keysym == Clutter.Left)
diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js
index f4e9578..ef33fbc 100644
--- a/js/ui/windowManager.js
+++ b/js/ui/windowManager.js
@@ -136,13 +136,13 @@ const WindowManager = new Lang.Class({
                                         Main.KeybindingMode.NORMAL |
                                         Main.KeybindingMode.OVERVIEW,
                                         Lang.bind(this, this._showWorkspaceSwitcher));
-        this.setCustomKeybindingHandler('switch-windows',
+        this.setCustomKeybindingHandler('switch-applications',
                                         Main.KeybindingMode.NORMAL,
                                         Lang.bind(this, this._startAppSwitcher));
         this.setCustomKeybindingHandler('switch-group',
                                         Main.KeybindingMode.NORMAL,
                                         Lang.bind(this, this._startAppSwitcher));
-        this.setCustomKeybindingHandler('switch-windows-backward',
+        this.setCustomKeybindingHandler('switch-applications-backward',
                                         Main.KeybindingMode.NORMAL,
                                         Lang.bind(this, this._startAppSwitcher));
         this.setCustomKeybindingHandler('switch-group-backward',



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]