orca r3795 - in branches/gnome-2-22: . src/orca



Author: richb
Date: Wed Apr  2 20:31:13 2008
New Revision: 3795
URL: http://svn.gnome.org/viewvc/orca?rev=3795&view=rev

Log:
        * src/orca/default.py:
          Slight adjustmet to the fix for bug #523235. Needed to check that
          orca_state.lastNonModifierKeyEvent wasn't None.


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

Modified: branches/gnome-2-22/src/orca/default.py
==============================================================================
--- branches/gnome-2-22/src/orca/default.py	(original)
+++ branches/gnome-2-22/src/orca/default.py	Wed Apr  2 20:31:13 2008
@@ -2736,8 +2736,9 @@
             # selection state to the user. See bug #523235 for more details.
             #
             if checkIfSelected == True and \
+               (orca_state.lastNonModifierKeyEvent and \
                (orca_state.lastNonModifierKeyEvent.event_string == "Left" or \
-               orca_state.lastNonModifierKeyEvent.event_string == "Right"):
+               orca_state.lastNonModifierKeyEvent.event_string == "Right")):
                 checkIfSelected = False
 
             if objRole == pyatspi.ROLE_ICON and \



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