<p><b>@elextr</b> approved this pull request.</p>

<p>Fixing when the menu items are enabled is fine, but this PR also includes changes not relevant to that and I am not seeing where the actual fix is.</p><hr>

<p>In <a href="https://github.com/geany/geany/pull/2269#discussion_r324439572">src/build.c</a>:</p>
<pre style='color:#555'>> @@ -158,6 +158,9 @@ widgets;
 static guint build_groups_count[GEANY_GBG_COUNT] = { 3, 4, 2 };
 static guint build_items_count = 9;
 
+/* include the fixed widgets in an array indexed by groups */
+#define GBG_FIXED GEANY_GBG_COUNT
</pre>
<p>Would be better to define in the enum in the header, or if you don't want it in the enum at least next to it so all GBG_* declarations are in the same place.</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/2269?email_source=notifications&email_token=AAIOWJ2BYVPGSMY5HRPRV4LQJVPJPA5CNFSM4IOWKDOKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCEX257Q#pullrequestreview-288337662">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJZNM5XOS5BWS27YDLDQJVPJPANCNFSM4IOWKDOA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ5YZSPQTCO6LDNGHRTQJVPJPA5CNFSM4IOWKDOKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCEX257Q.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=AAIOWJ2BYVPGSMY5HRPRV4LQJVPJPA5CNFSM4IOWKDOKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCEX257Q#pullrequestreview-288337662",
"url": "https://github.com/geany/geany/pull/2269?email_source=notifications\u0026email_token=AAIOWJ2BYVPGSMY5HRPRV4LQJVPJPA5CNFSM4IOWKDOKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCEX257Q#pullrequestreview-288337662",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>