mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
From Jeremy Collins Aug 3, 99 01:43:55 am -0500
Subject: Display fix ( Gnome/Gtk version ) Here is a fix for the display bug people were reporting earlier. I am not sure how this code got removed but I am fairly sure it worked a week or so ago. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1888 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
792a6ed054
commit
8aa49e6679
@ -533,14 +533,19 @@ gnc_ui_refresh_tree()
|
||||
{
|
||||
GtkCTree *ctree;
|
||||
GtkCTreeNode *parent;
|
||||
AccountGroup *accts;
|
||||
|
||||
parent = gtk_object_get_data(GTK_OBJECT(app), "ctree_parent");
|
||||
ctree = gtk_object_get_data(GTK_OBJECT(app), "ctree");
|
||||
|
||||
accts = gncGetCurrentGroup();
|
||||
|
||||
gtk_clist_freeze(GTK_CLIST(ctree));
|
||||
|
||||
gtk_ctree_pre_recursive(ctree, parent, (GtkCTreeFunc)tree_set_row_text, NULL);
|
||||
|
||||
gnc_ui_acct_ctree_fill(ctree, parent, accts);
|
||||
|
||||
gtk_clist_thaw(GTK_CLIST(ctree));
|
||||
gtk_clist_columns_autosize(GTK_CLIST(ctree));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user