On Sat, 2005-12-03 at 12:28 +0100, Christian Neumair wrote:
> Reported as bug 132751 [1]. The attached patch makes the dialog for
> trashed files more appropriate and also ensures that no dialog title is
> shown.
> 
> [1] http://bugzilla.gnome.org/show_bug.cgi?id=132751

+       name = nautilus_file_get_name (file);
+       if (nautilus_file_is_in_trash (file)) {
+               prompt = g_strdup_printf (_("The Link \"%s\" is Broken."), 
name);
+       } else {
+               prompt = g_strdup_printf (_("The Link \"%s\" is Broken. Move it 
to Trash?"), name);
+       }
+       g_free (name);


You need to use display_name here, the name might not be valid utf8.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   [EMAIL PROTECTED]    [EMAIL PROTECTED] 
He's a sword-wielding amnesiac paramedic in drag. She's a sharp-shooting 
antique-collecting doctor who can talk to animals. They fight crime! 

-- 
nautilus-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/nautilus-list

Reply via email to