orca r4292 - in trunk: . src/orca



Author: joanied
Date: Wed Oct 15 14:51:59 2008
New Revision: 4292
URL: http://svn.gnome.org/viewvc/orca?rev=4292&view=rev

Log:
* src/orca/default.py:
  Partial fix for bug #554002 - Orca App-Preferences dialog page
  tabs are "off" by one in speech and braille. (This fixes them
  for focus tracking. It turns out they are "off" in flat review
  as well.)


Modified:
   trunk/ChangeLog
   trunk/src/orca/default.py

Modified: trunk/src/orca/default.py
==============================================================================
--- trunk/src/orca/default.py	(original)
+++ trunk/src/orca/default.py	Wed Oct 15 14:51:59 2008
@@ -5891,6 +5891,15 @@
         if role == pyatspi.ROLE_COMBO_BOX:
             return self.__getDisplayedTextInComboBox(obj)
 
+        if role == pyatspi.ROLE_PAGE_TAB and obj.name:
+            # It seems that hiding a page tab can result in the accessible
+            # text being the text associated with the previous page tab.
+            # The accessible name, however, continues to be correct. For
+            # now, let's use the name -- until the Gtk+ bug is pinned down
+            # and fixed. See bug #554002.
+            #
+            return obj.name
+
         # The accessible text of an object is used to represent what is
         # drawn on the screen.
         #



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