[gedit] Set "Print" short label



commit 08f888b5c79f3a903350cff6db988efde2a5d7d5
Author: Paolo Borelli <porelli gnome org>
Date:   Mon May 18 09:10:31 2009 +0200

    Set "Print" short label
    
    Force the short label of the print action so that it does not include
    ellipsis. Fixes bug #577859.
---
 gedit/gedit-window.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/gedit/gedit-window.c b/gedit/gedit-window.c
index b23449c..378a2d6 100644
--- a/gedit/gedit-window.c
+++ b/gedit/gedit-window.c
@@ -1453,6 +1453,8 @@ create_menu_bar_and_toolbar (GeditWindow *window,
 	/* set short labels to use in the toolbar */
 	action = gtk_action_group_get_action (action_group, "FileSave");
 	g_object_set (action, "short_label", _("Save"), NULL);
+	action = gtk_action_group_get_action (action_group, "FilePrint");
+	g_object_set (action, "short_label", _("Print"), NULL);
 	action = gtk_action_group_get_action (action_group, "SearchFind");
 	g_object_set (action, "short_label", _("Find"), NULL);
 	action = gtk_action_group_get_action (action_group, "SearchReplace");



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