Bug#412442: initialize "display negative amounts in red" option correctly. Patch from Mike Alexander <mta@umich.edu>.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15671 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Joshua Sled 2007-02-27 02:56:23 +00:00
parent b0d1f0d6a6
commit d8c63c8419

View File

@ -1902,6 +1902,10 @@ gnc_split_register_model_add_hooks (gpointer unused)
gnc_gconf_general_register_cb(KEY_NEGATIVE_IN_RED,
gnc_split_register_colorize_negative,
NULL);
/* Get the initial value */
use_red_for_negative = gnc_gconf_get_bool(GCONF_GENERAL,
KEY_NEGATIVE_IN_RED,
NULL);
return NULL;
}