summaryrefslogtreecommitdiffstats
path: root/deluge/ui/gtk3/mainwindow.py
diff options
context:
space:
mode:
Diffstat (limited to 'deluge/ui/gtk3/mainwindow.py')
-rw-r--r--deluge/ui/gtk3/mainwindow.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/deluge/ui/gtk3/mainwindow.py b/deluge/ui/gtk3/mainwindow.py
index daed589..b0135bd 100644
--- a/deluge/ui/gtk3/mainwindow.py
+++ b/deluge/ui/gtk3/mainwindow.py
@@ -108,6 +108,7 @@ class MainWindow(component.Component):
self.window = self.main_builder.get_object('main_window')
self.window.set_icon(get_deluge_icon())
self.tabsbar_pane = self.main_builder.get_object('tabsbar_pane')
+ self.tabsbar_torrent_info = self.main_builder.get_object('torrent_info')
self.sidebar_pane = self.main_builder.get_object('sidebar_pane')
# Keep a list of components to pause and resume when changing window state.
@@ -154,6 +155,10 @@ class MainWindow(component.Component):
self.main_builder.prev_connect_signals(self.gtk_builder_signals_holder)
self.sidebar_pane.set_position(self.config['sidebar_position'])
self.tabsbar_pane.set_position(self.config['tabsbar_position'])
+ tab_pos = self.config['tabsbar_tab_pos']
+ self.tabsbar_torrent_info.set_tab_pos(
+ getattr(Gtk.PositionType, tab_pos.upper())
+ )
if not (
self.config['start_in_tray'] and self.config['enable_system_tray']