Mercurial > pidgin.yaz
diff src/conversation.c @ 2460:049822b93239
[gaim-migrate @ 2473]
don't turn on ispell unless you want it.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 09 Oct 2001 19:18:41 +0000 |
parents | cbac74881be9 |
children | e73ca8d8d358 |
line wrap: on
line diff
--- a/src/conversation.c Tue Oct 09 19:15:13 2001 +0000 +++ b/src/conversation.c Tue Oct 09 19:18:41 2001 +0000 @@ -60,6 +60,8 @@ #include "pixmaps/mrt.xpm" #include "pixmaps/download.xpm" +static gchar *ispell_cmd[] = { "ispell", "-a", NULL }; + int state_lock = 0; GdkPixmap *dark_icon_pm = NULL; @@ -2323,6 +2325,9 @@ GSList *con = connections; struct gaim_connection *gc; + if (convo_options & OPT_CONVO_CHECK_SPELLING) + gtkspell_start(NULL, ispell_cmd); + while (cnv) { c = (struct conversation *)cnv->data; if (convo_options & OPT_CONVO_CHECK_SPELLING) @@ -2345,6 +2350,9 @@ } con = con->next; } + + if (!(convo_options & OPT_CONVO_CHECK_SPELLING)) + gtkspell_stop(); } void toggle_timestamps()