<p><span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #1363.">Fixes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="200493587" data-permission-text="Issue title is private" data-url="https://github.com/geany/geany/issues/1363" data-hovercard-type="issue" data-hovercard-url="/geany/geany/issues/1363/hovercard" href="https://github.com/geany/geany/issues/1363">#1363</a>.</p>
<p>Similar to <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="291890320" data-permission-text="Issue title is private" data-url="https://github.com/geany/geany/issues/1750" data-hovercard-type="pull_request" data-hovercard-url="/geany/geany/pull/1750/hovercard" href="https://github.com/geany/geany/pull/1750">#1750</a>, this disables pref widgets that are overridden by an open project. (It doesn't disable the frame label). Instead of editing a translatable label, this adds an info image next to the frame/widget label. A tooltip is set to show when the mouse is over the label or the image. This doesn't try to change the tooltip for disabled widgets, I didn't find a way to implement that easily and cleanly.</p>
<p><a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/1107820/65428866-103ec100-de0d-11e9-91b1-dc038082b1ee.png"><img src="https://user-images.githubusercontent.com/1107820/65428866-103ec100-de0d-11e9-91b1-dc038082b1ee.png" alt="image" style="max-width:100%;"></a></p>
<p>This approach can also be used to indicate which prefs are overridden by document-specific settings.</p>
<p>ATM this only affects the 'Saving files' prefs, but I can add the others.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/geany/geany/pull/2316'>https://github.com/geany/geany/pull/2316</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Prefs dialog: Disable overridden pref widgets when project is open</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2316/files#diff-0">data/geany.glade</a>
    (32)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2316/files#diff-1">src/prefs.c</a>
    (9)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/geany/geany/pull/2316.patch'>https://github.com/geany/geany/pull/2316.patch</a></li>
  <li><a href='https://github.com/geany/geany/pull/2316.diff'>https://github.com/geany/geany/pull/2316.diff</a></li>
</ul>

<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/2316?email_source=notifications&email_token=AAIOWJ66PMFW2C6CHC3RSGDQLDA2PA5CNFSM4IZK5SSKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HNBFZRQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ23RRY32CVRKYA2HO3QLDA2PANCNFSM4IZK5SSA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJY2JF4EZGVFE7DXBYDQLDA2PA5CNFSM4IZK5SSKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HNBFZRQ.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/2316?email_source=notifications\u0026email_token=AAIOWJ66PMFW2C6CHC3RSGDQLDA2PA5CNFSM4IZK5SSKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HNBFZRQ",
"url": "https://github.com/geany/geany/pull/2316?email_source=notifications\u0026email_token=AAIOWJ66PMFW2C6CHC3RSGDQLDA2PA5CNFSM4IZK5SSKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HNBFZRQ",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>