[orca] Fix for bug 673648 - Orca does not present Unity 2d indicators correctly in braille
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Fix for bug 673648 - Orca does not present Unity 2d indicators correctly in braille
- Date: Fri, 6 Apr 2012 15:03:47 +0000 (UTC)
commit 0869457f145862b385dbf14f9e17ecbaaf2beb05
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Fri Apr 6 10:53:49 2012 -0400
Fix for bug 673648 - Orca does not present Unity 2d indicators correctly in braille
src/orca/formatting.py | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/formatting.py b/src/orca/formatting.py
index 0c7fbd0..93c6273 100644
--- a/src/orca/formatting.py
+++ b/src/orca/formatting.py
@@ -408,7 +408,12 @@ formatting = {
'unfocused': '[Component(obj,\
asString(((label + displayedText + imageDescription) or name) + roleName))]'
},
- #pyatspi.ROLE_IMAGE: 'default'
+ pyatspi.ROLE_IMAGE: {
+ 'focused': '[Component(obj,\
+ asString(labelAndName + value + roleName + required))]',
+ 'unfocused': '[Component(obj,\
+ asString(labelAndName + value + roleName + required))]',
+ },
pyatspi.ROLE_LABEL: {
'unfocused': '[Text(obj,\
asString(label),\
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]