2008-11-13 Mark Doffman <mark.doffman@codethink.co.uk>
[platform/core/uifw/at-spi2-atk.git] / pyatspi / editabletext.py
index 3ce10ee..084840f 100644 (file)
@@ -14,7 +14,7 @@
 
 import interfaces
 from base import BaseProxy
-from factory import add_accessible_class
+from factory import accessible_factory
 from text import *
 
 __all__ = [
@@ -128,7 +128,7 @@ class EditableText(Text):
                 func = self.get_dbus_method("setTextContents")
                 return func(*args, **kwargs)
 
-# ATTENTION - Register the Application class with the accessible factory.
-add_accessible_class(interfaces.ATSPI_EDITABLE_TEXT, EditableText)
+# Register the accessible class with the factory.
+accessible_factory.register_accessible_class(interfaces.ATSPI_EDITABLE_TEXT, EditableText)
 
 #END----------------------------------------------------------------------------