r18984 - gnucash/trunk/src - Bug #525821 - new or edited account names should be checked for reserved chars like ":"

Geert Janssens gjanssens at code.gnucash.org
Tue Mar 30 18:19:39 EDT 2010


Author: gjanssens
Date: 2010-03-30 18:19:39 -0400 (Tue, 30 Mar 2010)
New Revision: 18984
Trac: http://svn.gnucash.org/trac/changeset/18984

Modified:
   gnucash/trunk/src/engine/Account.c
   gnucash/trunk/src/engine/Account.h
   gnucash/trunk/src/gnome-utils/dialog-preferences.c
   gnucash/trunk/src/gnome-utils/glade/preferences.glade
   gnucash/trunk/src/gnome-utils/gnc-file.c
Log:
Bug #525821 - new or edited account names should be checked for reserved chars like ":"
This patch checks if the separator character is used in account names when loading
a data file, or when changing the separator character in the preferences.
If the separator character is incompatible with some account names, a warning
dialog box is popped up explaining the situation. This dialog also lists the
violating account names.
Additionally, the preferences dialog will show a warning sign as long as the separator
clashes with some account names. The tooltip for this sign will also display the
violating account names.



More information about the gnucash-patches mailing list