<p>In <a href="https://github.com/geany/geany-plugins/pull/324#discussion_r49535582">lineoperations/src/lineoperations.c</a>:</p>
<pre style='color:#555'>> +    /* Add an item to the Tools menu */
> +  main_menu_item = gtk_menu_item_new_with_mnemonic(_("Line Operations"));
> +  gtk_widget_show(main_menu_item);
> +  ui_add_document_sensitive(main_menu_item);
> +
> +  submenu = gtk_menu_new();
> +  gtk_widget_show(submenu);
> +  sep1 = gtk_separator_menu_item_new();
> +  sep2 = gtk_separator_menu_item_new();
> +  rmdupst_item  = gtk_menu_item_new_with_mnemonic(_("Remove Duplicate Lines, Sorted"));
> +  rmdupln_item  = gtk_menu_item_new_with_mnemonic(_("Remove Duplicate Lines, Ordered"));
> +  rmunqln_item  = gtk_menu_item_new_with_mnemonic(_("Remove Unique Lines"));
> +  rmemtyln_item = gtk_menu_item_new_with_mnemonic(_("Remove Empty Lines"));
> +  rmwhspln_item = gtk_menu_item_new_with_mnemonic(_("Remove Whitespace Lines"));
> +  sortasc_item  = gtk_menu_item_new_with_mnemonic(_("Sort Lines Ascending"));
> +  sortdesc_item = gtk_menu_item_new_with_mnemonic(_("Sort Lines Descending"));
</pre>
<p>It's not ideal, but it won't break mnemonics, it will just make user have to press it twice to get to the second one.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany-plugins/pull/324/files#r49535582">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJwUElBSILK3hj1S415HEFA2qTdydks5pZY7hgaJpZM4HBhj7.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/pull/324/files#r49535582"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>