[orca] Fix for bgo#617345 - getChildNodes() is returning a list of integers rather than accessibles if NODE
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Fix for bgo#617345 - getChildNodes() is returning a list of integers rather than accessibles if NODE
- Date: Sat, 1 May 2010 03:18:50 +0000 (UTC)
commit e9f860fb87c49739ecc587d633f223312dc73ded
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date: Fri Apr 30 23:17:45 2010 -0400
Fix for bgo#617345 - getChildNodes() is returning a list of integers rather than accessibles if NODE_PARENT_OF relationship is present
src/orca/default.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/default.py b/src/orca/default.py
index 3eb3253..047d960 100644
--- a/src/orca/default.py
+++ b/src/orca/default.py
@@ -7408,7 +7408,7 @@ class Script(script.Script):
if relation.getRelationType() == \
pyatspi.RELATION_NODE_PARENT_OF:
for target in range(relation.getNTargets()):
- nodes.append(target)
+ nodes.append(relation.getTarget(target))
return nodes
except:
pass
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]