[evince/unmessify-my-pdfs: 3/3] Set a short label for 'Open Folder'



commit 71cc5e5d293c22041da7dcc0abd465005975851e
Author: Federico Mena Quintero <federico novell com>
Date:   Thu Aug 19 16:44:11 2010 -0500

    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 <federico novell com>

 shell/ev-window.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 46c41a9..aad7dee 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*/



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