[orca/gnome-3-16] Work around broken custom comboboxes



commit b8eb51df8a4888dabd21d351e54a04d743c127aa
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Wed Aug 26 11:34:25 2015 -0400

    Work around broken custom comboboxes

 src/orca/generator.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/generator.py b/src/orca/generator.py
index 24ee381..174d64e 100644
--- a/src/orca/generator.py
+++ b/src/orca/generator.py
@@ -312,6 +312,8 @@ class Generator:
                 name = names[0].strip()
             elif len(children) == 1 and children[0].name:
                 name = children[0].name.strip()
+            elif not names and obj.name:
+                name = obj.name
         if name:
             result.append(name)
         else:


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