[orca] Fix for bgo#356060 - Provide access to tree item level and state in OOo Navigator
- From: Joanmarie Diggs <joanied src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [orca] Fix for bgo#356060 - Provide access to tree item level and state in OOo Navigator
- Date: Mon, 17 Aug 2009 16:18:12 +0000 (UTC)
commit ee74bdd1e53360c602322df65151d3af5e6c5910
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date: Sun Aug 16 19:41:02 2009 -0400
Fix for bgo#356060 - Provide access to tree item level and state in OOo Navigator
src/orca/default.py | 1 +
src/orca/scripts/apps/soffice/formatting.py | 5 +++++
2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/default.py b/src/orca/default.py
index 33cbb3d..1b2d9ed 100644
--- a/src/orca/default.py
+++ b/src/orca/default.py
@@ -8445,3 +8445,4 @@ state_change_notifiers[pyatspi.ROLE_TABLE_CELL] = ("checked",
"expanded",
None)
state_change_notifiers[pyatspi.ROLE_LIST_ITEM] = ("expanded", None)
+state_change_notifiers[pyatspi.ROLE_LABEL] = ("expanded", None)
diff --git a/src/orca/scripts/apps/soffice/formatting.py b/src/orca/scripts/apps/soffice/formatting.py
index 933477c..eaf40c3 100644
--- a/src/orca/scripts/apps/soffice/formatting.py
+++ b/src/orca/scripts/apps/soffice/formatting.py
@@ -49,6 +49,11 @@ formatting = {
'focused': 'name + positionInList + availability',
'unfocused': 'labelAndName + roleName + positionInList + availability'
},
+ pyatspi.ROLE_LABEL: {
+ 'focused': 'expandableState + availability',
+ 'unfocused': 'name + allTextSelection + expandableState + availability + positionInList',
+ 'basicWhereAmI': 'roleName + name + positionInList + expandableState + (nodeLevel or nestingLevel)'
+ },
pyatspi.ROLE_PUSH_BUTTON: {
'unfocused': 'labelAndName + roleName + toggleState + availability',
'focused': 'labelAndName + toggleState'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]