[orca] Present focused scrollbars



commit dba1fdb0c478cec66da1aa11afdcc16921beb529
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Tue Jun 3 11:02:58 2014 -0400

    Present focused scrollbars

 src/orca/formatting.py |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/formatting.py b/src/orca/formatting.py
index 30e0613..08604aa 100644
--- a/src/orca/formatting.py
+++ b/src/orca/formatting.py
@@ -262,6 +262,11 @@ formatting = {
             'unfocused': 'labelAndName + radioState + roleName + availability + ' + MNEMONIC + ' + 
accelerator + positionInList',
             'basicWhereAmI': 'ancestors + labelAndName + roleName + radioState + accelerator + 
positionInList + ' + MNEMONIC
             },
+        pyatspi.ROLE_SCROLL_BAR: {
+            'focused': 'value',
+            'unfocused': 'labelOrName + roleName + value + required + availability + ' + MNEMONIC,
+            'basicWhereAmI': 'labelOrName + roleName + value + percentage + ' + MNEMONIC + ' + accelerator + 
required'
+            },
         pyatspi.ROLE_SECTION: {
             'basicWhereAmI': 'label + readOnly + textRole + textContent + anyTextSelection + ' + MNEMONIC,
             'detailedWhereAmI': 'label + readOnly + textRole + textContentWithAttributes + anyTextSelection 
+ ' + MNEMONIC + ' + ' + TUTORIAL
@@ -517,7 +522,10 @@ formatting = {
                                      indicator=asString(radioState))]'
             },
         #pyatspi.ROLE_ROW_HEADER: 'default'
-        #pyatspi.ROLE_SCROLL_BAR: 'default'
+        pyatspi.ROLE_SCROLL_BAR: {
+            'unfocused': '[Component(obj,\
+                                     asString(labelOrName + value + roleName + required))]'
+            },
         pyatspi.ROLE_SCROLL_PANE: {
             'unfocused': 'asPageTabOrScrollPane'
             },


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