Mercurial > pidgin.yaz
diff src/gtknotify.c @ 10497:e6b87f7e8988
[gaim-migrate @ 11789]
Use the unified formatting pref for gtkimhtml notification windows
(e.g. AIM get info results)
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 09 Jan 2005 20:05:08 +0000 |
parents | 911530134bf8 |
children | 776586d647e3 |
line wrap: on
line diff
--- a/src/gtknotify.c Sun Jan 09 19:16:40 2005 +0000 +++ b/src/gtknotify.c Sun Jan 09 20:05:08 2005 +0000 @@ -398,12 +398,8 @@ G_CALLBACK(formatted_input_cb), NULL); /* Add the text to the gtkimhtml */ - if (gaim_prefs_get_bool("/gaim/gtk/conversations/ignore_colors")) - options ^= GTK_IMHTML_NO_COLOURS; - if (gaim_prefs_get_bool("/gaim/gtk/conversations/ignore_fonts")) - options ^= GTK_IMHTML_NO_FONTS; - if (gaim_prefs_get_bool("/gaim/gtk/conversations/ignore_font_sizes")) - options ^= GTK_IMHTML_NO_SIZES; + if (gaim_prefs_get_bool("/gaim/gtk/conversations/ignore_formatting")) + options |= GTK_IMHTML_NO_COLOURS | GTK_IMHTML_NO_FONTS | GTK_IMHTML_NO_SIZES; options ^= GTK_IMHTML_NO_COMMENTS; options ^= GTK_IMHTML_NO_TITLE;