[gnome-shell/modekill] viewSelector: Allow to start keynav using the down arrow
- From: Florian MÃllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/modekill] viewSelector: Allow to start keynav using the down arrow
- Date: Fri, 17 Aug 2012 18:08:47 +0000 (UTC)
commit 3799922a1f45c4b18b454f789dad8b7a978d71fe
Author: Florian MÃllner <fmuellner gnome org>
Date: Wed Aug 15 12:03:09 2012 +0200
viewSelector: Allow to start keynav using the down arrow
As the search entry acts like it had keyboard focus, it seems
logical to use the down arrow to move focus to the active page.
https://bugzilla.gnome.org/show_bug.cgi?id=682109
js/ui/viewSelector.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/viewSelector.js b/js/ui/viewSelector.js
index 494527b..c1a6c48 100644
--- a/js/ui/viewSelector.js
+++ b/js/ui/viewSelector.js
@@ -238,7 +238,7 @@ const ViewSelector = new Lang.Class({
(symbol == Clutter.BackSpace && this.active)) {
this.startSearch(event);
} else if (!this.active) {
- if (symbol == Clutter.Tab) {
+ if (symbol == Clutter.Tab || symbol == Clutter.Down) {
this._activePage.navigate_focus(null, Gtk.DirectionType.TAB_FORWARD, false);
return true;
} else if (symbol == Clutter.ISO_Left_Tab) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]