mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
Register just 'deluge' not '/usr/bin/deluge' in the magnet uri handler
This commit is contained in:
parent
2bc13a3fb7
commit
411ee123f1
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ class GtkUI(object):
|
|||
key = "/desktop/gnome/url-handlers/magnet/command"
|
||||
gconf_client = gconf.client_get_default()
|
||||
if not gconf_client.get(key):
|
||||
if gconf_client.set_string(key, "/usr/bin/deluge '%s'"):
|
||||
if gconf_client.set_string(key, "deluge '%s'"):
|
||||
gconf_client.set_bool("/desktop/gnome/url-handlers/magnet/needs_terminal", False)
|
||||
gconf_client.set_bool("/desktop/gnome/url-handlers/magnet/enabled", True)
|
||||
log.info("Deluge registered as default magnet uri handler!")
|
||||
|
|
Loading…
Add table
Reference in a new issue