[Github-comments] [geany/geany] WIP: Split geany.conf into geany.conf (preferences) and session.conf (recent files and VTE session) (#2776)
Adam Morris
notifications at xxxxx
Mon Apr 5 14:02:54 UTC 2021
@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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210405/adb92f59/attachment.htm>
More information about the Github-comments
mailing list