[pyatspi2] Correct wrong method name in the 'Selection' interface.



commit 7252beb7319b2477422f8ad5e313540c4b1aa9d1
Author: Mark Doffman <mark doffman codethink co uk>
Date:   Fri Dec 18 05:00:20 2009 -0800

    Correct wrong method name in the 'Selection' interface.

 pyatspi/selection.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pyatspi/selection.py b/pyatspi/selection.py
index e7720a7..8b1e505 100644
--- a/pyatspi/selection.py
+++ b/pyatspi/selection.py
@@ -81,7 +81,7 @@ class Selection(Accessible):
                 @return a pointer to a selected Accessible child object, specified
                 by selectedChildIndex.
                 """
-                func = self.get_dbus_method("getSelectedChild", dbus_interface=ATSPI_SELECTION)
+                func = self.get_dbus_method("GetSelectedChild", dbus_interface=ATSPI_SELECTION)
                 return self.acc_factory.create_accessible(self._app_name, func(index),
                                                           interfaces.ATSPI_ACCESSIBLE)
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]