[gnome-shell] Main: fix ctrl-alt-arrow in the overview



commit 9561f77b17b2c6e32cb01fc055a2c2cfc5b18cae
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Wed Jun 27 22:12:40 2012 +0200

    Main: fix ctrl-alt-arrow in the overview
    
    Fixes a regression introduced in de72065, which changed the method names
    but forgot to update this code path.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=679005

 js/ui/main.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/main.js b/js/ui/main.js
index b2ef94d..501af04 100644
--- a/js/ui/main.js
+++ b/js/ui/main.js
@@ -611,13 +611,13 @@ function _globalKeyPressHandler(actor, event) {
             if (!sessionMode.hasWorkspaces)
                 return false;
 
-            wm.actionMoveWorkspaceUp();
+            wm.actionMoveWorkspace(Meta.MotionDirection.UP);
             return true;
         case Meta.KeyBindingAction.WORKSPACE_DOWN:
             if (!sessionMode.hasWorkspaces)
                 return false;
 
-            wm.actionMoveWorkspaceDown();
+            wm.actionMoveWorkspace(Meta.MotionDirection.DOWN);
             return true;
         case Meta.KeyBindingAction.PANEL_RUN_DIALOG:
         case Meta.KeyBindingAction.COMMAND_2:



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