Move CoreConfig component out of GtkUI since it's UI independent
This commit is contained in:
parent
8fef414054
commit
b6f40a8115
|
@ -30,7 +30,7 @@ from deluge.log import LOG as log
|
|||
class CoreConfig(component.Component):
|
||||
def __init__(self):
|
||||
log.debug("CoreConfig init..")
|
||||
component.Component.__init__(self, "CoreConfig", ["Signals"])
|
||||
component.Component.__init__(self, "CoreConfig")
|
||||
self.config = {}
|
||||
client.register_event_handler("ConfigValueChangedEvent", self.on_configvaluechanged_event)
|
||||
|
|
@ -54,7 +54,6 @@ from ipcinterface import IPCInterface
|
|||
|
||||
from queuedtorrents import QueuedTorrents
|
||||
from addtorrentdialog import AddTorrentDialog
|
||||
from coreconfig import CoreConfig
|
||||
import deluge.configmanager
|
||||
import deluge.common
|
||||
|
||||
|
@ -179,8 +178,6 @@ class GtkUI:
|
|||
self.statusbar = StatusBar()
|
||||
self.addtorrentdialog = AddTorrentDialog()
|
||||
|
||||
self.coreconfig = CoreConfig()
|
||||
|
||||
# Initalize the plugins
|
||||
self.plugins = PluginManager()
|
||||
|
||||
|
|
Loading…
Reference in New Issue