Author: andar
Revision: 5863
Log:
Fix starting plugins when the pluginmanager is started
Diff:
Modified: branches/1.2_RC/ChangeLog
===================================================================
--- branches/1.2_RC/ChangeLog 2009-10-23 22:47:30 UTC (rev 5862)
+++ branches/1.2_RC/ChangeLog 2009-10-23 23:23:38 UTC (rev 5863)
@@ -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
Modified: branches/1.2_RC/deluge/ui/gtkui/pluginmanager.py
===================================================================
--- branches/1.2_RC/deluge/ui/gtkui/pluginmanager.py 2009-10-23 22:47:30 UTC
(rev 5862)
+++ branches/1.2_RC/deluge/ui/gtkui/pluginmanager.py 2009-10-23 23:23:38 UTC
(rev 5863)
@@ -74,6 +74,8 @@
"""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
Modified: trunk/deluge/ui/gtkui/pluginmanager.py
===================================================================
--- trunk/deluge/ui/gtkui/pluginmanager.py 2009-10-23 22:47:30 UTC (rev
5862)
+++ trunk/deluge/ui/gtkui/pluginmanager.py 2009-10-23 23:23:38 UTC (rev
5863)
@@ -74,6 +74,8 @@
"""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
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---