[orca/gnome-3-4] Fix for bug 672953 - Orca is presenting extra "input line frame" announcements in LibreOffice Calc
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/gnome-3-4] Fix for bug 672953 - Orca is presenting extra "input line frame" announcements in LibreOffice Calc
- Date: Wed, 4 Apr 2012 20:04:06 +0000 (UTC)
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]