Deuglify the account selection dialog for the account search a little bit.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16097 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Andreas Köhler 2007-05-18 15:14:01 +00:00
parent c8a63e3c73
commit 12d95d5262

View File

@ -237,6 +237,8 @@ button_clicked (GtkButton *button, GNCSearchAccount *fi)
/* Create the account scroller and put the tree in it */
accounts_scroller = gtk_scrolled_window_new (NULL, NULL);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW(accounts_scroller),
GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
gtk_container_add(GTK_CONTAINER(accounts_scroller), account_tree);
gtk_widget_set_size_request(GTK_WIDGET(accounts_scroller), 300, 300);
@ -254,7 +256,7 @@ button_clicked (GtkButton *button, GNCSearchAccount *fi)
/* Put the dialog together */
gtk_box_pack_start ((GtkBox *)dialog->vbox, label,
TRUE, TRUE, 3);
FALSE, FALSE, 3);
gtk_box_pack_start ((GtkBox *)dialog->vbox, accounts_scroller,
TRUE, TRUE, 3);