[orca] Filter out non-standard modifiers when capturing keys for bindings
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Filter out non-standard modifiers when capturing keys for bindings
- Date: Wed, 10 Sep 2014 23:07:19 +0000 (UTC)
commit 439d8de4fe1958735ec65a2985a1e795bfef6cc0
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Wed Sep 10 19:05:45 2014 -0400
Filter out non-standard modifiers when capturing keys for bindings
src/orca/orca_gui_prefs.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/orca_gui_prefs.py b/src/orca/orca_gui_prefs.py
index 322ee2e..4657735 100644
--- a/src/orca/orca_gui_prefs.py
+++ b/src/orca/orca_gui_prefs.py
@@ -2568,6 +2568,7 @@ class OrcaSetupGUI(orca_gtkbuilder.GtkBuilderWrapper):
if eventString in modifierKeys:
return False
+ eventState = eventState & Gtk.accelerator_get_default_mod_mask()
if not self._capturedKey \
or eventString in ['Return', 'Escape']:
self._capturedKey = [eventString, eventState, 1]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]