[pyatspi2] More name fixes



commit b2f56a54c254d208ea6807dd160580f4766c9bed
Author: Mike Gorse <mgorse novell com>
Date:   Wed Mar 31 17:42:52 2010 -0400

    More name fixes

 pyatspi/component.py |    2 +-
 pyatspi/hyperlink.py |    2 +-
 pyatspi/table.py     |    2 +-
 pyatspi/text.py      |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/pyatspi/component.py b/pyatspi/component.py
index a833956..460ed82 100644
--- a/pyatspi/component.py
+++ b/pyatspi/component.py
@@ -99,7 +99,7 @@ class Component(Accessible):
                 @return the Accessible child whose bounding box contains the
                 specified point.
                 """
-                func = self.get_dbus_method("getAccessibleAtPoint", dbus_interface=ATSPI_COMPONENT)
+                func = self.get_dbus_method("GetAccessibleAtPoint", dbus_interface=ATSPI_COMPONENT)
                 (name, path) = func(x, y, UInt32(coord_type))
                 if (name == ""):
                         name = self._app_name
diff --git a/pyatspi/hyperlink.py b/pyatspi/hyperlink.py
index 2554198..180973d 100644
--- a/pyatspi/hyperlink.py
+++ b/pyatspi/hyperlink.py
@@ -49,7 +49,7 @@ class Hyperlink(Accessible):
                 ith anchor, or through which the content associated with the
                 ith anchor can be accessed.
                 """
-                func = self.get_dbus_method("getObject", dbus_interface=ATSPI_HYPERLINK)
+                func = self.get_dbus_method("GetObject", dbus_interface=ATSPI_HYPERLINK)
                 return self._acc_factory (self._app_name, func(index), ATSPI_ACCESSIBLE)
 
         def getURI(self, index):
diff --git a/pyatspi/table.py b/pyatspi/table.py
index 01fbf82..9eb3235 100644
--- a/pyatspi/table.py
+++ b/pyatspi/table.py
@@ -308,7 +308,7 @@ class Table(Accessible):
                 @return True if the specified row was successfully de-selected,
                 False if not.
                 """
-                func = self.get_dbus_method("removeRowSelection", dbus_interface=ATSPI_TABLE)
+                func = self.get_dbus_method("RemoveRowSelection", dbus_interface=ATSPI_TABLE)
                 return func(row)
 
         def get_caption(self):
diff --git a/pyatspi/text.py b/pyatspi/text.py
index c798df8..b1a177e 100644
--- a/pyatspi/text.py
+++ b/pyatspi/text.py
@@ -532,7 +532,7 @@ class Text(Accessible):
                 @return True if the selection corresponding to selectionNum is
                 successfully modified, False otherwise.
                 """
-                func = self.get_dbus_method("setSelection", dbus_interface=ATSPI_TEXT)
+                func = self.get_dbus_method("SetSelection", dbus_interface=ATSPI_TEXT)
                 return func(selectionNum, startOffset, endOffset)
 
         def get_caretOffset(self):



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