mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 23:18:40 +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 preferences import Preferences
|
||||||
from systemtray import SystemTray
|
from systemtray import SystemTray
|
||||||
from statusbar import StatusBar
|
from statusbar import StatusBar
|
||||||
from connectionmanager import ConnectionManager
|
|
||||||
from pluginmanager import PluginManager
|
from pluginmanager import PluginManager
|
||||||
from ipcinterface import IPCInterface
|
from ipcinterface import IPCInterface
|
||||||
from deluge.ui.tracker_icons import TrackerIcons
|
from deluge.ui.tracker_icons import TrackerIcons
|
||||||
|
@ -213,6 +212,8 @@ class GtkUI(object):
|
||||||
# Initalize the plugins
|
# Initalize the plugins
|
||||||
self.plugins = PluginManager()
|
self.plugins = PluginManager()
|
||||||
|
|
||||||
|
# Late import because of setting up translations
|
||||||
|
from connectionmanager import ConnectionManager
|
||||||
# Show the connection manager
|
# Show the connection manager
|
||||||
self.connectionmanager = ConnectionManager()
|
self.connectionmanager = ConnectionManager()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue