summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-07-14 11:26:49 +0200
committerraveit65 <[email protected]>2016-07-22 15:23:49 +0200
commit1b6acd1e6c7bc9b494aa56f2eda7a6ee32a8a60c (patch)
treed27b32bc2e815733f283839be72821cab4539752
parent79fa874a6ff484a3c1ea7540d89d97c94872c512 (diff)
downloadatril-1b6acd1e6c7bc9b494aa56f2eda7a6ee32a8a60c.tar.bz2
atril-1b6acd1e6c7bc9b494aa56f2eda7a6ee32a8a60c.tar.xz
Allow to use Send To action from the toolbar
taken from: https://git.gnome.org/browse/evince/commit/?id=a8d6329
-rw-r--r--data/atril-toolbar.xml1
-rw-r--r--shell/ev-window.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/data/atril-toolbar.xml b/data/atril-toolbar.xml
index b87bf717..34144185 100644
--- a/data/atril-toolbar.xml
+++ b/data/atril-toolbar.xml
@@ -4,6 +4,7 @@
<toolitem name="FileOpenRecent"/>
<toolitem name="FilePrint"/>
<toolitem name="FileSaveAs"/>
+ <toolitem name="FileSendTo"/>
<toolitem name="ViewContinuous"/>
<toolitem name="ViewDual"/>
<toolitem name="ViewInvertedColors"/>
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 797efe5d..b0768d88 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -6490,6 +6490,8 @@ set_action_properties (GtkActionGroup *action_group)
GtkAction *action;
action = gtk_action_group_get_action (action_group, "FileSendTo");
+ /*translators: this is the label for toolbar button*/
+ g_object_set (action, "short_label", _("Send To"), NULL);
gtk_action_set_visible (action, caja_sendto != NULL);
action = gtk_action_group_get_action (action_group, "GoPreviousPage");