Rename the daemons PluginManager component to CorePluginManager to not

conflict with the gtkui in Classic mode.
This commit is contained in:
Andrew Resch 2009-01-28 23:10:44 +00:00
parent e9f8c7b0e8
commit 6a0594b47d
3 changed files with 4 additions and 4 deletions

View File

@ -664,12 +664,12 @@ class Core(component.Component):
f = open(os.path.join(self.config["config_location"], "plugins", filename), "wb")
f.write(plugin_data.data)
f.close()
component.get("PluginManager").scan_for_plugins()
component.get("CorePluginManager").scan_for_plugins()
@export()
def rescan_plugins(self):
"""Rescans the plugin folders for new plugins"""
component.get("PluginManager").scan_for_plugins()
component.get("CorePluginManager").scan_for_plugins()
@export()
def rename_files(self, torrent_id, filenames):

View File

@ -38,7 +38,7 @@ class PluginManager(deluge.pluginmanagerbase.PluginManagerBase,
functions to access parts of the core."""
def __init__(self, core):
component.Component.__init__(self, "PluginManager")
component.Component.__init__(self, "CorePluginManager")
self.core = core
# Set up the hooks dictionary
self.hooks = {

View File

@ -168,7 +168,7 @@ class TorrentManager(component.Component):
def start(self):
# Get the pluginmanager reference
self.plugins = component.get("PluginManager")
self.plugins = component.get("CorePluginManager")
self.signals = component.get("SignalManager")