deluge-gtk: patch settings dialog not working for version 1.3.15 (#14107)

https://forum.deluge-torrent.org/viewtopic.php?f=7&t=54517
This commit is contained in:
JTL 2018-06-07 09:15:15 -07:00 committed by Alessio Sergi
parent 73a1442b3a
commit 76a9601ae0
2 changed files with 19 additions and 1 deletions

View file

@ -0,0 +1,18 @@
# Fixes settings dialog for Deluge 1.3.15
--- deluge/ui/gtkui/preferences.py
+++ deluge/ui/gtkui/preferences.py
@@ -318,11 +318,8 @@ class Preferences(component.Component):
}
# Add proxy stuff
- # Display workaround for single proxy in libtorrent >v0.16
- try:
- lt_single_proxy = component.get("PreferencesManager").LT_SINGLE_PROXY
- except AttributeError:
- lt_single_proxy = False
+ # Display workaround for single proxy in libtorrent >= v0.16
+ lt_single_proxy = True
for t in ("peer", "web_seed", "tracker", "dht"):
if lt_single_proxy and not t == "peer":

View file

@ -1,7 +1,7 @@
# Template file for 'deluge'
pkgname=deluge
version=1.3.15
revision=1
revision=2
noarch=yes
build_style=python2-module
pycompile_module="deluge"