[orca/570658] Fix formatting.py to only output relevant changed information for table cells
- From: William Walker <wwalker src gnome org>
- To: svn-commits-list gnome org
- Subject: [orca/570658] Fix formatting.py to only output relevant changed information for table cells
- Date: Mon, 18 May 2009 22:33:57 -0400 (EDT)
commit e949847c0493991b34ca41aa5f92f0dc21efd78c
Author: Willie Walker <william walker sun com>
Date: Mon May 18 22:32:20 2009 -0400
Fix formatting.py to only output relevant changed information for table cells
---
src/orca/formatting.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/orca/formatting.py b/src/orca/formatting.py
index 7fe237b..ff83626 100644
--- a/src/orca/formatting.py
+++ b/src/orca/formatting.py
@@ -140,7 +140,7 @@ formatting = {
'unfocused': 'labelAndName + allTextSelection + roleName + availability + noChildren'
},
pyatspi.ROLE_TABLE_CELL: {
- 'focused': '(tableCell2ChildLabel + tableCell2ChildToggle) or cellCheckedState + (realActiveDescendantDisplayedText or imageDescription) + (expandableState and (expandableState + numberOfChildren)) + required',
+ 'focused': '(tableCell2ChildLabel + tableCell2ChildToggle) or cellCheckedState + (expandableState and (expandableState + numberOfChildren))',
'unfocused': 'tableCellRow'
},
'REAL_ROLE_TABLE_CELL': {
@@ -149,7 +149,7 @@ formatting = {
# read a whole row. It calls REAL_ROLE_TABLE_CELL internally.
# maybe it can be done in a cleaner way?
#
- 'focused': '(tableCell2ChildLabel + tableCell2ChildToggle) or cellCheckedState + (realActiveDescendantDisplayedText or imageDescription + image) + (expandableState and (expandableState + numberOfChildren)) + required',
+ 'focused': '(tableCell2ChildLabel + tableCell2ChildToggle) or cellCheckedState + (expandableState and (expandableState + numberOfChildren))',
'unfocused': '(tableCell2ChildLabel + tableCell2ChildToggle) or cellCheckedState + (realActiveDescendantDisplayedText or imageDescription + image) + (expandableState and (expandableState + numberOfChildren)) + required'
},
pyatspi.ROLE_TEAROFF_MENU_ITEM: {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]