[gnome-shell-extensions] alternate-tab: Remove 'backwards' argument from SwitcherPopup:_keyPressHandler
- From: Adel Gadllah <agadllah src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-extensions] alternate-tab: Remove 'backwards' argument from SwitcherPopup:_keyPressHandler
- Date: Sun, 24 Aug 2014 11:33:17 +0000 (UTC)
commit b2a2653492927aef90028cfe0e8071d8bbab8ee2
Author: Adel Gadllah <adel gadllah gmail com>
Date: Sun Aug 24 11:10:47 2014 +0200
alternate-tab: Remove 'backwards' argument from SwitcherPopup:_keyPressHandler
Match the change from commit d450b74e10610c6164e
https://bugzilla.gnome.org/show_bug.cgi?id=735239
extensions/alternate-tab/extension.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/extensions/alternate-tab/extension.js b/extensions/alternate-tab/extension.js
index 8b4cc74..cecfc48 100644
--- a/extensions/alternate-tab/extension.js
+++ b/extensions/alternate-tab/extension.js
@@ -30,11 +30,11 @@ function enable() {
this._select(1);
};
injections['_keyPressHandler'] = AltTab.WindowSwitcherPopup.prototype._keyPressHandler;
- AltTab.WindowSwitcherPopup.prototype._keyPressHandler = function(keysym, backwards, action) {
+ AltTab.WindowSwitcherPopup.prototype._keyPressHandler = function(keysym, action) {
if (action == Meta.KeyBindingAction.SWITCH_WINDOWS ||
action == Meta.KeyBindingAction.SWITCH_APPLICATIONS ||
action == Meta.KeyBindingAction.SWITCH_GROUP) {
- this._select(backwards ? this._previous() : this._next());
+ this._select(this._next());
} else if (action == Meta.KeyBindingAction.SWITCH_WINDOWS_BACKWARD ||
action == Meta.KeyBindingAction.SWITCH_APPLICATIONS_BACKWARD ||
action == Meta.KeyBindingAction.SWITCH_GROUP_BACKWARD) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]