From 79fa874a6ff484a3c1ea7540d89d97c94872c512 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Thu, 14 Jul 2016 11:12:41 +0200 Subject: Use document-send icon for Send To action taken from: https://git.gnome.org/browse/evince/commit/?id=fff0e69 --- libview/ev-stock-icons.c | 3 ++- libview/ev-stock-icons.h | 1 + shell/ev-window.c | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libview/ev-stock-icons.c b/libview/ev-stock-icons.c index b694c651..58da21b1 100644 --- a/libview/ev-stock-icons.c +++ b/libview/ev-stock-icons.c @@ -47,7 +47,8 @@ static const EvStockIcon stock_icons [] = { { EV_STOCK_RESIZE_SW, "resize-sw"}, { EV_STOCK_CLOSE, "close"}, { EV_STOCK_INVERTED_COLORS, "stock_filters-invert"}, - { EV_STOCK_ATTACHMENT, "mail-attachment"} + { EV_STOCK_ATTACHMENT, "mail-attachment"}, + { EV_STOCK_SEND_TO, "document-send"}, }; static gchar *ev_icons_path; diff --git a/libview/ev-stock-icons.h b/libview/ev-stock-icons.h index a5b82603..3a55b11b 100644 --- a/libview/ev-stock-icons.h +++ b/libview/ev-stock-icons.h @@ -47,6 +47,7 @@ G_BEGIN_DECLS #define EV_STOCK_CLOSE "close" #define EV_STOCK_INVERTED_COLORS "inverted" #define EV_STOCK_ATTACHMENT "mail-attachment" +#define EV_STOCK_SEND_TO "document-send" void ev_stock_icons_init (void); void ev_stock_icons_shutdown (void); diff --git a/shell/ev-window.c b/shell/ev-window.c index ca15fda8..797efe5d 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -6129,7 +6129,7 @@ static const GtkActionEntry entries[] = { { "FileSaveAs", GTK_STOCK_SAVE_AS, N_("_Save a Copy…"), "S", N_("Save a copy of the current document"), G_CALLBACK (ev_window_cmd_save_as) }, - { "FileSendTo", NULL, N_("Send _To..."), NULL, + { "FileSendTo", EV_STOCK_SEND_TO, N_("Send _To..."), NULL, N_("Send current document by mail, instant message..."), G_CALLBACK (ev_window_cmd_send_to) }, { "FilePrint", GTK_STOCK_PRINT, N_("_Print…"), "P", -- cgit v1.2.1