[orca/570658] Fix list items for braille generator
- From: William Walker <wwalker src gnome org>
- To: svn-commits-list gnome org
- Subject: [orca/570658] Fix list items for braille generator
- Date: Wed, 1 Jul 2009 19:34:06 +0000 (UTC)
commit 42b0bf4fff7de35326616fd34f1ab68daec34a09
Author: Willie Walker <william walker sun com>
Date: Wed Jul 1 15:32:56 2009 -0400
Fix list items for braille generator
This was adding a string instead of a Region
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 50e743b..9f4322b 100644
--- a/src/orca/formatting.py
+++ b/src/orca/formatting.py
@@ -402,10 +402,10 @@ formatting = {
pyatspi.ROLE_LIST_ITEM: {
'focused': '[Component(obj,\
asString(label + displayedText + expandableState + roleName + availability) + asString(accelerator))]\
- + nestingLevel',
+ + (nestingLevel and [Region(" " + asString(nestingLevel))])',
'unfocused': '[Component(obj,\
asString(label + displayedText + expandableState))]\
- + nestingLevel',
+ + (nestingLevel and [Region(" " + asString(nestingLevel))])',
},
pyatspi.ROLE_MENU: {
'focused': '[Component(obj,\
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]