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
pull/2/head
Mike Alexander 13 years ago
parent 8be7d15e1d
commit 6c62a2da98

@ -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);

@ -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;

Loading…
Cancel
Save