Module: deluge
Branch: master
Commit: 2542ad9234014b31a8eb8a13d1cc72234c4ef481

Author: Andrew Resch <[email protected]>
Date:   Mon Jun  6 13:55:17 2011 -0700

Let the Core fire the PluginDisabled event instead of disabling the plugin 
right away

---

 deluge/ui/gtkui/preferences.py |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/deluge/ui/gtkui/preferences.py b/deluge/ui/gtkui/preferences.py
index 952141a..ea087ab 100644
--- a/deluge/ui/gtkui/preferences.py
+++ b/deluge/ui/gtkui/preferences.py
@@ -974,7 +974,6 @@ class Preferences(component.Component):
             client.core.enable_plugin(name)
         else:
             client.core.disable_plugin(name)
-            component.get("PluginManager").disable_plugin(name)
 
     def on_plugin_selection_changed(self, treeselection):
         log.debug("on_plugin_selection_changed")

-- 
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