diff src/buddy_chat.c @ 1813:998a6a032874

[gaim-migrate @ 1823] decklin's default conversation size patch. we should have a thing to optionally set this based on the conversation window size, but that doesn't seem that important right now. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 06 May 2001 00:18:17 +0000
parents ba8f463744c0
children f15d449b3167
line wrap: on
line diff
--- a/src/buddy_chat.c	Sat May 05 22:27:51 2001 +0000
+++ b/src/buddy_chat.c	Sun May 06 00:18:17 2001 +0000
@@ -863,7 +863,7 @@
 	b->sw = sw;
 	gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);
 	gtk_paned_pack1(GTK_PANED(hpaned), sw, TRUE, TRUE);
-	gtk_widget_set_usize(sw, 320, 160);
+	gtk_widget_set_usize(sw, buddy_chat_size.width, buddy_chat_size.height);
 	gtk_widget_show(sw);
 
 	text = gtk_imhtml_new(NULL, NULL);
@@ -935,10 +935,7 @@
 	if (general_options & OPT_GEN_CHECK_SPELLING)
 		gtkspell_attach(GTK_TEXT(chatentry));
 	gtk_box_pack_start(GTK_BOX(vbox), chatentry, TRUE, TRUE, 0);
-	if (display_options & OPT_DISP_CHAT_BIG_ENTRY)
-		gtk_widget_set_usize(chatentry, 320, 50);
-	else
-		gtk_widget_set_usize(chatentry, 320, 25);
+	gtk_widget_set_usize(chatentry, buddy_chat_size.width, buddy_chat_size.entry_height);
 	gtk_window_set_focus(GTK_WINDOW(win), chatentry);
 	gtk_widget_show(chatentry);