[Github-comments] [geany-plugins] Add new "Lineoperations" plugin (#324)

Colomban Wendling notifications at xxxxx
Sun Jan 17 14:21:10 UTC 2016


> +	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"));

Done in https://github.com/b4n/geany-plugins/commit/de106a6b044d8296858e1559a7b402fa8424903f if you're interested.  It doesn't depend on altering the callbacks so can be applied directly.

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/324/files#r49946871
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160117/f4c5f468/attachment.html>


More information about the Github-comments mailing list