From dafd336cf701e496ec5f14955055ebbb6f22893b Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Sat, 2 Aug 2008 05:10:36 +0000 Subject: [PATCH] fix unload of lable plugin --- deluge/plugins/label/label/gtkui/label_config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/deluge/plugins/label/label/gtkui/label_config.py b/deluge/plugins/label/label/gtkui/label_config.py index b22c767fa..8ae295aaf 100644 --- a/deluge/plugins/label/label/gtkui/label_config.py +++ b/deluge/plugins/label/label/gtkui/label_config.py @@ -61,6 +61,7 @@ class LabelConfig(object): def unload(self): self.plugin.remove_preferences_page("Label") + self.plugin.deregister_hook("on_apply_prefs", self.on_apply_prefs) self.plugin.deregister_hook("on_show_prefs", self.load_settings) def get_resource(self, filename):