create ~/.kde/share/services/xmpp.protocol if it does not exist.
This commit is contained in:
parent
a581391c03
commit
bf35cab4fc
|
@ -657,7 +657,7 @@ def possibly_set_gajim_as_xmpp_handler():
|
||||||
|
|
||||||
# setting for KDE
|
# setting for KDE
|
||||||
if path_to_kde_file is not None: # user has run kde at least once
|
if path_to_kde_file is not None: # user has run kde at least once
|
||||||
f = open(path_to_kde_file, 'w')
|
f = open(path_to_kde_file, 'a')
|
||||||
f.write('''\
|
f.write('''\
|
||||||
[Protocol]
|
[Protocol]
|
||||||
exec=%s "%%u"
|
exec=%s "%%u"
|
||||||
|
|
Loading…
Reference in New Issue