fix by aldafu so abc@dore and www.abc get prefixed so gnome-open and kde's open work ok
This commit is contained in:
parent
4fef38de93
commit
217a7d6fb1
|
@ -123,7 +123,13 @@ class Interface:
|
|||
os.startfile(uri) # if pywin32 is installed we open
|
||||
except:
|
||||
pass
|
||||
|
||||
else:
|
||||
if kind == 'url' and not uri.startswith('http://'):
|
||||
uri = 'http://' + uri
|
||||
elif kind == 'mail' and not uri.startswith('mailto:'):
|
||||
uri = 'mailto:' + uri
|
||||
|
||||
if gajim.config.get('openwith') == 'gnome-open':
|
||||
command = 'gnome-open'
|
||||
elif gajim.config.get('openwith') == 'kfmclient exec':
|
||||
|
|
Loading…
Reference in New Issue