[orca] Fix for bgo#582684 - Arrowing left/right across tree tables causes whole row to be spoken
- From: William Walker <wwalker src gnome org>
- To: svn-commits-list gnome org
- Subject: [orca] Fix for bgo#582684 - Arrowing left/right across tree tables causes whole row to be spoken
- Date: Thu, 14 May 2009 19:05:00 -0400 (EDT)
commit f731ccb91d0c4e5336fd3b4531abfcd198a984f0
Author: Willie Walker <william walker sun com>
Date: Thu May 14 19:02:43 2009 -0400
Fix for bgo#582684 - Arrowing left/right across tree tables causes whole row to be spoken
---
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 60a5195..a18a6e6 100644
--- a/src/orca/default.py
+++ b/src/orca/default.py
@@ -2777,7 +2777,8 @@ class Script(script.Script):
# If the point of reference is a cell, we want to keep the
# 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]