orca r3497 - in trunk: . src/orca



Author: joanied
Date: Fri Jan 25 18:22:42 2008
New Revision: 3497
URL: http://svn.gnome.org/viewvc/orca?rev=3497&view=rev

Log:
* src/orca/Gecko.py:
  Fix for bug #509394 - First focusable item in document frame
  not always spoken in FF3.



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	Fri Jan 25 18:22:42 2008
@@ -3960,8 +3960,9 @@
             and (event.source.getRole() == pyatspi.ROLE_DOCUMENT_FRAME):
             try:
                 [obj, characterOffset] = self.getCaretContext()
-                orca.setLocusOfFocus(event, obj)
-                return
+                if not obj.getState().contains(pyatspi.STATE_FOCUSABLE):
+                    orca.setLocusOfFocus(event, obj)
+                    return
             except:
                 pass
 



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