orca r3610 - in trunk: . src/orca



Author: joanied
Date: Wed Feb 20 03:11:25 2008
New Revision: 3610
URL: http://svn.gnome.org/viewvc/orca?rev=3610&view=rev

Log:
* src/orca/Gecko.py: 
  Fix for bug #512261 - We should implement better support for the
  FF A11y extension.


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

Modified: trunk/src/orca/Gecko.py
==============================================================================
--- trunk/src/orca/Gecko.py	(original)
+++ trunk/src/orca/Gecko.py	Wed Feb 20 03:11:25 2008
@@ -3585,10 +3585,12 @@
         # the selected item changes in the list on the left, we're
         # getting caret-moved events for the changing content on
         # the right.  We want to update the caret context but not
-        # the locus of focus.
+        # the locus of focus.  Do the same thing for the UIUC
+        # accessibility extension.
         #
         if orca_state.locusOfFocus \
-           and orca_state.locusOfFocus.getRole() == pyatspi.ROLE_LIST_ITEM \
+           and orca_state.locusOfFocus.getRole() in [pyatspi.ROLE_LIST_ITEM,
+                                                     pyatspi.ROLE_TABLE_CELL] \
            and not self.inDocumentContent(orca_state.locusOfFocus) \
            and self.inDocumentContent(event.source):
             self.setCaretContext(event.source, event.detail1)



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