[Github-comments] [geany/geany] Save main and project configuration whenever documents are opened/closed (#2114)

elextr notifications at xxxxx
Sun Jun 30 11:53:37 UTC 2019


elextr commented on this pull request.



> @@ -1313,11 +1316,47 @@ void configuration_apply_settings(void)
 }
 
 
+static gboolean save_configuration_cb(gpointer data)
+{
+	configuration_save();

> "not always"

On further consideration since any project action closes one set of files and opens another (even if they are the same files) there will be file open/close signals in all cases except the corner case where no files are open before and after the project open/close, so don't worry about it I think.

-- 
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/2114#discussion_r298830558
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190630/005af307/attachment.html>


More information about the Github-comments mailing list