Ejemplo n.º 1
0
 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))
Ejemplo n.º 2
0
 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"
     )
Ejemplo n.º 3
0
 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')
Ejemplo n.º 5
0
 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))