[gnome-shell] windowManager: Make use of the switch-panels-backward keybinding



commit cd58f9f9e597b1fb8f7bc7ddd81344b8b1784401
Author: Rui Matos <tiagomatos gmail com>
Date:   Mon Dec 3 11:07:28 2012 +0100

    windowManager: Make use of the switch-panels-backward keybinding
    
    We have it in the schema so there's no reason for it not to work.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=689528

 js/ui/windowManager.js |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js
index 42b2e66..f4e9578 100644
--- a/js/ui/windowManager.js
+++ b/js/ui/windowManager.js
@@ -155,6 +155,13 @@ const WindowManager = new Lang.Class({
                                         Main.KeybindingMode.UNLOCK_SCREEN |
                                         Main.KeybindingMode.LOGIN_SCREEN,
                                         Lang.bind(this, this._startA11ySwitcher));
+        this.setCustomKeybindingHandler('switch-panels-backward',
+                                        Main.KeybindingMode.NORMAL |
+                                        Main.KeybindingMode.OVERVIEW |
+                                        Main.KeybindingMode.LOCK_SCREEN |
+                                        Main.KeybindingMode.UNLOCK_SCREEN |
+                                        Main.KeybindingMode.LOGIN_SCREEN,
+                                        Lang.bind(this, this._startA11ySwitcher));
 
         this.addKeybinding('open-application-menu',
                            new Gio.Settings({ schema: SHELL_KEYBINDINGS_SCHEMA }),



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