orca r4600 - in trunk: . src/orca/scripts/apps/Thunderbird



Author: joanied
Date: Wed Feb 25 16:13:21 2009
New Revision: 4600
URL: http://svn.gnome.org/viewvc/orca?rev=4600&view=rev

Log:
* src/orca/scripts/apps/Thunderbird/script.py:
  Fix for bug #571812 - Orca does not read the next message in
  thunderbird when deleting if first column does not change.



Modified:
   trunk/ChangeLog
   trunk/src/orca/scripts/apps/Thunderbird/script.py

Modified: trunk/src/orca/scripts/apps/Thunderbird/script.py
==============================================================================
--- trunk/src/orca/scripts/apps/Thunderbird/script.py	(original)
+++ trunk/src/orca/scripts/apps/Thunderbird/script.py	Wed Feb 25 16:13:21 2009
@@ -238,7 +238,16 @@
             row = table.getRowAtIndex(self.getCellIndex(obj))
             for i in range(0, table.nColumns):
                 acc = table.getAccessibleAt(row, i)
-                if acc.name:                
+                if acc.name:
+                    # For some reason orca.py's check to see if the
+                    # object we're setting the locusOfFocus to is the
+                    # same as the current locusOfFocus is returning
+                    # True when it's not actually True. Therefore,
+                    # we'll set the current locusOfFocus to None as
+                    # a precaution.
+                    #
+                    if event.type.startswith("focus:"):
+                        orca_state.locusOfFocus = None
                     orca.setLocusOfFocus(event, acc)
                     consume = True
                     break



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