[pyatspi2] Fix problems with selection interface



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]