[Github-comments] [geany/geany] Add "Close Documents to the Right" feature (#1362)

Colomban Wendling notifications at xxxxx
Thu Jan 12 18:13:12 UTC 2017


b4n approved this pull request.

LGBI.

I'm not sure I see a use case for this, but looks good.

> @@ -473,6 +496,12 @@ static void show_tab_bar_popup_menu(GdkEventButton *event, GeanyDocument *doc)
 	g_signal_connect(menu_item, "activate", G_CALLBACK(on_close_other_documents1_activate), doc);
 	gtk_widget_set_sensitive(GTK_WIDGET(menu_item), (doc != NULL));
 
+	menu_item = ui_image_menu_item_new(GTK_STOCK_CLOSE, _("Close Documents to the _Right"));

beware: that'll likely be on the left on RTL locales.  would be worth mentioning to the translators -- or not, because we ain't sure :)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1362#pullrequestreview-16419489
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170112/0a1924b8/attachment.html>


More information about the Github-comments mailing list