<p>In <a href="https://github.com/geany/geany-plugins/pull/324#discussion_r49946871">lineoperations/src/lineoperations.c</a>:</p>
<pre style='color:#555'>> + GtkWidget *sortdesc_item;
> +
> + main_menu_item = gtk_menu_item_new_with_mnemonic(_("_Line Operations"));
> + gtk_widget_show(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>Done in <a href="https://github.com/b4n/geany-plugins/commit/de106a6b044d8296858e1559a7b402fa8424903f" class="commit-link">b4n@<tt>de106a6</tt></a> if you're interested. It doesn't depend on altering the callbacks so can be applied directly.</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#r49946871">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ5p_iBd0WrkS1QClslqaZyBjxqWxks5pa5rWgaJpZM4HBhj7.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#r49946871"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>