summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-07-14 11:12:41 +0200
committerraveit65 <[email protected]>2016-07-22 15:23:49 +0200
commit79fa874a6ff484a3c1ea7540d89d97c94872c512 (patch)
treed44e79919e56c33c451b873c83bbdd7e4079796b
parent96ca9e82a9f98a2224f01fcdada6434a85fb29b0 (diff)
downloadatril-79fa874a6ff484a3c1ea7540d89d97c94872c512.tar.bz2
atril-79fa874a6ff484a3c1ea7540d89d97c94872c512.tar.xz
Use document-send icon for Send To action
taken from: https://git.gnome.org/browse/evince/commit/?id=fff0e69
-rw-r--r--libview/ev-stock-icons.c3
-rw-r--r--libview/ev-stock-icons.h1
-rw-r--r--shell/ev-window.c2
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…"), "<control>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…"), "<control>P",