<blockquote>
<p>or is it reloaded anew every time the Preferences dialog is re-opened?</p>
</blockquote>
<p>Yes, in function <code>prefs_init_dialog()</code> in file <code>prefs.c</code> the dialog is synced to the global value:</p>
<div class="highlight highlight-source-c"><pre><span class="pl-en">gtk_toggle_button_set_active</span>(GTK_TOGGLE_BUTTON(widget), project_prefs.use_project_session_files);</pre></div>
<p>Also, the Workbench plugin is only temporarily setting the value to <code>FALSE</code> and then restores the old value.</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/2234?email_source=notifications&email_token=AAIOWJZ6YJYDBZ5DLK2UHU3QCWZYRA5CNFSM4IHNIU32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3PR6XI#issuecomment-517939037">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ5RHWR4M6JRUIL6QTLQCWZYRANCNFSM4IHNIU3Q">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ7VXQVWZP7IYAF4QBDQCWZYRA5CNFSM4IHNIU32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3PR6XI.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/2234?email_source=notifications\u0026email_token=AAIOWJZ6YJYDBZ5DLK2UHU3QCWZYRA5CNFSM4IHNIU32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3PR6XI#issuecomment-517939037",
"url": "https://github.com/geany/geany/pull/2234?email_source=notifications\u0026email_token=AAIOWJZ6YJYDBZ5DLK2UHU3QCWZYRA5CNFSM4IHNIU32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3PR6XI#issuecomment-517939037",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>