orca r4612 - in trunk: . src/orca/scripts/toolkits/Gecko



Author: wwalker
Date: Fri Feb 27 17:01:54 2009
New Revision: 4612
URL: http://svn.gnome.org/viewvc/orca?rev=4612&view=rev

Log:
Fix for bug #570550 - (ARIA) UIUC Number Guessing Game Alert not presented when it changes


Modified:
   trunk/ChangeLog
   trunk/src/orca/scripts/toolkits/Gecko/script.py

Modified: trunk/src/orca/scripts/toolkits/Gecko/script.py
==============================================================================
--- trunk/src/orca/scripts/toolkits/Gecko/script.py	(original)
+++ trunk/src/orca/scripts/toolkits/Gecko/script.py	Fri Feb 27 17:01:54 2009
@@ -3064,7 +3064,8 @@
                    or not stateset.contains(pyatspi.STATE_VISIBLE):
                 return False
             attrs = self._getAttrDictionary(event.source)
-            return 'container-live' in attrs
+            return 'container-live' in attrs \
+                   or event.source.getRole() == pyatspi.ROLE_ALERT 
         else:
             return False
 



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