[orca/570658] Treat tree tables like tables
- From: William Walker <wwalker src gnome org>
- To: svn-commits-list gnome org
- Subject: [orca/570658] Treat tree tables like tables
- Date: Thu, 14 May 2009 18:57:22 -0400 (EDT)
commit 902961c45c5519eaf7e20cc007c02be14b158be7
Author: Willie Walker <william walker sun com>
Date: Thu May 14 18:56:32 2009 -0400
Treat tree tables like tables
Without this, arrowing across a row would cause the whole row to speak.
---
src/orca/default.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/orca/default.py b/src/orca/default.py
index 16f9815..69002e4 100644
--- a/src/orca/default.py
+++ b/src/orca/default.py
@@ -2778,7 +2778,8 @@ class Script(script.Script):
# table-related points of reference.
#
if oldParent is not None and oldParent == newParent and \
- newParent.getRole() == pyatspi.ROLE_TABLE:
+ newParent.getRole() in [pyatspi.ROLE_TABLE,
+ pyatspi.ROLE_TREE_TABLE]:
for key in self.pointOfReference.keys():
if key not in ('lastRow', 'lastColumn'):
del self.pointOfReference[key]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]