[orca] Add explicit formatting string for braille generation of application
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Add explicit formatting string for braille generation of application
- Date: Tue, 24 Apr 2018 15:28:28 +0000 (UTC)
commit 195809196e7a894851db9835a023e34537cb36cd
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Tue Apr 24 11:27:53 2018 -0400
Add explicit formatting string for braille generation of application
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 aef6fee..ce35fdc 100644
--- a/src/orca/formatting.py
+++ b/src/orca/formatting.py
@@ -530,6 +530,10 @@ formatting = {
'unfocused': '[Component(obj,\
asString(label + displayedText + roleName + (description and space(":
") + description)))]',
},
+ pyatspi.ROLE_APPLICATION: {
+ 'focused': '[Component(obj, asString(name + roleName))]',
+ 'unfocused': '[Component(obj, asString(name + roleName))]',
+ },
pyatspi.ROLE_ARTICLE: {
'unfocused': '((substring and ' + BRAILLE_TEXT + ')\
or ([Component(obj, asString(labelAndName + roleName))]\
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]