[gdm: 67/70] Don't call gettext on some strings that aren't user visible and are in a



commit e2c10b8b819d45656e8ff4fa7356f5303529a35e
Author: Ray Strode <rstrode redhat com>
Date:   Tue Feb 24 15:13:37 2009 +0000

    Don't call gettext on some strings that aren't user visible and are in a
    
    2009-02-19 Ray Strode  <rstrode redhat com>
    
    	* gui/user-switch-applet/gdm-user-menu-item.c:
    	Don't call gettext on some strings that aren't
    	user visible and are in a file that didn't get
    	added to POTFILES.in before string freeze,
    	bug 570086
    
    svn path=/trunk/; revision=6727
---
 ChangeLog                                   |    8 ++++++++
 gui/user-switch-applet/gdm-user-menu-item.c |   16 ++++++++--------
 2 files changed, 16 insertions(+), 8 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index f805232..bfcda6d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2009-02-19 Ray Strode  <rstrode redhat com>
 
+	* gui/user-switch-applet/gdm-user-menu-item.c:
+	Don't call gettext on some strings that aren't
+	user visible and are in a file that didn't get
+	added to POTFILES.in before string freeze,
+	bug 570086
+
+2009-02-19 Ray Strode  <rstrode redhat com>
+
 	* gui/simple-greeter/gdm-greeter-session.c
 	(get_tallest_monitor_at_point):
 	Drop superfluous call to gdk_screen_get_monitor_at_point
diff --git a/gui/user-switch-applet/gdm-user-menu-item.c b/gui/user-switch-applet/gdm-user-menu-item.c
index eaa5b6f..893f910 100644
--- a/gui/user-switch-applet/gdm-user-menu-item.c
+++ b/gui/user-switch-applet/gdm-user-menu-item.c
@@ -335,29 +335,29 @@ gdm_user_menu_item_class_init (GdmUserMenuItemClass *class)
         g_object_class_install_property (gobject_class,
                                          PROP_USER,
                                          g_param_spec_object ("user",
-                                                              _("User"),
-                                                              _("The user this menu item represents."),
+                                                              "User",
+                                                              "The user this menu item represents.",
                                                               GDM_TYPE_USER,
                                                               (G_PARAM_READWRITE |
                                                                G_PARAM_CONSTRUCT_ONLY)));
         g_object_class_install_property (gobject_class,
                                          PROP_ICON_SIZE,
                                          g_param_spec_int ("icon-size",
-                                                           _("Icon Size"),
-                                                           _("The size of the icon to use."),
+                                                           "Icon Size",
+                                                           "The size of the icon to use.",
                                                            12, G_MAXINT, DEFAULT_ICON_SIZE,
                                                            G_PARAM_READWRITE));
 
         gtk_widget_class_install_style_property (widget_class,
                                                  g_param_spec_int ("indicator-size",
-                                                                   _("Indicator Size"),
-                                                                   _("Size of check indicator"),
+                                                                   "Indicator Size",
+                                                                   "Size of check indicator",
                                                                    0, G_MAXINT, 12,
                                                                    G_PARAM_READABLE));
         gtk_widget_class_install_style_property (widget_class,
                                                  g_param_spec_int ("indicator-spacing",
-                                                                   _("Indicator Spacing"),
-                                                                   _("Space between the username and the indicator"),
+                                                                   "Indicator Spacing",
+                                                                   "Space between the username and the indicator",
                                                                    0, G_MAXINT, 8,
                                                                    G_PARAM_READABLE));
 }



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