def __init__(self, name, version, description, author, icon, website): "Module initialization" GespeakerPlugin.__init__(self, name, version, description, author, icon, website) self.logger('__init__("%s", "%s", "%s", "%s", "%s", "%s")' % (PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_AUTHOR, PLUGIN_DESCRIPTION, PLUGIN_ICON, PLUGIN_WEBSITE))
def __init__(self, name, version, description, author, icon, website): "Module initialization" GespeakerPlugin.__init__(self, name, version, description, author, icon, website) dbus.mainloop.glib.DBusGMainLoop(set_as_default=True) bus = dbus.SessionBus() bus.add_signal_receiver( self.message_received, dbus_interface="im.pidgin.purple.PurpleInterface", signal_name="ReceivingImMsg" )
def __init__(self, name, version, description, author, icon, website): "Module initialization" GespeakerPlugin.__init__(self, name, version, description, author, icon, website) dbus.mainloop.glib.DBusGMainLoop(set_as_default=True) bus = dbus.SessionBus() bus.add_signal_receiver( self.message_received, dbus_interface="org.freedesktop.Telepathy.Channel.Type.Text", signal_name="Received" )
def __init__(self, name, version, description, author, icon, website): "Module initialization" GespeakerPlugin.__init__(self, name, version, description, author, icon, website) dbus.mainloop.glib.DBusGMainLoop(set_as_default=True) bus = dbus.SessionBus() bus.add_signal_receiver( self.message_received, dbus_interface='org.freedesktop.Telepathy.Channel.Type.Text', signal_name='Received')
def __init__(self, name, version, description, author, icon, website): "Module initialization" GespeakerPlugin.__init__(self, name, version, description, author, icon, website) self.logger('__init__("%s", "%s", "%s", "%s", "%s", "%s")' % ( PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_AUTHOR, PLUGIN_DESCRIPTION, PLUGIN_ICON, PLUGIN_WEBSITE))