<p>This seems to happen because, when populating the Build menu, Geany <a href="https://github.com/geany/geany/blob/6aaaba6b41119cfbe3705d0c993a5cac3223f085/src/build.c#L1374-1376">sets text directly on the <code>GtkLabel</code> child of the <code>GtkMenuItem</code></a>. If I replace that with a simple </p>

<pre><code>gtk_menu_item_set_label(GTK_MENU_ITEM(w), label);
</code></pre>

<p>that seems to fix the issue.</p>

<p><a href="https://github.com/elextr" class="user-mention">@elextr</a> Could you comment on why <a href="https://github.com/geany/geany/blame/master/src/build.c#L1369-1377">you implemented it</a> like that?</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-plugins/issues/462#issuecomment-232496349">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/ABDrJ5UJeaQlp_t5hvn-1BBaxnwmVQV8ks5qVVx1gaJpZM4JL2jt">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJzF5PRjG09Wx8wKiLUU6YRezqbcCks5qVVx1gaJpZM4JL2jt.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany-plugins/issues/462#issuecomment-232496349"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>