altTab: honor switch_*_backward key binding actions

https://bugzilla.gnome.org/show_bug.cgi?id=650452
This commit is contained in:
Rui Matos
2011-07-05 23:05:45 +01:00
committed by Dan Winship
parent 1dfffdbc4e
commit 8db1ff8aef
2 changed files with 13 additions and 3 deletions

View File

@ -119,6 +119,8 @@ WindowManager.prototype = {
this.setKeybindingHandler('switch_to_workspace_down', Lang.bind(this, this._showWorkspaceSwitcher));
this.setKeybindingHandler('switch_windows', Lang.bind(this, this._startAppSwitcher));
this.setKeybindingHandler('switch_group', Lang.bind(this, this._startAppSwitcher));
this.setKeybindingHandler('switch_windows_backward', Lang.bind(this, this._startAppSwitcher));
this.setKeybindingHandler('switch_group_backward', Lang.bind(this, this._startAppSwitcher));
this.setKeybindingHandler('switch_panels', Lang.bind(this, this._startA11ySwitcher));
Main.overview.connect('showing', Lang.bind(this, function() {
@ -534,7 +536,7 @@ WindowManager.prototype = {
let tabPopup = new AltTab.AltTabPopup();
if (!tabPopup.show(backwards, binding == 'switch_group'))
if (!tabPopup.show(backwards, binding))
tabPopup.destroy();
},