mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
Late import GTK UI's ConnectionManager so that the translations code can be properly setup.
This commit is contained in:
parent
ddc0957e3e
commit
4420aae092
1 changed files with 2 additions and 1 deletions
|
@ -58,7 +58,6 @@ from filtertreeview import FilterTreeView
|
|||
from preferences import Preferences
|
||||
from systemtray import SystemTray
|
||||
from statusbar import StatusBar
|
||||
from connectionmanager import ConnectionManager
|
||||
from pluginmanager import PluginManager
|
||||
from ipcinterface import IPCInterface
|
||||
from deluge.ui.tracker_icons import TrackerIcons
|
||||
|
@ -213,6 +212,8 @@ class GtkUI(object):
|
|||
# Initalize the plugins
|
||||
self.plugins = PluginManager()
|
||||
|
||||
# Late import because of setting up translations
|
||||
from connectionmanager import ConnectionManager
|
||||
# Show the connection manager
|
||||
self.connectionmanager = ConnectionManager()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue