<p><strong>Merge <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="484050706" data-permission-text="Issue title is private" data-url="https://github.com/geany/geany/issues/2268" data-hovercard-type="pull_request" data-hovercard-url="/geany/geany/pull/2268/hovercard" href="https://github.com/geany/geany/pull/2268">#2268</a> before this pull</strong></p>
<ul>
<li>Whilst compiling, enable the <em>Next/Prev Error</em> menu items only when the first error is found. Before it enabled them for any compiler tab messages.</li>
<li>The above has been handled in build.c rather than msgwindow.c, as it has more build-related information (and these menu items are already handled there). This allows the <code>GeanyBuildFixedMenuItems</code> enum to be moved to build.c, as it doesn't need to be exposed elsewhere - this change depends on <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="484050706" data-permission-text="Issue title is private" data-url="https://github.com/geany/geany/issues/2268" data-hovercard-type="pull_request" data-hovercard-url="/geany/geany/pull/2268/hovercard" href="https://github.com/geany/geany/pull/2268">#2268</a>.</li>
<li>Once a build command is complete, <code>build_menu_update</code> is called - this pull makes that function only enable <em>Next/Prev Error</em> menu items when there actually were error lines.</li>
</ul>

<hr>

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

<h4>Commit Summary</h4>
<ul>
  <li>build.h: Move GBO_TO_* macros to build.c</li>
  <li>build.c: Only set next/prev error menu items sensitive on first error</li>
  <li>Move GeanyBuildFixedMenuItems enum to build.c</li>
  <li>build_menu_update: Only enable next/prev error items when errors found</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2269/files#diff-0">src/build.c</a>
    (112)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2269/files#diff-1">src/build.h</a>
    (42)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2269/files#diff-2">src/keybindings.c</a>
    (58)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2269/files#diff-3">src/msgwindow.c</a>
    (4)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/geany/geany/pull/2269.patch'>https://github.com/geany/geany/pull/2269.patch</a></li>
  <li><a href='https://github.com/geany/geany/pull/2269.diff'>https://github.com/geany/geany/pull/2269.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/2269?email_source=notifications&email_token=AAIOWJ4XD6GTKXV226T6N6LQF2VYFA5CNFSM4IOWKDOKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HG2GDKQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJYPJIZKTNRJO2WBBFDQF2VYFANCNFSM4IOWKDOA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ2P26DBGGPMSKP3IDDQF2VYFA5CNFSM4IOWKDOKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HG2GDKQ.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/2269?email_source=notifications\u0026email_token=AAIOWJ4XD6GTKXV226T6N6LQF2VYFA5CNFSM4IOWKDOKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HG2GDKQ",
"url": "https://github.com/geany/geany/pull/2269?email_source=notifications\u0026email_token=AAIOWJ4XD6GTKXV226T6N6LQF2VYFA5CNFSM4IOWKDOKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HG2GDKQ",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>