[pyatspi2] Fix problems with selection interface
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pyatspi2] Fix problems with selection interface
- Date: Fri, 4 Feb 2011 18:20:57 +0000 (UTC)
commit 2cfea756aa0dab72a4150a12c0ab8ec6f294829a
Author: Mike Gorse <mgorse novell com>
Date: Fri Feb 4 12:23:49 2011 -0600
Fix problems with selection interface
pyatspi/Accessibility.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pyatspi/Accessibility.py b/pyatspi/Accessibility.py
index 4fb8431..295da37 100644
--- a/pyatspi/Accessibility.py
+++ b/pyatspi/Accessibility.py
@@ -205,8 +205,8 @@ Atspi.Image.imageLocale = property(fget=Atspi.Image.get_image_locale)
### selection ###
Selection = Atspi.Selection
-Atspi.Accessible.querySelection = lambda x: getInterface(Atspi.Accessible.get_selection)
-Atspi.Selection.clearSelectio = Atspi.Selection.clear_selection
+Atspi.Accessible.querySelection = lambda x: getInterface(Atspi.Accessible.get_selection, x)
+Atspi.Selection.clearSelection = Atspi.Selection.clear_selection
Atspi.Selection.deselectChild = Atspi.Selection.deselect_child
Atspi.Selection.deselectSelectedChild = Atspi.Selection.deselect_selected_child
Atspi.Selection.getSelectedChild = Atspi.Selection.get_selected_child
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]