Exemplo n.º 1
0
 def dashboard_event(self, event):
     entry = dashboard.status
     if entry:
         # Currently we don't do anything with these events
         err = plug.notify_dashboard_entry(monitor.cmdr, monitor.is_beta, entry)
         if err:
             self.status['text'] = err
             if not config.getint('hotkey_mute'):
                 hotkeymgr.play_bad()
 def dashboard_event(self, event):
     entry = dashboard.status
     if entry:
         # Currently we don't do anything with these events
         err = plug.notify_dashboard_entry(monitor.cmdr, monitor.is_beta, entry)
         if err:
             self.status['text'] = err
             if not config.getint('hotkey_mute'):
                 hotkeymgr.play_bad()