[orca] Fix for bug 672276 - Tracebacks seen when interacting with Thunderbird's message filter rules dialog



commit a70ae57067028b02619b5156bed75ab1818072e6
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Mon Mar 19 14:50:12 2012 -0400

    Fix for bug 672276 - Tracebacks seen when interacting with Thunderbird's message filter rules dialog box

 src/orca/scripts/apps/Thunderbird/script.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/scripts/apps/Thunderbird/script.py b/src/orca/scripts/apps/Thunderbird/script.py
index dd3cdf6..f8d56d2 100644
--- a/src/orca/scripts/apps/Thunderbird/script.py
+++ b/src/orca/scripts/apps/Thunderbird/script.py
@@ -266,7 +266,8 @@ class Script(Gecko.Script):
         # cell and consume the event so that the Gecko script
         # doesn't reset it.
         #
-        if obj.getRole() == pyatspi.ROLE_TABLE_CELL:
+        if obj.getRole() == pyatspi.ROLE_TABLE_CELL \
+           and parent.getRole() != pyatspi.ROLE_LIST_ITEM:
             table = parent.queryTable()
             row = table.getRowAtIndex(self.utilities.cellIndex(obj))
             for i in range(0, table.nColumns):



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