mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 03:54:50 +00:00
Updates to test plugin.
This commit is contained in:
parent
c679d6b2cf
commit
bed05c7a05
1 changed files with 5 additions and 1 deletions
|
@ -40,8 +40,12 @@ class GtkUI(ui.UI):
|
|||
# Call UI constructor
|
||||
ui.UI.__init__(self, plugin_api, plugin_name)
|
||||
log.debug("test plugin initialized..")
|
||||
|
||||
def enable(self):
|
||||
self.plugin.register_hook("on_apply_prefs", self.apply_prefs)
|
||||
|
||||
|
||||
def disable(self):
|
||||
self.plugin.deregister_hook("on_apply_prefs", self.apply_prefs)
|
||||
|
||||
def apply_prefs(self):
|
||||
log.debug("applying prefs in test plugin!!")
|
||||
|
|
Loading…
Add table
Reference in a new issue