orca r4675 - in branches/gnome-2-26: . src/orca



Author: wwalker
Date: Sat Apr 11 22:43:39 2009
New Revision: 4675
URL: http://svn.gnome.org/viewvc/orca?rev=4675&view=rev

Log:
ReFix for bug #576438 - Provide state change information for radio buttons that require you to press space to select them


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

Modified: branches/gnome-2-26/src/orca/default.py
==============================================================================
--- branches/gnome-2-26/src/orca/default.py	(original)
+++ branches/gnome-2-26/src/orca/default.py	Sat Apr 11 22:43:39 2009
@@ -3127,12 +3127,12 @@
         # in the disk selection area of the OpenSolaris gui-install application
         # for example.
         #
-        if obj.getRole() == pyatspi.ROLE_RADIO_BUTTON \
-           and orca_state.lastNonModifierKeyEvent \
-           and orca_state.lastNonModifierKeyEvent.event_string == "space":
-            pass
-        else:
-            return
+        if obj.getRole() == pyatspi.ROLE_RADIO_BUTTON:
+            if orca_state.lastNonModifierKeyEvent \
+               and orca_state.lastNonModifierKeyEvent.event_string == "space":
+                pass
+            else:
+                return
 
         if event:
             debug.println(debug.LEVEL_FINE,



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