[orca] Fallback on name when labels fail to implement the text interface



commit 30097834bb60c65aaa6212a7e7d5838f67a668c7
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]