Put the account tree into a scrolled window

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6973 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins 2002-06-16 22:27:36 +00:00
parent 437cc9b14a
commit b1f316cd2a
2 changed files with 11 additions and 2 deletions

View File

@ -237,7 +237,7 @@ new_tax_table_dialog (TaxTableWindow *ttw, gboolean new_table,
gnc_amount_edit_set_fraction (GNC_AMOUNT_EDIT (widget), 100000);
gtk_box_pack_start (GTK_BOX (box), widget, TRUE, TRUE, 0);
box = glade_xml_get_widget (xml, "account_frame");
box = glade_xml_get_widget (xml, "acct_window");
ntt->acct_tree = widget = gnc_account_tree_new ();
gtk_clist_column_titles_hide (GTK_CLIST (widget));
gnc_account_tree_hide_all_but_name (GNC_ACCOUNT_TREE (widget));

View File

@ -574,7 +574,16 @@ Percent (%)
</child>
<widget>
<class>Placeholder</class>
<class>GtkScrolledWindow</class>
<name>acct_window</name>
<hscrollbar_policy>GTK_POLICY_AUTOMATIC</hscrollbar_policy>
<vscrollbar_policy>GTK_POLICY_AUTOMATIC</vscrollbar_policy>
<hupdate_policy>GTK_UPDATE_CONTINUOUS</hupdate_policy>
<vupdate_policy>GTK_UPDATE_CONTINUOUS</vupdate_policy>
<widget>
<class>Placeholder</class>
</widget>
</widget>
</widget>
</widget>