Add 'Refresh' popup menu item (part of geany-plugins #2999858).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4902 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
e2c321b2e2
commit
16995c6f1d
@ -6,6 +6,8 @@
|
||||
wildcard replacement.
|
||||
* src/search.c, src/document.c:
|
||||
Only replace template filename matching start of word on saving.
|
||||
* plugins/filebrowser.c:
|
||||
Add 'Refresh' popup menu item (part of geany-plugins #2999858).
|
||||
|
||||
|
||||
2010-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
|
||||
|
@ -577,6 +577,15 @@ static GtkWidget *create_popup_menu(void)
|
||||
g_signal_connect(item, "activate", G_CALLBACK(on_external_open), NULL);
|
||||
popup_items.open_external = item;
|
||||
|
||||
item = gtk_separator_menu_item_new();
|
||||
gtk_widget_show(item);
|
||||
gtk_container_add(GTK_CONTAINER(menu), item);
|
||||
|
||||
item = gtk_image_menu_item_new_from_stock(GTK_STOCK_REFRESH, NULL);
|
||||
gtk_widget_show(item);
|
||||
gtk_container_add(GTK_CONTAINER(menu), item);
|
||||
g_signal_connect(item, "activate", G_CALLBACK(refresh), NULL);
|
||||
|
||||
item = ui_image_menu_item_new(GTK_STOCK_FIND, _("_Find in Files"));
|
||||
gtk_widget_show(item);
|
||||
gtk_container_add(GTK_CONTAINER(menu), item);
|
||||
|
Loading…
x
Reference in New Issue
Block a user