[orca] Ensure that we pass along Return and Escape to the GUI when binding
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Ensure that we pass along Return and Escape to the GUI when binding
- Date: Tue, 14 Feb 2012 23:14:02 +0000 (UTC)
commit df0aa782eb8bb84e036b70d9142ebfff0ac44c56
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Tue Feb 14 18:02:46 2012 -0500
Ensure that we pass along Return and Escape to the GUI when binding
src/orca/orca_gui_prefs.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/orca_gui_prefs.py b/src/orca/orca_gui_prefs.py
index c82038b..4c0b777 100644
--- a/src/orca/orca_gui_prefs.py
+++ b/src/orca/orca_gui_prefs.py
@@ -2818,7 +2818,8 @@ class OrcaSetupGUI(orca_gtkbuilder.GtkBuilderWrapper):
self._capturedKey = ['', settings.ORCA_MODIFIER_MASK, 0]
return False
- if not self._capturedKey:
+ if not self._capturedKey \
+ or eventString in ['Return', 'Escape']:
self._capturedKey = [eventString, eventState, 1]
return True
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]