[pyatspi2] Add getChildCount for compatibility with older versions of pyatspi2
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pyatspi2] Add getChildCount for compatibility with older versions of pyatspi2
- Date: Mon, 27 Dec 2010 20:18:30 +0000 (UTC)
commit fb5f7b2326464ded106c50a782fd2fc8e78e57c8
Author: Mike Gorse <mgorse novell com>
Date: Mon Dec 27 15:20:55 2010 -0500
Add getChildCount for compatibility with older versions of pyatspi2
pyatspi/Accessibility.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pyatspi/Accessibility.py b/pyatspi/Accessibility.py
index 3369c17..c2c1707 100644
--- a/pyatspi/Accessibility.py
+++ b/pyatspi/Accessibility.py
@@ -96,6 +96,7 @@ Atspi.Accessible.__getitem__ = Accessible_getitem
Atspi.Accessible.__len__ = Atspi.Accessible.get_child_count
Atspi.Accessible.__nonzero__ = lambda x: True
Atspi.Accessible.childCount = property(fget=Atspi.Accessible.get_child_count)
+Atspi.Accessible.getChildCount = Atspi.Accessible.get_child_count
Atspi.Accessible.getIndexInParent = Atspi.Accessible.get_index_in_parent
Atspi.Accessible.getLocalizedRoleName = Atspi.Accessible.get_localized_role_name
Atspi.Accessible.getRelationSet = Atspi.Accessible.get_relation_set
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]