Пример #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))
Пример #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"
     )
Пример #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')
Пример #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))