Exemplo n.º 1
0
 def notify_server(self, *args, **kwargs):
     self._notifylock.acquire()
     if 'icon' in self.config:
         kwargs['icon'] = self.config['icon']
     result = notify.notify_server(self, *args, **kwargs)
     self._notifylock.release()
     return result
Exemplo n.º 2
0
 def notify_server(self, *args, **kwargs):
     self._notifylock.acquire()
     if 'icon' in self.config:
         kwargs['icon'] = self.config['icon']
     result = notify.notify_server(self, *args, **kwargs)
     self._notifylock.release()
     return result
Exemplo n.º 3
0
 def notify_server_for_cmdproc(self, cmdproc, *args, **kwargs):
     kwargs['icon'] = self._cmdproc_config[cmdproc]['icon']
     return notify.notify_server(self, *args, **kwargs)
Exemplo n.º 4
0
 def notify_server(self, *args, **kwargs):
     kwargs['icon'] = self.config['icon']
     return notify.notify_server(self, *args, **kwargs)
Exemplo n.º 5
0
 def notify_server_for_cmdproc(self, cmdproc, *args, **kwargs):
     kwargs['icon'] = self._cmdproc_config[cmdproc]['icon']
     return notify.notify_server(self, *args, **kwargs)
Exemplo n.º 6
0
 def notify_server(self, *args, **kwargs):
     kwargs['icon'] = self.config['icon']
     return notify.notify_server(self, *args, **kwargs)