summaryrefslogtreecommitdiffstats
path: root/deluge/ui/gtk3/gtkui.py
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2021-02-20 17:25:42 +0000
committerCalum Lind <calumlind+deluge@gmail.com>2021-02-20 17:29:36 +0000
commitf331b6c754dc23797b1ebccda1e38dd048ed0468 (patch)
tree15f2631bbb5dd115e98d08c3987c056461db5c12 /deluge/ui/gtk3/gtkui.py
parent1022448e4fbd7934b69b28abb3ff0c474b7b16ec (diff)
downloaddeluge-f331b6c754dc23797b1ebccda1e38dd048ed0468.tar.gz
deluge-f331b6c754dc23797b1ebccda1e38dd048ed0468.tar.bz2
deluge-f331b6c754dc23797b1ebccda1e38dd048ed0468.zip
[GTKUI] Fix torrentdetails tab bar position not saving
The GTKUI tests were failing and the saved config for the tab bar position was not being restored. Fixed by moving the setting of notebook.tabs_pos to TorrentDetail init. Replaced more deprecated methods that were showing up in tests.
Diffstat (limited to 'deluge/ui/gtk3/gtkui.py')
-rw-r--r--deluge/ui/gtk3/gtkui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/deluge/ui/gtk3/gtkui.py b/deluge/ui/gtk3/gtkui.py
index c3593da16..ebb78e8b2 100644
--- a/deluge/ui/gtk3/gtkui.py
+++ b/deluge/ui/gtk3/gtkui.py
@@ -121,7 +121,7 @@ DEFAULT_PREFS = {
'show_toolbar': True,
'show_statusbar': True,
'show_tabsbar': True,
- 'tabsbar_tab_pos': 'left',
+ 'tabsbar_tab_pos': 'top',
'tabsbar_position': 235,
'sidebar_show_zero': False,
'sidebar_show_trackers': True,