[orca/gnome-3-4] Fix for bug 672953 - Orca is presenting extra "input line frame" announcements in LibreOffice Calc



commit 0706ee04d5437505c50040caa7b98efe64dd25eb
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Wed Apr 4 16:04:08 2012 -0400

    Fix for bug 672953 - Orca is presenting extra "input line frame" announcements in LibreOffice Calc

 src/orca/scripts/apps/soffice/script.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/scripts/apps/soffice/script.py b/src/orca/scripts/apps/soffice/script.py
index 40803bc..591edca 100644
--- a/src/orca/scripts/apps/soffice/script.py
+++ b/src/orca/scripts/apps/soffice/script.py
@@ -1899,6 +1899,10 @@ class Script(default.Script):
         - event: the Event
         """
 
+        if event.source.getRole() == pyatspi.ROLE_EXTENDED:
+            if event.source.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]