[orca] Only ignore the name as displayed text for document-related table cells in LO
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Only ignore the name as displayed text for document-related table cells in LO
- Date: Mon, 3 Feb 2014 14:26:30 +0000 (UTC)
commit 606ab2d499863d97f25a547cc6fcb4f729ec79de
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Mon Feb 3 09:26:04 2014 -0500
Only ignore the name as displayed text for document-related table cells in LO
src/orca/scripts/apps/soffice/script_utilities.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/scripts/apps/soffice/script_utilities.py
b/src/orca/scripts/apps/soffice/script_utilities.py
index 19ff82a..4f65614 100644
--- a/src/orca/scripts/apps/soffice/script_utilities.py
+++ b/src/orca/scripts/apps/soffice/script_utilities.py
@@ -84,7 +84,8 @@ class Utilities(script_utilities.Utilities):
# TODO - JD: This is needed because the default behavior is to fall
# back on the name, which is bogus. Once that has been fixed, this
# hack can go.
- if role == pyatspi.ROLE_TABLE_CELL and text == obj.name:
+ if role == pyatspi.ROLE_TABLE_CELL and text == obj.name \
+ and (self.isSpreadSheetCell(obj) or self.isDocumentCell(obj)):
return ""
return text
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]