[orca/gnome-3-12] Don't treat the root label as an unrelated label



commit 2e53a837ac77a949184a57ca34ab3b650a9111ff
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Mon Mar 24 11:03:32 2014 -0400

    Don't treat the root label as an unrelated label

 src/orca/script_utilities.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/script_utilities.py b/src/orca/script_utilities.py
index 482f8eb..b2b38fb 100644
--- a/src/orca/script_utilities.py
+++ b/src/orca/script_utilities.py
@@ -1554,6 +1554,8 @@ class Utilities:
         # Eliminate duplicates
         d = {}
         for label in labels:
+            if label.name == root.name:
+                continue
             d[label.name] = label
         labels = list(d.values())
 


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