comparison src/gtkconv.c @ 4409:0521eec12c33

[gaim-migrate @ 4682] This resize behavior is a lot more natural, I think. When you resize an IM vertically, the input area stays the same height, and the display part changes size. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Fri, 24 Jan 2003 05:37:26 +0000
parents a8249a5250b6
children c90039137172
comparison
equal deleted inserted replaced
4408:94bf204f837e 4409:0521eec12c33
2839 2839
2840 gtk_widget_show(gtkconv->imhtml); 2840 gtk_widget_show(gtkconv->imhtml);
2841 2841
2842 /* Build the right pane. */ 2842 /* Build the right pane. */
2843 lbox = gtk_vbox_new(FALSE, 5); 2843 lbox = gtk_vbox_new(FALSE, 5);
2844 gtk_paned_pack2(GTK_PANED(hpaned), lbox, TRUE, TRUE); 2844 gtk_paned_pack2(GTK_PANED(hpaned), lbox, FALSE, TRUE);
2845 gtk_widget_show(lbox); 2845 gtk_widget_show(lbox);
2846 2846
2847 /* Setup the label telling how many people are in the room. */ 2847 /* Setup the label telling how many people are in the room. */
2848 gtkchat->count = gtk_label_new(_("0 people in room")); 2848 gtkchat->count = gtk_label_new(_("0 people in room"));
2849 gtk_box_pack_start(GTK_BOX(lbox), gtkchat->count, FALSE, FALSE, 0); 2849 gtk_box_pack_start(GTK_BOX(lbox), gtkchat->count, FALSE, FALSE, 0);
2933 2933
2934 gtkconv->info = button; 2934 gtkconv->info = button;
2935 2935
2936 /* Build the toolbar. */ 2936 /* Build the toolbar. */
2937 vbox = gtk_vbox_new(FALSE, 5); 2937 vbox = gtk_vbox_new(FALSE, 5);
2938 gtk_paned_pack2(GTK_PANED(vpaned), vbox, TRUE, FALSE); 2938 gtk_paned_pack2(GTK_PANED(vpaned), vbox, FALSE, FALSE);
2939 gtk_widget_show(vbox); 2939 gtk_widget_show(vbox);
2940 2940
2941 gtkconv->toolbar.toolbar = build_conv_toolbar(conv); 2941 gtkconv->toolbar.toolbar = build_conv_toolbar(conv);
2942 gtk_box_pack_start(GTK_BOX(vbox), gtkconv->toolbar.toolbar, 2942 gtk_box_pack_start(GTK_BOX(vbox), gtkconv->toolbar.toolbar,
2943 FALSE, FALSE, 0); 2943 FALSE, FALSE, 0);
3001 gtk_paned_set_gutter_size(GTK_PANED(paned), 15); 3001 gtk_paned_set_gutter_size(GTK_PANED(paned), 15);
3002 gtk_widget_show(paned); 3002 gtk_widget_show(paned);
3003 3003
3004 /* Setup the top part of the pane. */ 3004 /* Setup the top part of the pane. */
3005 vbox = gtk_vbox_new(FALSE, 5); 3005 vbox = gtk_vbox_new(FALSE, 5);
3006 gtk_paned_pack1(GTK_PANED(paned), vbox, FALSE, TRUE); 3006 gtk_paned_pack1(GTK_PANED(paned), vbox, TRUE, TRUE);
3007 gtk_widget_show(vbox); 3007 gtk_widget_show(vbox);
3008 3008
3009 /* Setup the gtkimhtml widget. */ 3009 /* Setup the gtkimhtml widget. */
3010 gtkconv->sw = gtk_scrolled_window_new(NULL, NULL); 3010 gtkconv->sw = gtk_scrolled_window_new(NULL, NULL);
3011 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(gtkconv->sw), 3011 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(gtkconv->sw),