[orca/570658] Add ROLE_ENTRY format



commit 50a9b7d7e69d753a5a031c1988a631238d6e7fe6
Author: Willie Walker <william walker sun com>
Date:   Wed May 20 10:20:30 2009 -0400

    Add ROLE_ENTRY format
---
 src/orca/formatting.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/orca/formatting.py b/src/orca/formatting.py
index ff83626..f37a624 100644
--- a/src/orca/formatting.py
+++ b/src/orca/formatting.py
@@ -63,6 +63,10 @@ formatting = {
         pyatspi.ROLE_DIALOG: {
             'unfocused': 'labelAndName + unrelatedLabels'
             },
+        pyatspi.ROLE_ENTRY: {
+            'focused': 'labelOrName + readOnly + textRole + currentLineText + allTextSelection',
+            'unfocused': 'labelOrName + readOnly + textRole + currentLineText + allTextSelection'
+            },
         pyatspi.ROLE_FRAME: {
             'focused': '[]',
             'unfocused': 'labelAndName + allTextSelection + roleName + unfocusedDialogCount + availability'



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