From 17f891a22f978c41763c36a2311c546fd42f3afb Mon Sep 17 00:00:00 2001 From: Jean-Marie Traissard Date: Fri, 16 Jun 2006 17:47:47 +0000 Subject: [PATCH] Do nou use gtkspell on RECEIVED single messages. Fixes #2065. --- src/dialogs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dialogs.py b/src/dialogs.py index 7293f6c1b..169c54548 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -1262,7 +1262,7 @@ class SingleMessageWindow: self.to_entry.set_text(to) - if gajim.config.get('use_speller') and HAS_GTK_SPELL: + if gajim.config.get('use_speller') and HAS_GTK_SPELL and action == 'send': try: gtkspell.Spell(self.conversation_textview.tv) gtkspell.Spell(self.message_textview)