[orca] Fix for BGO#650904: Work around AT-SPI2 caching issues with Thunderbird



commit 7c0cf4f79e7efb77bd4c992db286b8805c750249
Author: Mike Gorse <mgorse novell com>
Date:   Sun Aug 28 21:17:10 2011 -0500

    Fix for BGO#650904: Work around AT-SPI2 caching issues with Thunderbird

 src/orca/scripts/apps/Thunderbird/script.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/scripts/apps/Thunderbird/script.py b/src/orca/scripts/apps/Thunderbird/script.py
index f933250..dd3cdf6 100644
--- a/src/orca/scripts/apps/Thunderbird/script.py
+++ b/src/orca/scripts/apps/Thunderbird/script.py
@@ -64,6 +64,10 @@ class Script(Gecko.Script):
         # Set the debug level for all the methods in this script.
         self.debugLevel = debug.LEVEL_FINEST
 
+        # http://bugzilla.mozilla.org/show_bug.cgi?id=659018
+        if app.toolkitVersion < "7.0":
+            app.setCacheMask(pyatspi.cache.ALL ^ pyatspi.cache.NAME)
+
         # Store the last autocompleted string for the address fields
         # so that we're not too 'chatty'.  See bug #533042.
         #



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