From 9561f77b17b2c6e32cb01fc055a2c2cfc5b18cae Mon Sep 17 00:00:00 2001 From: Giovanni Campagna Date: Wed, 27 Jun 2012 22:12:40 +0200 Subject: [PATCH] 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 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/ui/main.js b/js/ui/main.js index b2ef94dd0..501af0441 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: