@@ -122,7 +123,12 @@ class ChatControlBase(MessageControl):
gtkspell.Spell(self.msg_textview)
exceptgobject.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()
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()
gajim.config.set('use_speller',False)
self.print_time_timeout_id=None
...
...
@@ -429,7 +435,8 @@ class ChatControlBase(MessageControl):