changeset 2836:754bb84d8776

[gaim-migrate @ 2849] relives warlike academia committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 02 Dec 2001 22:36:32 +0000
parents d8e67ff8022f
children 79e6b760265b
files src/prefs.c
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/prefs.c	Sun Dec 02 20:42:30 2001 +0000
+++ b/src/prefs.c	Sun Dec 02 22:36:32 2001 +0000
@@ -2366,7 +2366,7 @@
 {
 	GtkWidget *vbox;
 	GtkWidget *hpaned;
-	GtkWidget *scroll;
+	/* GtkWidget *scroll; */
 	GtkWidget *container;
 	GtkWidget *hbox;
 	GtkWidget *close;
@@ -2393,18 +2393,22 @@
 	gtk_box_pack_start(GTK_BOX(vbox), hpaned, TRUE, TRUE, 0);
 	gtk_widget_show(hpaned);
 
+	/*
 	scroll = gtk_scrolled_window_new(NULL, NULL);
 	gtk_paned_pack1(GTK_PANED(hpaned), scroll, FALSE, FALSE);
 	gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scroll), GTK_POLICY_NEVER, GTK_POLICY_NEVER);
 	gtk_widget_set_usize(scroll, 125, -1);
 	gtk_widget_show(scroll);
+	*/
 
 	preftree = gtk_ctree_new(1, 0);
 	gtk_ctree_set_line_style(GTK_CTREE(preftree), GTK_CTREE_LINES_SOLID);
 	gtk_ctree_set_expander_style(GTK_CTREE(preftree), GTK_CTREE_EXPANDER_TRIANGLE);
 	gtk_clist_set_reorderable(GTK_CLIST(preftree), FALSE);
-	gtk_container_add(GTK_CONTAINER(scroll), preftree);
+	/* gtk_container_add(GTK_CONTAINER(scroll), preftree); */
+	gtk_paned_pack1(GTK_PANED(hpaned), preftree, FALSE, FALSE);
 	gtk_signal_connect(GTK_OBJECT(preftree), "tree_select_row", GTK_SIGNAL_FUNC(try_me), NULL);
+	gtk_widget_set_usize(preftree, 125, -1);
 	gtk_widget_show(preftree);
 
 	container = gtk_frame_new(NULL);