2001-06-08 Dave Peticolas <dave@krondo.com>

* src/gnome/new-user-callbacks.c
	add more suspend & resume calls for other big changes


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4552 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas 2001-06-09 00:40:48 +00:00
parent bde82e7ddb
commit e8e153e310
2 changed files with 8 additions and 1 deletions

View File

@ -2,7 +2,8 @@
* src/gnome/new-user-callbacks.c
(on_chooseAccountTypesPage_prepare): suspend & resume gui
refreshes while loading accounts
refreshes while loading accounts.
add more suspend & resume calls for other big changes
* src/gnome/new-user-funs.c (gnc_create_newUserDialog): make clist
column titles passive

View File

@ -101,6 +101,8 @@ on_newUserDruidFinishPage_finish (GnomeDruidPage *gnomedruidpage,
gpointer arg1,
gpointer user_data)
{
gnc_suspend_gui_refresh ();
if (our_final_group)
xaccGroupForEachAccount (our_final_group, starting_balance_helper,
NULL, TRUE);
@ -116,6 +118,8 @@ on_newUserDruidFinishPage_finish (GnomeDruidPage *gnomedruidpage,
xaccGroupConcatGroup(gnc_book_get_group(gncGetCurrentBook()),
our_final_group);
}
gnc_resume_gui_refresh ();
}
static void
@ -501,8 +505,10 @@ on_finalAccountDruidPage_prepare (GnomeDruidPage *gnomedruidpage,
actlist = g_slist_append(actlist, gtk_clist_get_row_data(clist, row));
}
gnc_suspend_gui_refresh ();
delete_our_final_group();
our_final_group = gnc_new_user_merge_groups(actlist);
gnc_resume_gui_refresh ();
gnc_new_user_insert_final_accounts(GTK_CTREE(ctree), our_final_group);