From d9dd7a054c8552440e74abfd44b5eee81d0ffa83 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Sat, 21 Jan 2006 10:01:20 +0000 Subject: [PATCH] expose logic even better --- src/gtkgui_helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gtkgui_helpers.py b/src/gtkgui_helpers.py index 1d1dcc03d..668f6fea3 100644 --- a/src/gtkgui_helpers.py +++ b/src/gtkgui_helpers.py @@ -515,7 +515,7 @@ 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 path_to_kde_file and not os.path.exists(path_to_kde_file): + elif path_to_kde_file is not None and not os.path.exists(path_to_kde_file): # only the first time (KDE) we_set = True else: