From eebecc8b4064b3cfcc9895069f8f4e268ac17bb0 Mon Sep 17 00:00:00 2001 From: Leandro Pereira Date: Thu, 20 Jun 2019 21:18:41 -0700 Subject: Show Refresh/Copy icons again in toolbar --- shell/menu.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'shell') diff --git a/shell/menu.c b/shell/menu.c index b0f01e58..56744f7c 100644 --- a/shell/menu.c +++ b/shell/menu.c @@ -31,6 +31,14 @@ #include "uidefs.h" +#ifndef GTK_STOCK_COPY +#define GTK_STOCK_COPY "_Copy" +#endif + +#ifndef GTK_STOCK_REFRESH +#define GTK_STOCK_REFRESH "_Refresh" +#endif + static GtkActionEntry entries[] = { {"InformationMenuAction", NULL, N_("_Information")}, /* name, stock id, label */ {"RemoteMenuAction", NULL, N_("_Remote")}, @@ -54,12 +62,12 @@ static GtkActionEntry entries[] = { NULL, G_CALLBACK(cb_sync_manager)}, - {"CopyAction", "_Copy", + {"CopyAction", GTK_STOCK_COPY, N_("_Copy to Clipboard"), "C", N_("Copy to clipboard"), G_CALLBACK(cb_copy_to_clipboard)}, - {"RefreshAction", "_Refresh", + {"RefreshAction", GTK_STOCK_REFRESH, N_("_Refresh"), "F5", NULL, G_CALLBACK(cb_refresh)}, -- cgit v1.2.3