r23291 - gnucash/trunk/src - Prefs migration improvements

Geert Janssens gjanssens at code.gnucash.org
Wed Oct 16 11:22:07 EDT 2013


Author: gjanssens
Date: 2013-10-16 11:22:04 -0400 (Wed, 16 Oct 2013)
New Revision: 23291
Trac: http://svn.gnucash.org/trac/changeset/23291

Modified:
   gnucash/trunk/src/app-utils/gnc-gsettings.c
   gnucash/trunk/src/app-utils/make-prefs-migration-script.xsl
   gnucash/trunk/src/app-utils/migrate-prefs.scm
   gnucash/trunk/src/gnome/gschemas/org.gnucash.gschema.xml.in
Log:
Prefs migration improvements

- check if all parents of .gconf/apps/gnucash exist before attempting migration
- wrap guile parts in catch/throw handlers to prevent GnuCash from crashing
  if something goes wrong during the prefereces migration
- add more sanity checks and debugging information
- set flag after first successful migration to prevent future runs



More information about the gnucash-patches mailing list