[Gnucash-changes] r13876 - gnucash/trunk - Load the user config
earlier in startup. Fixes the missing custom
David Hampton
hampton at cvs.gnucash.org
Sat Apr 29 03:25:53 EDT 2006
Author: hampton
Date: 2006-04-29 03:25:53 -0400 (Sat, 29 Apr 2006)
New Revision: 13876
Trac: http://svn.gnucash.org/trac/changeset/13876
Modified:
gnucash/trunk/ChangeLog
gnucash/trunk/src/bin/gnucash-bin.c
Log:
Load the user config earlier in startup. Fixes the missing custom
report problem #338668.
Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog 2006-04-29 06:53:49 UTC (rev 13875)
+++ gnucash/trunk/ChangeLog 2006-04-29 07:25:53 UTC (rev 13876)
@@ -1,5 +1,8 @@
2006-04-29 David Hampton <hampton at employees.org>
+ * src/bin/gnucash-bin.c: Load the user config earlier in startup.
+ Fixes the missing custom report problem #338668.
+
* src/register/register-gnome/gnucash-sheet.c: Lower the minimum
required width of the register. This does affect the size
constraint imposed by the register summary bar.
Modified: gnucash/trunk/src/bin/gnucash-bin.c
===================================================================
--- gnucash/trunk/src/bin/gnucash-bin.c 2006-04-29 06:53:49 UTC (rev 13875)
+++ gnucash/trunk/src/bin/gnucash-bin.c 2006-04-29 07:25:53 UTC (rev 13876)
@@ -428,6 +428,12 @@
load_gnucash_modules();
+ /* Load the config before starting up the gui. This insures that
+ * custom reports have been read into memory before the Reports
+ * menu is created. */
+ load_system_config();
+ load_user_config();
+
/* Setting-up the report menu must come after the module
loading but before the gui initialization. */
scm_c_use_module("gnucash report report-gnome");
@@ -441,8 +447,6 @@
gnc_log_default();
qof_log_set_level_registered(loglevel);
- load_system_config();
- load_user_config();
gnc_hook_add_dangler(HOOK_UI_SHUTDOWN, (GFunc)gnc_file_quit, NULL);
scm_c_eval_string("(gnc:main)");
More information about the gnucash-changes
mailing list