parent
72a632c76e
commit
02285f0a84
|
@ -657,8 +657,9 @@ 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, 'a')
|
try:
|
||||||
f.write('''\
|
f = open(path_to_kde_file, 'a')
|
||||||
|
f.write('''\
|
||||||
[Protocol]
|
[Protocol]
|
||||||
exec=%s "%%u"
|
exec=%s "%%u"
|
||||||
protocol=xmpp
|
protocol=xmpp
|
||||||
|
@ -673,7 +674,9 @@ deleting=false
|
||||||
icon=gajim
|
icon=gajim
|
||||||
Description=xmpp
|
Description=xmpp
|
||||||
''' % command)
|
''' % command)
|
||||||
f.close()
|
f.close()
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import gconf
|
import gconf
|
||||||
|
|
Loading…
Reference in New Issue