[orca/570658] Fix CheckBox formatting for inside/outside document content
- From: William Walker <wwalker src gnome org>
- To: svn-commits-list gnome org
- Subject: [orca/570658] Fix CheckBox formatting for inside/outside document content
- Date: Thu, 2 Jul 2009 18:32:21 +0000 (UTC)
commit 20a99842ec3fcf9d2c4c0cfe6036b14db7bcfc51
Author: Willie Walker <william walker sun com>
Date: Thu Jul 2 14:31:01 2009 -0400
Fix CheckBox formatting for inside/outside document content
src/orca/scripts/toolkits/Gecko/formatting.py | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Gecko/formatting.py b/src/orca/scripts/toolkits/Gecko/formatting.py
index 95e5451..7c04bc1 100644
--- a/src/orca/scripts/toolkits/Gecko/formatting.py
+++ b/src/orca/scripts/toolkits/Gecko/formatting.py
@@ -86,6 +86,14 @@ formatting = {
pyatspi.ROLE_AUTOCOMPLETE: {
'unfocused': '[Component(obj, asString(roleName))]'
},
+ pyatspi.ROLE_CHECK_BOX: {
+ 'unfocused': '[Component(obj,\
+ asString((not inDocumentContent\
+ and (label + displayedText)\
+ or (label and [""] or name))\
+ + roleName),\
+ indicator=asString(checkedState))]'
+ },
pyatspi.ROLE_COMBO_BOX: {
'unfocused': '[Component(obj,\
asString(label + name + roleName),\
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]