Init settings before creating prefs page, not after

master
Yevgen Muntyan 2006-04-16 05:10:49 -05:00
parent 8ea782afeb
commit aa6131e476
1 changed files with 2 additions and 2 deletions

View File

@ -111,6 +111,8 @@ GtkWidget *moo_term_prefs_page_new (void)
{
GtkWidget *page;
_moo_term_init_settings ();
page = moo_prefs_dialog_page_new_from_xml ("Terminal",
MOO_STOCK_TERMINAL,
NULL, MOO_TERM_PREFS_GLADE_UI,
@ -118,8 +120,6 @@ GtkWidget *moo_term_prefs_page_new (void)
"page",
MOO_TERM_PREFS_PREFIX);
_moo_term_init_settings ();
return page;
}