<p><b>@ntrel</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/geany/geany/pull/2114#discussion_r290675990">src/keyfile.c</a>:</p>
<pre style='color:#555'>>  void configuration_init(void)
 {
        keyfile_groups = g_ptr_array_new();
        pref_groups = g_ptr_array_new();
        init_pref_groups();
+
+       g_signal_connect(geany_object, "document-new", G_CALLBACK(document_list_changed_cb), NULL);
+       g_signal_connect(geany_object, "document-open", G_CALLBACK(document_list_changed_cb), NULL);
+       g_signal_connect(geany_object, "document-save", G_CALLBACK(document_list_changed_cb), NULL);
</pre>
<p>Why is document-new connected to? If there's no file yet it won't affect the session.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/2114?email_source=notifications&email_token=AAIOWJYLIGJDQNMHNGOJPXLPY6JALA5CNFSM4HCD7YRKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB2UIUIQ#discussion_r290675990">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJZHT3H6J5EVI5FAMFDPY6JALANCNFSM4HCD7YRA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ4TKC4MUDYQPUYTMR3PY6JALA5CNFSM4HCD7YRKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB2UIUIQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2114?email_source=notifications\u0026email_token=AAIOWJYLIGJDQNMHNGOJPXLPY6JALA5CNFSM4HCD7YRKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB2UIUIQ#discussion_r290675990",
"url": "https://github.com/geany/geany/pull/2114?email_source=notifications\u0026email_token=AAIOWJYLIGJDQNMHNGOJPXLPY6JALA5CNFSM4HCD7YRKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB2UIUIQ#discussion_r290675990",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>