@abmorris commented on this pull request.
> - load_dialog_prefs(config);
- load_ui_prefs(config);
- project_load_prefs(config);
- configuration_load_session_files(config, TRUE);
-
+ switch (payload)
+ {
+ case PREFERENCES:
+ load_dialog_prefs(config);
+ load_ui_prefs(config);
+ project_load_prefs(config);
+ break;
+ case SESSION:
+ configuration_load_session_files(config, TRUE);
+ break;
+ }
/* this signal can be used e.g. to delay building UI elements until
settings have been read */
g_signal_emit_by_name(geany_object, "load-settings", config);
Added in e406c69f (also fixed the "double vision" document pane bug). I'll
leave this unresolved for you to check over the diff.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2776#discussion_r607104860