Show a busy cursor while deleting an account, in case the deletion

takes a while.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15650 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
David Hampton 2007-02-23 03:53:08 +00:00
parent 069c21bcfe
commit 6357b489a8

View File

@ -1037,6 +1037,7 @@ gnc_plugin_page_account_tree_cmd_delete_account (GtkAction *action, GncPluginPag
gtk_widget_destroy(dialog);
if (GTK_RESPONSE_ACCEPT == response) {
gnc_set_busy_cursor(NULL, TRUE);
gnc_suspend_gui_refresh ();
xaccAccountBeginEdit (account);
if (NULL != daa) {
@ -1064,6 +1065,7 @@ gnc_plugin_page_account_tree_cmd_delete_account (GtkAction *action, GncPluginPag
*/
xaccAccountDestroy (account);
gnc_resume_gui_refresh ();
gnc_unset_busy_cursor(NULL);
}
}
g_free(acct_name);