More spell-checking in single msg window; closes #1414

This commit is contained in:
Travis Shirk 2006-01-19 02:42:58 +00:00
parent c9a2c7565f
commit d46180751b
1 changed files with 1 additions and 0 deletions

View File

@ -1114,6 +1114,7 @@ class SingleMessageWindow:
if gajim.config.get('use_speller') and HAS_GTK_SPELL:
try:
gtkspell.Spell(self.conversation_textview)
gtkspell.Spell(self.message_textview)
except gobject.GError, msg:
#FIXME: add a ui for this use spell.set_language()
dialogs.ErrorDialog(unicode(msg), _('If that is not your language for which you want to highlight misspelled words, then please set your $LANG as appropriate. Eg. for French do export LANG=fr_FR or export LANG=fr_FR.UTF-8 in ~/.bash_profile or to make it global in /etc/profile.\n\nHighlighting misspelled words feature will not be used')).get_response()