[orca/orca-xdesktop] Fix for bug #661893 - Viewing package list of a www.launchpad.net PPA causes Orca to stop working on



commit 06a6919128f155c14a3802d25956726f338568c3
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Mon Nov 14 10:24:54 2011 -0500

    Fix for bug #661893 - Viewing package list of a www.launchpad.net PPA causes Orca to stop working on Firefox 7.0.1

 src/orca/scripts/toolkits/Gecko/script.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Gecko/script.py b/src/orca/scripts/toolkits/Gecko/script.py
index 3f8445a..c98bca5 100644
--- a/src/orca/scripts/toolkits/Gecko/script.py
+++ b/src/orca/scripts/toolkits/Gecko/script.py
@@ -5167,6 +5167,7 @@ class Script(default.Script):
                and lastExtents != nextExtents \
                or nextExtents == (0, 0, 0, 0):
                 toAdd = self.getObjectsFromEOCs(nextObj, nOffset, boundary)
+                toAdd = filter(lambda x: x not in objects, toAdd)
                 objects.extend(toAdd)
             elif (nextObj.getRole() in [pyatspi.ROLE_SECTION,
                                         pyatspi.ROLE_TABLE_CELL] \



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