orca r3920 - in trunk: . src/orca



Author: richb
Date: Sat May 24 16:58:00 2008
New Revision: 3920
URL: http://svn.gnome.org/viewvc/orca?rev=3920&view=rev

Log:
        * src/orca/orca.py:
          Slight tweak to fix for bug #530368. Make sure that
          event.host_application is not None as well.


Modified:
   trunk/ChangeLog
   trunk/src/orca/orca.py

Modified: trunk/src/orca/orca.py
==============================================================================
--- trunk/src/orca/orca.py	(original)
+++ trunk/src/orca/orca.py	Sat May 24 16:58:00 2008
@@ -180,7 +180,8 @@
 
     # If this event is not for the currently active script, then just return.
     #
-    if event and event.source and orca_state.activeScript:
+    if event and event.source and \
+       event.host_application and orca_state.activeScript:
         currentApp = orca_state.activeScript.app.name
         if currentApp != event.host_application.name and \
            currentApp != event.source.getApplication().name:



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