orca r4353 - in trunk: . src/orca



Author: joanied
Date: Wed Nov 19 17:35:19 2008
New Revision: 4353
URL: http://svn.gnome.org/viewvc/orca?rev=4353&view=rev

Log:
* src/orca/default.py:
  Fix for bug #561540 - Traceback in default.py onStateChanged.



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 Nov 19 17:35:19 2008
@@ -3824,7 +3824,8 @@
                 self.find()
                 return
 
-        if event.type.startswith("object:state-changed:selected"):
+        if event.type.startswith("object:state-changed:selected") \
+           and orca_state.locusOfFocus:
             # If this selection state change is for the object which
             # currently has the locus of focus, and the last keyboard
             # event was Space, or we are a focused table cell and we



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