From 5bb85f4b9c25e298e574f5d1808cccf578ae4466 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Sat, 21 Jan 2006 10:00:18 +0000 Subject: [PATCH] fix a tb on possibly_set_gajim_as_xmpp_handler --- src/gtkgui_helpers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gtkgui_helpers.py b/src/gtkgui_helpers.py index 89cd77d98..56dd8c879 100644 --- a/src/gtkgui_helpers.py +++ b/src/gtkgui_helpers.py @@ -515,7 +515,8 @@ def possibly_set_gajim_as_xmpp_handler(): elif client.get_string('/desktop/gnome/url-handlers/xmpp/command') is None: # only the first time (GNOME/GCONF) 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 else: we_set = False