[pyatspi2] Fix getLink



commit 8921602fcdda18679fbc9cfb8627184f21336306
Author: Mike Gorse <mgorse novell com>
Date:   Wed Mar 31 17:34:11 2010 -0400

    Fix getLink
    
    for getLink(), invoke GetLink rather than getLink

 pyatspi/hypertext.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pyatspi/hypertext.py b/pyatspi/hypertext.py
index 75b1013..94de1b0 100644
--- a/pyatspi/hypertext.py
+++ b/pyatspi/hypertext.py
@@ -38,7 +38,7 @@ class Hypertext(Accessible):
                 an integer from 0 to getNLinks() - 1. 
                 @return the Hyperlink in this Hypertext object.
                 """
-                func = self.get_dbus_method("getLink", dbus_interface=ATSPI_HYPERTEXT)
+                func = self.get_dbus_method("GetLink", dbus_interface=ATSPI_HYPERTEXT)
                 return self._acc_factory (self._app_name, func(index), interfaces.ATSPI_HYPERLINK)
 
         def getLinkIndex(self, character_index):



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