summaryrefslogtreecommitdiffstats
path: root/deluge/ui/gtk3/gtkui.py
diff options
context:
space:
mode:
authorMatias Wilkman <matias.wilkman@gmail.com>2021-02-15 14:07:01 -0500
committerCalum Lind <calumlind+deluge@gmail.com>2021-10-03 19:34:09 +0100
commitd56636426e061931fdf58118487705f9746fa3fe (patch)
treebc8eda7630128f7f04296ef13cae9177fec1fb2f /deluge/ui/gtk3/gtkui.py
parentde4fbd2e8223031484d439ca99bce89785ea5db3 (diff)
downloaddeluge-d56636426e061931fdf58118487705f9746fa3fe.tar.gz
deluge-d56636426e061931fdf58118487705f9746fa3fe.tar.bz2
deluge-d56636426e061931fdf58118487705f9746fa3fe.zip
[GTKUI] Added detection of torrent URL on GTK UI focus
In case deluge GTK gets focus with a new torrent URL on the clipboard, the "Add Torrent from URL" dialog will pop up automatically Closes: deluge-torrent/deluge#306
Diffstat (limited to 'deluge/ui/gtk3/gtkui.py')
-rw-r--r--deluge/ui/gtk3/gtkui.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/deluge/ui/gtk3/gtkui.py b/deluge/ui/gtk3/gtkui.py
index 74f29384e..02b309078 100644
--- a/deluge/ui/gtk3/gtkui.py
+++ b/deluge/ui/gtk3/gtkui.py
@@ -130,6 +130,7 @@ DEFAULT_PREFS = {
'show_rate_in_title': False,
'createtorrent.trackers': [],
'show_piecesbar': False,
+ 'detect_urls': True,
'pieces_color_missing': [65535, 0, 0],
'pieces_color_waiting': [4874, 56494, 0],
'pieces_color_downloading': [65535, 55255, 0],