[orca] Create an explicit braille formatting string for ROLE_DOCUMENT_FRAME
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Create an explicit braille formatting string for ROLE_DOCUMENT_FRAME
- Date: Sun, 24 Aug 2014 01:15:14 +0000 (UTC)
commit 581f01b936f4eccaaae0b84363d00b4ae1e345d7
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Sat Aug 23 21:14:05 2014 -0400
Create an explicit braille formatting string for ROLE_DOCUMENT_FRAME
src/orca/formatting.py | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/formatting.py b/src/orca/formatting.py
index 6764e72..f787b34 100644
--- a/src/orca/formatting.py
+++ b/src/orca/formatting.py
@@ -426,6 +426,12 @@ formatting = {
},
#pyatspi.ROLE_DIALOG: 'default'
#pyatspi.ROLE_DIRECTORY_PANE: 'default'
+ pyatspi.ROLE_DOCUMENT_FRAME: {
+ 'focused': '[Text(obj, asString(placeholderText), asString(eol))]\
+ + (required and [Region(" " + asString(required))])\
+ + (readOnly and [Region(" " + asString(readOnly))])',
+ 'unfocused': BRAILLE_TEXT
+ },
pyatspi.ROLE_EMBEDDED: {
'unfocused': '[Component(obj,\
asString(label + displayedText) or asString(applicationName))]'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]