[orca] Fix bug in braille presentation of tree items
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Fix bug in braille presentation of tree items
- Date: Wed, 18 Nov 2020 13:37:04 +0000 (UTC)
commit 8fbe4aa4af7a490230ca01925a55bdac9f83ea70
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Wed Nov 18 14:36:30 2020 +0100
Fix bug in braille presentation of tree items
We should be displaying the nodeLevel; not the nesting level.
src/orca/formatting.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/orca/formatting.py b/src/orca/formatting.py
index da0137684..3b0026653 100644
--- a/src/orca/formatting.py
+++ b/src/orca/formatting.py
@@ -831,7 +831,7 @@ formatting = {
pyatspi.ROLE_TREE_ITEM: {
'unfocused': '((substring and ' + BRAILLE_TEXT + ')\
or ([Component(obj, asString(labelOrName + expandableState))]\
- + (nestingLevel and [Region(" " + asString(nestingLevel))])))',
+ + (nodeLevel and [Region(" " + asString(nodeLevel))])))',
},
#pyatspi.ROLE_TREE: 'default'
#pyatspi.ROLE_TREE_TABLE: 'default'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]