]> www.fi.muni.cz Git - evince.git/commitdiff
Set a short label for 'Open Folder'
authorFederico Mena Quintero <federico@novell.com>
Thu, 19 Aug 2010 21:44:11 +0000 (16:44 -0500)
committerFederico Mena Quintero <federico@novell.com>
Mon, 13 Sep 2010 17:23:26 +0000 (12:23 -0500)
The string 'Open Containing Folder' is too long for a toolbar item,
so we set a short_label for this action as well.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
shell/ev-window.c

index 46c41a903f24b01fbced628fa73690d688e40e48..aad7dee7413a0f1f78681f3ebd61b23cf2810b55 100644 (file)
@@ -5761,6 +5761,10 @@ set_action_properties (GtkActionGroup *action_group)
 {
        GtkAction *action;
 
+       action = gtk_action_group_get_action (action_group, "FileOpenContainingFolder");
+       /*translators: this is the label for toolbar button*/
+       g_object_set (action, "short_label", _("Open Folder"), NULL);
+
        action = gtk_action_group_get_action (action_group, "GoPreviousPage");
        g_object_set (action, "is-important", TRUE, NULL);
        /*translators: this is the label for toolbar button*/