r14760 - gnucash/branches/2.0 - Maintain the account hierarchy when reparenting the descendants of a
Derek Atkins
warlord at cvs.gnucash.org
Mon Aug 28 23:28:05 EDT 2006
Author: warlord
Date: 2006-08-28 23:28:04 -0400 (Mon, 28 Aug 2006)
New Revision: 14760
Trac: http://svn.gnucash.org/trac/changeset/14760
Modified:
gnucash/branches/2.0/
gnucash/branches/2.0/ChangeLog
gnucash/branches/2.0/src/gnome/gnc-plugin-page-account-tree.c
Log:
Maintain the account hierarchy when reparenting the descendants of a
deleted account.
Merge from r14700.
Property changes on: gnucash/branches/2.0
___________________________________________________________________
Name: svk:merge
- d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/branches/2.0:13187
+ d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/branches/2.0:13188
Modified: gnucash/branches/2.0/ChangeLog
===================================================================
--- gnucash/branches/2.0/ChangeLog 2006-08-29 03:27:53 UTC (rev 14759)
+++ gnucash/branches/2.0/ChangeLog 2006-08-29 03:28:04 UTC (rev 14760)
@@ -1,10 +1,8 @@
-2006-08-19 David Hampton <hampton at employees.org>
+2006-08-20 David Hampton <hampton at employees.org>
- * src/gnome/gnucash-desktop*: Update so that bug-buddy 2.16 will
- still allow you to file bugs against gnucash.
+ * src/gnome/gnc-plugin-page-account-tree.c: Maintain the account
+ hierarchy when reparenting the descendants of a deleted account.
- * src/engine/Account.c: Add missing call to xaccAccountBeginEdit.
-
2006-08-18 David Hampton <hampton at employees.org>
* src/gnome/gnucash-desktop*: Update so that bug-buddy 2.16 will
Modified: gnucash/branches/2.0/src/gnome/gnc-plugin-page-account-tree.c
===================================================================
--- gnucash/branches/2.0/src/gnome/gnc-plugin-page-account-tree.c 2006-08-29 03:27:53 UTC (rev 14759)
+++ gnucash/branches/2.0/src/gnome/gnc-plugin-page-account-tree.c 2006-08-29 03:28:04 UTC (rev 14760)
@@ -1095,7 +1095,7 @@
GList *acct_list, *ptr;
xaccAccountBeginEdit (daa);
- acct_list = xaccGroupGetSubAccounts(children);
+ acct_list = g_list_copy(xaccGroupGetAccountList(children));
for (ptr = acct_list; ptr; ptr = g_list_next(ptr))
xaccAccountInsertSubAccount (daa, ptr->data);
g_list_free(acct_list);
More information about the gnucash-changes
mailing list