Init settings before creating prefs page, not after
parent
8ea782afeb
commit
aa6131e476
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue