[gnome-shell] [AppSwitcher] Allow use of arrow keys in the popup



commit c2af05f753bd697fe75eebded16f10a7652531f6
Author: Dan Winship <danw gnome org>
Date:   Wed Sep 23 12:27:23 2009 -0400

    [AppSwitcher] Allow use of arrow keys in the popup
    
    https://bugzilla.gnome.org/show_bug.cgi?id=590563

 js/ui/altTab.js |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/altTab.js b/js/ui/altTab.js
index 1398340..c5a0a2a 100644
--- a/js/ui/altTab.js
+++ b/js/ui/altTab.js
@@ -154,8 +154,16 @@ AltTabPopup.prototype = {
 
         if (keysym == Clutter.Tab)
             this._updateSelection(backwards ? -1 : 1);
+        else if (keysym == Clutter.Left)
+            this._updateSelection(-1);
+        else if (keysym == Clutter.Right)
+            this._updateSelection(1);
         else if (keysym == Clutter.grave)
             this._updateWindowSelection(backwards ? -1 : 1);
+        else if (keysym == Clutter.Up)
+            this._updateWindowSelection(-1);
+        else if (keysym == Clutter.Down)
+            this._updateWindowSelection(1);
         else if (keysym == Clutter.Escape)
             this.destroy();
 



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