Connect config change notifications after creating the first browser
This commit is contained in:
parent
582026fd1b
commit
13b1c9462b
1 changed files with 3 additions and 4 deletions
|
@ -1193,6 +1193,9 @@ midori_load_session (gpointer data)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
browser = midori_app_create_browser (app);
|
browser = midori_app_create_browser (app);
|
||||||
|
g_signal_connect_after (katze_object_get_object (app, "settings"), "notify",
|
||||||
|
G_CALLBACK (settings_notify_cb), app);
|
||||||
|
|
||||||
config_file = build_config_filename ("session.old.xbel");
|
config_file = build_config_filename ("session.old.xbel");
|
||||||
if (g_access (config_file, F_OK) == 0)
|
if (g_access (config_file, F_OK) == 0)
|
||||||
{
|
{
|
||||||
|
@ -1856,10 +1859,6 @@ main (int argc,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
katze_assign (config_file, build_config_filename ("config"));
|
|
||||||
g_signal_connect_after (settings, "notify",
|
|
||||||
G_CALLBACK (settings_notify_cb), app);
|
|
||||||
|
|
||||||
katze_assign (config_file, build_config_filename ("search"));
|
katze_assign (config_file, build_config_filename ("search"));
|
||||||
if (1)
|
if (1)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue