[evince] Allow to use Send To action from the tollbar



commit a8d6329175028ba76e65e00481d178c14af1b42c
Author: Carlos Garcia Campos <carlosgc gnome org>
Date:   Mon Feb 6 18:11:41 2012 +0100

    Allow to use Send To action from the tollbar

 data/evince-toolbar.xml |    1 +
 shell/ev-window.c       |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/data/evince-toolbar.xml b/data/evince-toolbar.xml
index 1779edf..df1be26 100644
--- a/data/evince-toolbar.xml
+++ b/data/evince-toolbar.xml
@@ -4,6 +4,7 @@
     <toolitem name="FileOpenRecent"/>
     <toolitem name="FilePrint"/>
     <toolitem name="FileSaveAs"/>
+    <toolitem name="FileSendTo"/>
     <toolitem name="FileOpenContainingFolder"/>
     <toolitem name="ViewContinuous"/>
     <toolitem name="ViewDual"/>
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 9ad8ced..e8be52e 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -6073,6 +6073,8 @@ set_action_properties (GtkActionGroup *action_group)
 	g_object_set (action, "short_label", _("Open Folder"), NULL);
 
 	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, nautilus_sendto != NULL);
 
 	action = gtk_action_group_get_action (action_group, "GoPreviousPage");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]