Module: deluge
Branch: master
Commit: 70580e35dbd3a9f3313357c656fdc30a170d8bd7

Author: Andrew Resch <[email protected]>
Date:   Tue Apr 20 08:56:07 2010 -0700

Fix starting plugins

---

 deluge/pluginmanagerbase.py      |    2 +-
 deluge/ui/gtkui/pluginmanager.py |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/deluge/pluginmanagerbase.py b/deluge/pluginmanagerbase.py
index 636ab94..4256a46 100644
--- a/deluge/pluginmanagerbase.py
+++ b/deluge/pluginmanagerbase.py
@@ -140,7 +140,7 @@ class PluginManagerBase:
                 continue
             instance.enable()
             if self._component_state == "Started":
-                component.start(instance.plugin._component_name)
+                component.start([instance.plugin._component_name])
             plugin_name = plugin_name.replace("-", " ")
             self.plugins[plugin_name] = instance
             if plugin_name not in self.config["enabled_plugins"]:
diff --git a/deluge/ui/gtkui/pluginmanager.py b/deluge/ui/gtkui/pluginmanager.py
index 27c09ff..8d01264 100644
--- a/deluge/ui/gtkui/pluginmanager.py
+++ b/deluge/ui/gtkui/pluginmanager.py
@@ -75,7 +75,7 @@ class 
PluginManager(deluge.pluginmanagerbase.PluginManagerBase,
         # 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._component_name)
+            component.start([instance.plugin._component_name])
 
     def stop(self):
         # Disable the plugins

-- 
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en.

Reply via email to