<p>This PR adds an option to hide the menubar at startup and a keybinding to toggle menubar visibility.  Addresses <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="103908745" data-permission-text="Title is private" data-url="https://github.com/geany/geany/issues/633" data-hovercard-type="issue" data-hovercard-url="/geany/geany/issues/633/hovercard" href="https://github.com/geany/geany/issues/633">#633</a>.</p>
<p>Currently, there is no default keybinding set to toggle the menubar.  This complicates reshowing the menubar if it is hidden at startup.  A common key combination to toggle menubar visibility is <code><Primary>m</code>, but that is already being used to toggle markers.  Should the keybinding be reassigned?  If not, what other keybinding should be used?</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/2972'>https://github.com/geany/geany/pull/2972</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/geany/geany/pull/2972/commits/c2076abb31c4ffd44dbad845d30c48947129899b">Add option to hide menubar on startup</a></li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/geany/geany/pull/2972/files">7 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2972/files#diff-6d20bb0474d5258b5e4c03fbf4f265daa65c061e3acc6297b3b5b7d07e9a5e22">doc/geany.txt</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2972/files#diff-f3d2412b3a6aea31b7dc8971571773f45ecc488d4c3c49b9b2d11d4bf7596118">src/keybindings.c</a>
    (11)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2972/files#diff-ce7d99c36f7f5be03d0e4a0415e48777ecae42105f0a84069f8fa21dc99d31a3">src/keybindings.h</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2972/files#diff-4fab1ecb4966e1c1fcdc7e68f336f5b53eda496dc036cbdd7a5068e59638b2f4">src/libmain.c</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2972/files#diff-4316f93b38ec68bc3ee98a1ff6a08db0164f9baad6b3b2403909064202cc8fcc">src/plugindata.h</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2972/files#diff-8396dc9c2232193e29aaeddbcf7fa02add25c3c2b855f56c3e5307dc34fcfcf3">src/ui_utils.c</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2972/files#diff-c5e507f1f38d770eac7b5a9c906195bdebc43bb064ed4b6af981cdce102f14ff">src/ui_utils.h</a>
    (1)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/geany/geany/pull/2972.patch'>https://github.com/geany/geany/pull/2972.patch</a></li>
  <li><a href='https://github.com/geany/geany/pull/2972.diff'>https://github.com/geany/geany/pull/2972.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/2972">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ4GSJX3KRJQ5AFYZ7TUJKWT5ANCNFSM5G7PRPMA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AAIOWJZI6VF4ZYQN5OYZCILUJKWT5A5CNFSM5G7PRPMKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4PPXTGKQ.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/2972",
"url": "https://github.com/geany/geany/pull/2972",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>