changeset 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 dc33b3b475c2
children aba3000cc50a
files src/gtknotify.c
diffstat 1 files changed, 2 insertions(+), 6 deletions(-) [+]
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;