orca r4676 - in trunk: . src/orca



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

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


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	Sat Apr 11 22:44:14 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]