Ticket #1009: deluge-enable-plugins.diff

File deluge-enable-plugins.diff, 657 bytes (added by squisher, 12 years ago)

Patch which only calls client.core and not the PluginManager? when enabling/disabling plugins

  • deluge/ui/gtkui/preferences.py

     
    882882        self.plugin_liststore.set_value(row, 1, not value) 
    883883        if not value: 
    884884            client.core.enable_plugin(name) 
    885             component.get("PluginManager").enable_plugin(name) 
    886885        else: 
    887886            client.core.disable_plugin(name) 
    888             component.get("PluginManager").disable_plugin(name) 
    889887 
    890888    def on_plugin_selection_changed(self, treeselection): 
    891889        log.debug("on_plugin_selection_changed")