From: Federico Mena Quintero Date: Thu, 19 Aug 2010 21:44:11 +0000 (-0500) Subject: Set a short label for 'Open Folder' X-Git-Tag: EVINCE_2_91_0~43^2 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=71cc5e5d293c22041da7dcc0abd465005975851e;p=evince.git Set a short label for 'Open Folder' 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 --- diff --git a/shell/ev-window.c b/shell/ev-window.c index 46c41a90..aad7dee7 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -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*/