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:
parent
73a1442b3a
commit
76a9601ae0
2 changed files with 19 additions and 1 deletions
18
srcpkgs/deluge/patches/001-deluge-gtk-settings.patch
Normal file
18
srcpkgs/deluge/patches/001-deluge-gtk-settings.patch
Normal 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":
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue