devhelp r1268 - in trunk: . src



Author: rhult
Date: Thu Feb 19 10:18:20 2009
New Revision: 1268
URL: http://svn.gnome.org/viewvc/devhelp?rev=1268&view=rev

Log:
2009-02-19  Richard Hult  <richard imendio com>

	* src/dh-window.c: (dh_window_init): Patch from Luca Ferretti to
	fix bug #563032, Use shorter text for zoom actions in toolbar.


Modified:
   trunk/ChangeLog
   trunk/src/dh-window.c

Modified: trunk/src/dh-window.c
==============================================================================
--- trunk/src/dh-window.c	(original)
+++ trunk/src/dh-window.c	Thu Feb 19 10:18:20 2009
@@ -525,6 +525,13 @@
                                               "Forward");
         g_object_set (action, "sensitive", FALSE, NULL);
 
+        action = gtk_action_group_get_action (priv->action_group, "ZoomIn");
+        /* Translators: This refers to text size */
+        g_object_set (action, "short_label", _("Larger"), NULL);
+        action = gtk_action_group_get_action (priv->action_group, "ZoomOut");
+        /* Translators: This refers to text size */
+        g_object_set (action, "short_label", _("Smaller"), NULL);
+
         accel_group = gtk_accel_group_new ();
         gtk_window_add_accel_group (GTK_WINDOW (window), accel_group);
 



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