orca r4354 - in branches/gnome-2-24: . src/orca



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

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



Modified:
   branches/gnome-2-24/ChangeLog
   branches/gnome-2-24/src/orca/default.py

Modified: branches/gnome-2-24/src/orca/default.py
==============================================================================
--- branches/gnome-2-24/src/orca/default.py	(original)
+++ branches/gnome-2-24/src/orca/default.py	Wed Nov 19 17:36:38 2008
@@ -3817,7 +3817,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]