diff options
author | Matias Wilkman <matias.wilkman@gmail.com> | 2021-02-15 14:07:01 -0500 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2021-10-03 19:34:09 +0100 |
commit | d56636426e061931fdf58118487705f9746fa3fe (patch) | |
tree | bc8eda7630128f7f04296ef13cae9177fec1fb2f /deluge/ui/gtk3/gtkui.py | |
parent | de4fbd2e8223031484d439ca99bce89785ea5db3 (diff) | |
download | deluge-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.py | 1 |
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], |