From 49136faf406d9d35dd048b1460282527708f59b6 Mon Sep 17 00:00:00 2001 From: Jean-Marie Traissard Date: Thu, 16 Nov 2006 11:36:48 +0000 Subject: [PATCH] Disable emoticons when emoticons set has vanished --- src/gajim.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gajim.py b/src/gajim.py index ecb4ede30..de7e221f0 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -1668,7 +1668,8 @@ class Interface: if not os.path.exists(path): # It's maybe a user theme path = os.path.join(gajim.MY_EMOTS_PATH, emot_theme) - if not os.path.exists(path): # theme doesn't exist + if not os.path.exists(path): # theme doesn't exist, disable emoticons + gajim.config.set('emoticons_theme', '') return sys.path.append(path) import emoticons