Fix r23732. By the time we get to inner_main it's too late to call gnc_prefs_init.

By then the main window has been created so it doesn't get hooked into the prefs system.
One symptom of this is that the "tab position" pref doesn't affect that window.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23734 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Mike Alexander 2014-01-21 05:04:18 +00:00
parent 8be7d15e1d
commit 6c62a2da98
2 changed files with 1 additions and 1 deletions

View File

@ -590,7 +590,6 @@ inner_main (void *closure, int argc, char **argv)
/* TODO: After some more guile-extraction, this should happen even
before booting guile. */
gnc_prefs_init ();
gnc_main_gui_init();
gnc_hook_add_dangler(HOOK_UI_SHUTDOWN, (GFunc)gnc_file_quit, NULL);

View File

@ -669,6 +669,7 @@ gnc_gui_init(void)
g_set_application_name(PACKAGE_NAME);
gnc_prefs_init();
gnc_show_splash_screen();
gnome_is_initialized = TRUE;