orca r3432 - in trunk: . src/orca/scripts



Author: richb
Date: Mon Jan  7 17:56:57 2008
New Revision: 3432
URL: http://svn.gnome.org/viewvc/orca?rev=3432&view=rev

Log:
        * src/orca/scripts/Thunderbird.py:
          Fix for bug #502084 â Running Orca with Thunderbird v2.0.X with 
          compose window open generates a stack trace.


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

Modified: trunk/ChangeLog
==============================================================================
--- trunk/ChangeLog	(original)
+++ trunk/ChangeLog	Mon Jan  7 17:56:57 2008
@@ -1,3 +1,9 @@
+2008-01-07  Rich Burridge <rich burridge sun com>
+
+        * src/orca/scripts/Thunderbird.py:
+          Fix for bug #502084 â Running Orca with Thunderbird v2.0.X with 
+          compose window open generates a stack trace.
+
 2008-01-04  Rich Burridge <rich burridge sun com>
 
         * src/orca/default.py:

Modified: trunk/src/orca/scripts/Thunderbird.py
==============================================================================
--- trunk/src/orca/scripts/Thunderbird.py	(original)
+++ trunk/src/orca/scripts/Thunderbird.py	Mon Jan  7 17:56:57 2008
@@ -125,7 +125,7 @@
 
         # Handle dialogs.
         #
-        if top.getRole() == pyatspi.ROLE_DIALOG:
+        if top and top.getRole() == pyatspi.ROLE_DIALOG:
             self._speakEnclosingPanel(obj)
 
         if not consume:



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