orca r4074 - in trunk: . src/orca/scripts/toolkits/Gecko test/keystrokes/firefox



Author: joanied
Date: Sat Aug  2 04:48:03 2008
New Revision: 4074
URL: http://svn.gnome.org/viewvc/orca?rev=4074&view=rev

Log:
* src/orca/scripts/toolkits/Gecko/script.py:
  test/keystrokes/firefox/xul_role_tree.py:
  Fix for bug #545946 - WhereAmI fails on Gecko Trees.


Modified:
   trunk/ChangeLog
   trunk/src/orca/scripts/toolkits/Gecko/script.py
   trunk/test/keystrokes/firefox/xul_role_tree.py

Modified: trunk/src/orca/scripts/toolkits/Gecko/script.py
==============================================================================
--- trunk/src/orca/scripts/toolkits/Gecko/script.py	(original)
+++ trunk/src/orca/scripts/toolkits/Gecko/script.py	Sat Aug  2 04:48:03 2008
@@ -2941,7 +2941,9 @@
 
         index = -1
         parent = self.getAncestor(obj,
-                                 [pyatspi.ROLE_TABLE, pyatspi.ROLE_TREE_TABLE],
+                                 [pyatspi.ROLE_TABLE, 
+                                  pyatspi.ROLE_TREE_TABLE,
+                                  pyatspi.ROLE_TREE],
                                  [pyatspi.ROLE_DOCUMENT_FRAME])
         try:
             table = parent.queryTable()

Modified: trunk/test/keystrokes/firefox/xul_role_tree.py
==============================================================================
--- trunk/test/keystrokes/firefox/xul_role_tree.py	(original)
+++ trunk/test/keystrokes/firefox/xul_role_tree.py	Sat Aug  2 04:48:03 2008
@@ -146,7 +146,7 @@
      "     VISIBLE:  'Recently Bookmarked ListItem', cursor=1",
      "SPEECH OUTPUT: 'list item'",
      "SPEECH OUTPUT: 'Recently Bookmarked'",
-     "SPEECH OUTPUT: 'item 1 of 4'",
+     "SPEECH OUTPUT: 'item 1 of 7'",
      "SPEECH OUTPUT: 'tree level 3'"]))
 
 ########################################################################



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]