From e50614728936197691708feaa75fe395fc822d67 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Fri, 23 Oct 2009 23:23:38 +0000 Subject: [PATCH] Fix starting plugins when the pluginmanager is started --- ChangeLog | 1 + deluge/ui/gtkui/pluginmanager.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/ChangeLog b/ChangeLog index bee764634..e422aae50 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,7 @@ * Fix localclient authentication by stripping the lines read from the auth file * Do not try to call doIteration() on the reactor if it has already stopped * Fix 'autostart localhost if needed' option + * Fix starting plugins when the pluginmanager is started ==== Core ==== * Fix saving torrent state on fresh configs diff --git a/deluge/ui/gtkui/pluginmanager.py b/deluge/ui/gtkui/pluginmanager.py index 126f7b348..fa9931b99 100644 --- a/deluge/ui/gtkui/pluginmanager.py +++ b/deluge/ui/gtkui/pluginmanager.py @@ -74,6 +74,8 @@ class PluginManager(deluge.pluginmanagerbase.PluginManagerBase, """Start the plugin manager""" # Update the enabled_plugins from the core client.core.get_enabled_plugins().addCallback(self._on_get_enabled_plugins) + for instance in self.plugins.values(): + component.start(instance.plugin.get_component_name()) def stop(self): # Disable the plugins