[orca/gnome-2-26] Fix for bgo#582684 - Arrowing left/right across tree tables causes whole row to be spoken



commit 8667901ba8f93e2a1894afa6c5bc63307243974d
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 139b896..f376d14 100644
--- a/src/orca/default.py
+++ b/src/orca/default.py
@@ -2749,7 +2749,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]