--- nautilus/libnautilus-private/nautilus-metafile.c	2004-11-22 16:24:36.000000000 +0100
+++ nautilus-copy-thumbnails/libnautilus-private/nautilus-metafile.c	2005-05-14 19:21:41.529112640 +0200
@@ -1396,6 +1396,8 @@ copy_file_metadata (NautilusMetafile *so
 {
 	xmlNodePtr source_node, node, root;
 	GHashTable *hash, *changes;
+	
+	char *source_file_uri, *destination_file_uri;
 
 	g_return_if_fail (NAUTILUS_IS_METAFILE (source_metafile));
 	g_return_if_fail (source_file_name != NULL);
@@ -1438,9 +1440,12 @@ copy_file_metadata (NautilusMetafile *so
 		}
 	}
 
-	/* FIXME: Do we want to copy the thumbnail here like in the
-	 * rename and remove cases?
-	 */
+	/* Rename the thumbnails for the file, if any. */
+	source_file_uri = metafile_get_file_uri (source_metafile, source_file_name);
+	destination_file_uri = metafile_get_file_uri (destination_metafile, destination_file_name);
+	nautilus_update_thumbnail_file_renamed (source_file_uri, destination_file_uri);
+	g_free (source_file_uri);
+	g_free (destination_file_uri); 
 }
 
 static void
