[gnome-shell] panelMenu: Attempt to navigate menus only if we can't navigate inside the menu
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] panelMenu: Attempt to navigate menus only if we can't navigate inside the menu
- Date: Sat, 4 May 2013 03:20:48 +0000 (UTC)
commit d9a4688e989d0980d1c1f8bc4c44f79d1d3b3283
Author: Tanner Doshier <doshitan gmail com>
Date: Fri May 3 20:33:05 2013 -0500
panelMenu: Attempt to navigate menus only if we can't navigate inside the menu
This enables key navigation in the calendar.
https://bugzilla.gnome.org/show_bug.cgi?id=667434
js/ui/panelMenu.js | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/panelMenu.js b/js/ui/panelMenu.js
index aa935e9..b73152e 100644
--- a/js/ui/panelMenu.js
+++ b/js/ui/panelMenu.js
@@ -184,6 +184,9 @@ const Button = new Lang.Class({
},
_onMenuKeyPress: function(actor, event) {
+ if (global.focus_manager.navigate_from_event(event))
+ return true;
+
let symbol = event.get_key_symbol();
if (symbol == Clutter.KEY_Left || symbol == Clutter.KEY_Right) {
let group = global.focus_manager.get_group(this.actor);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]