#coding: Utf-8 -*- VERSION = '0.1' import gtk from Plugin import Option, ConfigWindow, Plugin class ConfigWindow(gtk.Window): '''configuration window''' def __init__(self, callback, msg='slt', nb=12): '''dunnno''' gtk.Window.__init__(self) self.set_title("Avatar status3") self.set_default_size(200, 200) self.table = gtk.Table(2, 2) self.msg_entry = gtk.Entry() self.table.attach(self.msg_entry, 0, 1, 0, 1) class MainClass(Plugin): '''Main plugin class''' def __init__(self, controller, msn): self.description = _('Change avatar with status') self.authors = { 'louizatakk' : 'louizatakk @ gmail . com'} self.website = 'emesene.org' self.displayName = _('Avatar Status1') self.name = 'Avatar Status2' self.controller = controller def start(self): '''start the plugin''' self.enabled = True def stop(self): '''stop the plugin''' self.enabled = False def check(self): return (True, 'OK')