[orca/gnome-2-30] Fix for bgo#620045 - Left and Right are missing from the list of keys the OOo script uses to determi



commit 446c2d8a1329928ea1495264bf75b44af5b86c8f
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date:   Sat May 29 20:02:21 2010 +0000

    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 7a1f16a..ece6ac2 100644
--- a/src/orca/scripts/apps/soffice/script.py
+++ b/src/orca/scripts/apps/soffice/script.py
@@ -2023,7 +2023,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]