changeset 4949:e8c0b116a9a3

[gaim-migrate @ 5283] This is about right, more or less. Chats are fixed! committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 01 Apr 2003 16:57:05 +0000
parents 8896e0894112
children e81625009ab3
files src/gtkconv.c
diffstat 1 files changed, 23 insertions(+), 22 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkconv.c	Tue Apr 01 13:16:23 2003 +0000
+++ b/src/gtkconv.c	Tue Apr 01 16:57:05 2003 +0000
@@ -2931,6 +2931,29 @@
 		gtk_widget_show(gtkchat->topic_text);
 	}
 
+	/* Build the toolbar. */
+	gtkconv->toolbar.toolbar = build_conv_toolbar(conv);
+	gtk_box_pack_start(GTK_BOX(vbox), gtkconv->toolbar.toolbar,
+					   FALSE, FALSE, 0);
+
+	/* Setup the entry widget. */
+	frame = gtk_frame_new(NULL);
+	gtk_frame_set_shadow_type(GTK_FRAME(frame), GTK_SHADOW_IN);
+	gtk_box_pack_start(GTK_BOX(vbox), frame, TRUE, TRUE, 0);
+	gtk_widget_show(frame);
+
+	gtkconv->entry_buffer = gtk_text_buffer_new(NULL);
+	g_object_set_data(G_OBJECT(gtkconv->entry_buffer), "user_data", conv);
+	gtkconv->entry = gtk_text_view_new_with_buffer(gtkconv->entry_buffer);
+
+	gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(gtkconv->entry), GTK_WRAP_WORD);
+	gtk_widget_set_size_request(gtkconv->entry, -1,
+								MAX(buddy_chat_size.entry_height, 25));
+
+	vbox = gtk_vbox_new(FALSE, 5);
+	gtk_paned_pack2(GTK_PANED(vpaned), vbox, FALSE, FALSE);
+	gtk_widget_show(vbox);
+
 	/* Setup the horizontal pane. */
 	hpaned = gtk_hpaned_new();
 	gtk_box_pack_start(GTK_BOX(vbox), hpaned, TRUE, TRUE, 5);
@@ -3056,28 +3079,6 @@
 
 	gtkconv->info = button;
 
-	/* Build the toolbar. */
-	vbox = gtk_vbox_new(FALSE, 5);
-	gtk_paned_pack2(GTK_PANED(vpaned), vbox, FALSE, FALSE);
-	gtk_widget_show(vbox);
-
-	gtkconv->toolbar.toolbar = build_conv_toolbar(conv);
-	gtk_box_pack_start(GTK_BOX(vbox), gtkconv->toolbar.toolbar,
-					   FALSE, FALSE, 0);
-
-	/* Setup the entry widget. */
-	frame = gtk_frame_new(NULL);
-	gtk_frame_set_shadow_type(GTK_FRAME(frame), GTK_SHADOW_IN);
-	gtk_box_pack_start(GTK_BOX(vbox), frame, TRUE, TRUE, 0);
-	gtk_widget_show(frame);
-
-	gtkconv->entry_buffer = gtk_text_buffer_new(NULL);
-	g_object_set_data(G_OBJECT(gtkconv->entry_buffer), "user_data", conv);
-	gtkconv->entry = gtk_text_view_new_with_buffer(gtkconv->entry_buffer);
-
-	gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(gtkconv->entry), GTK_WRAP_WORD);
-	gtk_widget_set_size_request(gtkconv->entry, -1,
-								MAX(buddy_chat_size.entry_height, 25));
 
 	/* Connect the signal handlers. */
 	g_signal_connect_swapped(G_OBJECT(gtkconv->entry), "key_press_event",