[orca/gnome-3-20] Fallback on name when labels fail to implement the text interface



commit 484132bf65286f22ee8f76bae45c8f6d3595a252
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Mon Apr 25 10:10:06 2016 -0400

    Fallback on name when labels fail to implement the text interface

 src/orca/formatting.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/formatting.py b/src/orca/formatting.py
index 76252d1..120e00f 100644
--- a/src/orca/formatting.py
+++ b/src/orca/formatting.py
@@ -556,7 +556,7 @@ formatting = {
                                      asString(labelAndName + value + roleName + required))]',
             },
         pyatspi.ROLE_LABEL: {
-            'unfocused': '[Text(obj, asString(label))]'
+            'unfocused': '[Text(obj, asString(labelAndName))]'
             },
         pyatspi.ROLE_LINK: {
             'unfocused': '[Link(obj, asString(currentLineText)\


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