[orca/gnome-3-4] Fix for bug 673530 - Orca multi-presents the focused cell's contents when arrowing in LibreOffice Ca



commit 6cc0ef1a2d6de7f94105399d94d10aa956151510
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Wed Apr 4 16:46:28 2012 -0400

    Fix for bug 673530 - Orca multi-presents the focused cell's contents when arrowing in LibreOffice Calc

 src/orca/scripts/apps/soffice/script.py |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/scripts/apps/soffice/script.py b/src/orca/scripts/apps/soffice/script.py
index 591edca..729a6ff 100644
--- a/src/orca/scripts/apps/soffice/script.py
+++ b/src/orca/scripts/apps/soffice/script.py
@@ -1903,6 +1903,11 @@ class Script(default.Script):
             if event.source.getRoleName() == 'text frame':
                 return
 
+        parent = event.source.parent
+        if parent.getRole() == pyatspi.ROLE_EXTENDED:
+            if parent.getRoleName() == 'text frame':
+                return
+
         # If this is state change "focused" event and event.source isn't a
         # focused object, then just return. See bug #517502 for more details.
         #



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]