From: <rl...@us...> - 2006-10-31 01:01:11
|
Revision: 17633 http://svn.sourceforge.net/gaim/?rev=17633&view=rev Author: rlaager Date: 2006-10-30 17:01:01 -0800 (Mon, 30 Oct 2006) Log Message: ----------- 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. Modified Paths: -------------- trunk/gtk/gtkconv.c Modified: trunk/gtk/gtkconv.c =================================================================== --- trunk/gtk/gtkconv.c 2006-10-31 00:37:34 UTC (rev 17632) +++ trunk/gtk/gtkconv.c 2006-10-31 01:01:01 UTC (rev 17633) @@ -276,9 +276,16 @@ 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) { gdk_color_parse(gaim_prefs_get_string("/gaim/gtk/conversations/fgcolor"), This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |