[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:03:25 UTC 2021
@abmorris commented on this pull request.
> {
GKeyFile *config = g_key_file_new();
- gchar *configfile = g_build_filename(app->configdir, "geany.conf", NULL);
+ gchar *configfile = g_build_filename(app->configdir, filename, NULL);
gchar *data;
g_key_file_load_from_file(config, configfile, G_KEY_FILE_NONE, NULL);
/* this signal can be used e.g. to prepare any settings before Stash code reads them below */
g_signal_emit_by_name(geany_object, "save-settings", config);
Added in e406c69f (also fixed the "double vision" document pane bug). Like with the "load-settings" case, 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_r607105107
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210405/b26ff71d/attachment.htm>
More information about the Github-comments
mailing list