# HG changeset patch # User Richard Laager # Date 1162256461 0 # Node ID b8a4f82bc24e4c85902ba260dd5b16d4ef260f38 # Parent be6b841cd1f48ace80f7e5e4f22e7c17d2b23335 [gaim-migrate @ 17633] Make the default_formatize() function not set the font size to the default size (3). If someone thinks I should separate that magical 3 value out of gtkconv (since it comes from gtkimhtml.c), let me know. I think that's more trouble than it's worth. committer: Tailor Script diff -r be6b841cd1f4 -r b8a4f82bc24e gtk/gtkconv.c --- a/gtk/gtkconv.c Tue Oct 31 00:37:34 2006 +0000 +++ b/gtk/gtkconv.c Tue Oct 31 01:01:01 2006 +0000 @@ -276,8 +276,15 @@ gaim_prefs_get_string("/gaim/gtk/conversations/font_face")); if (!(conv->features & GAIM_CONNECTION_NO_FONTSIZE)) - gtk_imhtml_font_set_size(GTK_IMHTML(c->entry), - gaim_prefs_get_int("/gaim/gtk/conversations/font_size")); + { + int size = gaim_prefs_get_int("/gaim/gtk/conversations/font_size"); + + /* 3 is the default. */ + if (size != 3) + { + gtk_imhtml_font_set_size(GTK_IMHTML(c->entry), size); + } + } if(strcmp(gaim_prefs_get_string("/gaim/gtk/conversations/fgcolor"), "") != 0) {