net-p2p/deluge-cli: fix runtime
Add upstream patch to fix bug with opening preferences window. This patch closing https://dev.deluge-torrent.org/ticket/3039 PR: 226443 Submitted by: Rainbow <rainbow@sanitylinux.org> MFH: 2018Q1
This commit is contained in:
parent
0746a51922
commit
57b7a75075
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=464430
@ -3,7 +3,7 @@
|
||||
PORTNAME= deluge
|
||||
DISTVERSIONPREFIX= ${PORTNAME}-
|
||||
DISTVERSION= 1.3.15
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= net-p2p python
|
||||
PKGNAMESUFFIX= -cli
|
||||
|
||||
|
@ -0,0 +1,20 @@
|
||||
Closing upstream bug-report: https://dev.deluge-torrent.org/ticket/3039
|
||||
|
||||
Index: deluge/ui/gtkui/preferences.py
|
||||
===================================================================
|
||||
--- deluge/ui/gtkui/preferences.py.orig 2017-05-12 12:57:19 UTC
|
||||
+++ 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":
|
Loading…
Reference in New Issue
Block a user