summaryrefslogtreecommitdiffstats
path: root/deluge/ui/gtk3/gtkui.py
diff options
context:
space:
mode:
authorCalum Lind <calumlind@gmail.com>2018-11-06 18:17:03 +0000
committerCalum Lind <calumlind@gmail.com>2018-11-07 15:52:26 +0000
commit7e2192e875ea0cc1ed160e0ebf6138e37e975035 (patch)
treefca4aeaeb404dd3e378f72a8c437f1a1a71f8f42 /deluge/ui/gtk3/gtkui.py
parentf11a42b9bf187c4272b5034a65f19766f8b64075 (diff)
downloaddeluge-7e2192e875ea0cc1ed160e0ebf6138e37e975035.tar.gz
deluge-7e2192e875ea0cc1ed160e0ebf6138e37e975035.tar.bz2
deluge-7e2192e875ea0cc1ed160e0ebf6138e37e975035.zip
[GTK] Fix showing sidebar and tabsbar
- Fixed the sidebar position not being restored by applying the config value in main_window first_show and updating config in position callback. - Renamed the main_window vpaned and hpaned widgets to aid identifying purpose. - Fixed filtertreeview KeyError when not conneted and hiding tabsbar. - Fixed the tabsbar notebook not being hidden on restart by adding a new config value.
Diffstat (limited to 'deluge/ui/gtk3/gtkui.py')
-rw-r--r--deluge/ui/gtk3/gtkui.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/deluge/ui/gtk3/gtkui.py b/deluge/ui/gtk3/gtkui.py
index 36991e755..88fb1016b 100644
--- a/deluge/ui/gtk3/gtkui.py
+++ b/deluge/ui/gtk3/gtkui.py
@@ -107,7 +107,6 @@ DEFAULT_PREFS = {
'pref_dialog_height': None,
'edit_trackers_dialog_width': None,
'edit_trackers_dialog_height': None,
- 'window_pane_position': 235,
'tray_download_speed_list': [5.0, 10.0, 30.0, 80.0, 300.0],
'tray_upload_speed_list': [5.0, 10.0, 30.0, 80.0, 300.0],
'connection_limit_list': [50, 100, 200, 300, 500],
@@ -122,6 +121,8 @@ DEFAULT_PREFS = {
'show_sidebar': True,
'show_toolbar': True,
'show_statusbar': True,
+ 'show_tabsbar': True,
+ 'tabsbar_position': 235,
'sidebar_show_zero': False,
'sidebar_show_trackers': True,
'sidebar_show_owners': True,