[orca] Rest of the fix for bug 568658
- From: Joanmarie Diggs <joanied src gnome org>
- To: svn-commits-list gnome org
- Subject: [orca] Rest of the fix for bug 568658
- Date: Sun, 21 Jun 2009 16:38:13 -0400 (EDT)
commit 85a639f6384dfc47256e0d9f06cb945b8a63e424
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date: Sun Jun 21 12:23:30 2009 -0400
Rest of the fix for bug 568658
This change causes us to dump the pyatspi cache if we're in Thunderbird
and exit flat review. As a result, we should not have bogus table data
hanging around.
src/orca/scripts/apps/Thunderbird/script.py | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/scripts/apps/Thunderbird/script.py b/src/orca/scripts/apps/Thunderbird/script.py
index f3f4829..f822284 100644
--- a/src/orca/scripts/apps/Thunderbird/script.py
+++ b/src/orca/scripts/apps/Thunderbird/script.py
@@ -591,3 +591,13 @@ class Script(Gecko.Script):
obj = obj.parent
return None
+
+ def toggleFlatReviewMode(self, inputEvent=None):
+ """Toggles between flat review mode and focus tracking mode."""
+
+ # If we're leaving flat review dump the cache. See bug 568658.
+ #
+ if self.flatReviewContext:
+ pyatspi.clearCache()
+
+ return default.Script.toggleFlatReviewMode(self, inputEvent)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]