Kaydet (Commit) 16995c6f authored tarafından Nick Treleaven's avatar Nick Treleaven

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
üst e2c321b2
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
wildcard replacement. wildcard replacement.
* src/search.c, src/document.c: * src/search.c, src/document.c:
Only replace template filename matching start of word on saving. 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> 2010-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
......
...@@ -577,6 +577,15 @@ static GtkWidget *create_popup_menu(void) ...@@ -577,6 +577,15 @@ static GtkWidget *create_popup_menu(void)
g_signal_connect(item, "activate", G_CALLBACK(on_external_open), NULL); g_signal_connect(item, "activate", G_CALLBACK(on_external_open), NULL);
popup_items.open_external = item; 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")); item = ui_image_menu_item_new(GTK_STOCK_FIND, _("_Find in Files"));
gtk_widget_show(item); gtk_widget_show(item);
gtk_container_add(GTK_CONTAINER(menu), item); gtk_container_add(GTK_CONTAINER(menu), item);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment