fix a tb on possibly_set_gajim_as_xmpp_handler

This commit is contained in:
Nikos Kouremenos 2006-01-21 10:00:18 +00:00
parent 0d01680d55
commit 5bb85f4b9c

View file

@ -515,7 +515,8 @@ def possibly_set_gajim_as_xmpp_handler():
elif client.get_string('/desktop/gnome/url-handlers/xmpp/command') is None: elif client.get_string('/desktop/gnome/url-handlers/xmpp/command') is None:
# only the first time (GNOME/GCONF) # only the first time (GNOME/GCONF)
we_set = True we_set = True
elif not os.path.exists(path_to_kde_file): # only the first time (KDE) elif path_to_kde_file or not os.path.exists(path_to_kde_file):
# only the first time (KDE)
we_set = True we_set = True
else: else:
we_set = False we_set = False