Mercurial > pidgin
diff src/gtkdialogs.c @ 12061:29dc8fc0dd6c
[gaim-migrate @ 14356]
SF Patch #1351190 from Michael Hearn
"This allows Linux binaries of Gaim to operate even when
GTKspell is not available at runtime. Useful for the
autopackages."
I made a number of changes to this, so blame me first if it's busted.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 13 Nov 2005 00:19:12 +0000 |
parents | 62777e2a9f00 |
children | 4ccd528ffe6e |
line wrap: on
line diff
--- a/src/gtkdialogs.c Sun Nov 13 00:05:44 2005 +0000 +++ b/src/gtkdialogs.c Sun Nov 13 00:19:12 2005 +0000 @@ -370,9 +370,12 @@ #endif #ifdef USE_GTKSPELL - g_string_append(str, " <b>GtkSpell:</b> Enabled<br/>"); + if (gaim_gtk_gtkspell_is_available()) + g_string_append(str, " <b>GtkSpell:</b> Enabled<br/>"); + else + g_string_append(str, " <b>GtkSpell:</b> Disabled (Library Not Found)<br/>"); #else - g_string_append(str, " <b>GtkSpell:</b> Disabled<br/>"); + g_string_append(str, " <b>GtkSpell:</b> Disabled (Not Compiled)<br/>"); #endif #ifdef HAVE_GNUTLS