r15650 - gnucash/trunk/src/gnome - Show a busy cursor while deleting an account, in case the deletion
David Hampton
hampton at cvs.gnucash.org
Thu Feb 22 22:53:08 EST 2007
Author: hampton
Date: 2007-02-22 22:53:08 -0500 (Thu, 22 Feb 2007)
New Revision: 15650
Trac: http://svn.gnucash.org/trac/changeset/15650
Modified:
gnucash/trunk/src/gnome/gnc-plugin-page-account-tree.c
Log:
Show a busy cursor while deleting an account, in case the deletion
takes a while.
Modified: gnucash/trunk/src/gnome/gnc-plugin-page-account-tree.c
===================================================================
--- gnucash/trunk/src/gnome/gnc-plugin-page-account-tree.c 2007-02-23 03:42:11 UTC (rev 15649)
+++ gnucash/trunk/src/gnome/gnc-plugin-page-account-tree.c 2007-02-23 03:53:08 UTC (rev 15650)
@@ -1037,6 +1037,7 @@
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 @@
*/
xaccAccountDestroy (account);
gnc_resume_gui_refresh ();
+ gnc_unset_busy_cursor(NULL);
}
}
g_free(acct_name);
More information about the gnucash-changes
mailing list