[orca] Fix for bgo#620045 - Left and Right are missing from the list of keys the OOo script uses to determi
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Fix for bgo#620045 - Left and Right are missing from the list of keys the OOo script uses to determi
- Date: Sat, 29 May 2010 20:03:21 +0000 (UTC)
commit 9ecd157dcc85fe0e69092d7122b8e5eec3a432b3
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date: Sat May 29 16:02:21 2010 -0400
Fix for bgo#620045 - Left and Right are missing from the list of keys the OOo script uses to determine when to speak toggle button state changes
src/orca/scripts/apps/soffice/script.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/scripts/apps/soffice/script.py b/src/orca/scripts/apps/soffice/script.py
index 9ea4fba..7c5d2ca 100644
--- a/src/orca/scripts/apps/soffice/script.py
+++ b/src/orca/scripts/apps/soffice/script.py
@@ -1884,7 +1884,8 @@ class Script(default.Script):
elif isinstance(orca_state.lastInputEvent, \
input_event.KeyboardEvent):
keyString = orca_state.lastNonModifierKeyEvent.event_string
- navKeys = ["Up", "Down", "Page_Up", "Page_Down", "Home", "End"]
+ navKeys = ["Up", "Down", "Left", "Right", "Page_Up",
+ "Page_Down", "Home", "End"]
wasCommand = orca_state.lastInputEvent.modifiers \
& settings.COMMAND_MODIFIER_MASK
weToggledIt = wasCommand and keyString not in navKeys
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]