def enable(self): CustomNotifications.enable(self) self.register_custom_blink_notification( "TorrentFinishedEvent", self._on_torrent_finished_event_blink) self.register_custom_sound_notification( "TorrentFinishedEvent", self._on_torrent_finished_event_sound) self.register_custom_popup_notification( "TorrentFinishedEvent", self._on_torrent_finished_event_popup)
def enable(self): CustomNotifications.enable(self) self.register_custom_blink_notification( "TorrentFinishedEvent", self._on_torrent_finished_event_blink ) self.register_custom_sound_notification( "TorrentFinishedEvent", self._on_torrent_finished_event_sound ) self.register_custom_popup_notification( "TorrentFinishedEvent", self._on_torrent_finished_event_popup )
def disable(self): self.deregister_custom_email_notification('TorrentFinishedEvent') CustomNotifications.disable(self)
def enable(self): CustomNotifications.enable(self) self.register_custom_email_notification( 'TorrentFinishedEvent', self._on_torrent_finished_event)
def disable(self): self.deregister_custom_blink_notification("TorrentFinishedEvent") self.deregister_custom_sound_notification("TorrentFinishedEvent") self.deregister_custom_popup_notification("TorrentFinishedEvent") CustomNotifications.disable(self)
def enable(self): CustomNotifications.enable(self) self.register_custom_email_notification('TorrentFinishedEvent', self._on_torrent_finished_event)