def __init__(self, cfg={}):
     DBusModule.__init__(self, 'thunderbird')
     self.config(cfg)
     self.last_message = ''
     self.last_sender = ''
     self.counter = 0 
     self.channels = {'last_message_with_sender': False, 'last_message': False}
Example #2
0
 def __init__(self, cfg={}):
     DBusModule.__init__(self, 'alsa_volume')
     self.config(cfg)
     self.volume = 50
     self.muted = False
     self.counter = 0
     self.channels = {'volume_bar': False, 'volume_icon': False, 'volume_pct': False, 'volume_scale': False}