The attached patch is meant to fix bug 314901 [1]. This would probably be fixed already if any of the devlopers' name ended in 's' ;). [1] http://bugzilla.gnome.org/show_bug.cgi?id=314901 -- Christian Neumair <chris gnome-de org>
Index: libnautilus-private/nautilus-global-preferences.c
===================================================================
RCS file: /cvs/gnome/nautilus/libnautilus-private/nautilus-global-preferences.c,v
retrieving revision 1.224
diff -u -p -r1.224 nautilus-global-preferences.c
--- libnautilus-private/nautilus-global-preferences.c 19 Jul 2005 13:28:48 -0000 1.224
+++ libnautilus-private/nautilus-global-preferences.c 31 Aug 2005 09:23:31 -0000
@@ -495,6 +495,15 @@ static const PreferenceDefault preferenc
static gpointer
default_home_link_name (void)
{
+ char *locale;
+
+ locale = setlocale (LC_MESSAGES, NULL);
+ if (locale != NULL
+ && g_str_has_prefix (locale, "en")
+ && g_str_has_suffix (g_get_user_name (), "s")) {
+ return g_strdup_printf ("%s' Home", g_get_user_name ());
+ }
+
/* Note to translators: If it's hard to compose a good home
* icon name from the user name, you can use a string without
* an "%s" here, in which case the home icon name will not
Attachment:
signature.asc
Description: This is a digitally signed message part