diff options
| author | Leandro Pereira <leandro@hardinfo.org> | 2019-06-20 21:18:41 -0700 | 
|---|---|---|
| committer | Leandro Pereira <leandro@hardinfo.org> | 2019-06-20 21:18:41 -0700 | 
| commit | eebecc8b4064b3cfcc9895069f8f4e268ac17bb0 (patch) | |
| tree | 3d5c2a4fdc636620fc21772a70c419a254507587 /shell | |
| parent | 80c9eede822f4d2466bdead6d0b58ec49477401b (diff) | |
Show Refresh/Copy icons again in toolbar
Diffstat (limited to 'shell')
| -rw-r--r-- | shell/menu.c | 12 | 
1 files changed, 10 insertions, 2 deletions
| 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"), "<control>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)}, | 
