diff src/gtkconv.c @ 7778:3db18c16f573

[gaim-migrate @ 8423] This is half-complete, but I want to make sure I commit it before I really totally screw it up and have no clue where it went sour. You can now copy from and paste to a gtkimhtml and retain formatting... to some extent. It's really easy to break. The parser isn't finished yet, so if some things are really important to you, like, say, links, don't use this. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sat, 06 Dec 2003 21:32:20 +0000
parents 9d6ba1c44cb7
children 824add06abde
line wrap: on
line diff
--- a/src/gtkconv.c	Sat Dec 06 21:04:15 2003 +0000
+++ b/src/gtkconv.c	Sat Dec 06 21:32:20 2003 +0000
@@ -396,19 +396,7 @@
 		}
 
 		if (gaim_prefs_get_bool("/gaim/gtk/conversations/use_custom_size")) {
-			int i = 3;
-			if (gaim_prefs_get_int("/gaim/gtk/conversations/font_size") < 3) {
-				while (gaim_prefs_get_int("/gaim/gtk/conversations/font_size") < i) {
-					gtk_imhtml_font_shrink(GTK_IMHTML(c->entry));
-					i--;
-				}
-			}
-
-			while (gaim_prefs_get_int("/gaim/gtk/conversations/font_size") > i) {
-				gtk_imhtml_font_grow(GTK_IMHTML(c->entry));
-				i++;
-			}
-			
+		        gtk_imhtml_font_set_size(GTK_IMHTML(c->entry), gaim_prefs_get_int("/gaim/gtk/conversations/font_size"));
 		}
 
 		if (gaim_prefs_get_bool("/gaim/gtk/conversations/use_custom_fgcolor")) {