[orca] Fix for bug 726395 - Sometimes flat review presents non-localized rolenames



commit ac3f240724a3b8c6a09bbf9151c06bc1f5c9460b
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Mon Mar 17 11:52:44 2014 -0400

    Fix for bug 726395 - Sometimes flat review presents non-localized rolenames

 src/orca/flat_review.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/flat_review.py b/src/orca/flat_review.py
index 0aa6a9f..a1ae3e1 100644
--- a/src/orca/flat_review.py
+++ b/src/orca/flat_review.py
@@ -1197,7 +1197,7 @@ class Context:
 
             if (string == "") \
                 and (role != pyatspi.ROLE_TABLE_CELL):
-                string = accessible.getRoleName()
+                string = accessible.getLocalizedRoleName()
 
             if len(string) and ((clipping[2] != 0) or (clipping[3] != 0)):
                 zones.append(Zone(accessible,


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