Mercurial > pidgin.yaz
diff src/gtkutils.c @ 12651:a74cb5952db4
[gaim-migrate @ 14992]
Activate a GtkSpell on the status box. If your message contains a word
that GtkSpell doesn't recognize then it will have red squiggles underneath
it FOREVER. Is that going to annoy people?
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 25 Dec 2005 01:36:31 +0000 |
parents | 3169cd6727ad |
children | ee0c8c446eef |
line wrap: on
line diff
--- a/src/gtkutils.c Sat Dec 24 20:10:25 2005 +0000 +++ b/src/gtkutils.c Sun Dec 25 01:36:31 2005 +0000 @@ -146,8 +146,10 @@ gtk_imhtml_set_editable(GTK_IMHTML(imhtml), editable); gtk_imhtml_set_format_functions(GTK_IMHTML(imhtml), GTK_IMHTML_ALL ^ GTK_IMHTML_IMAGE); gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(imhtml), GTK_WRAP_WORD_CHAR); +#ifdef USE_GTKSPELL if (editable && gaim_prefs_get_bool("/gaim/gtk/conversations/spellcheck")) gaim_gtk_setup_gtkspell(GTK_TEXT_VIEW(imhtml)); +#endif gtk_widget_show(imhtml); if (editable) {