Index: libnautilus-private/nautilus-desktop-link.c
===================================================================
RCS file: /cvs/gnome/nautilus/libnautilus-private/nautilus-desktop-link.c,v
retrieving revision 1.8
diff -u -p -r1.8 nautilus-desktop-link.c
--- libnautilus-private/nautilus-desktop-link.c	10 Feb 2004 15:33:12 -0000	1.8
+++ libnautilus-private/nautilus-desktop-link.c	30 Nov 2004 20:13:09 -0000
@@ -195,7 +195,6 @@ NautilusDesktopLink *
 nautilus_desktop_link_new_from_volume (GnomeVFSVolume *volume)
 {
 	NautilusDesktopLink *link;
-	GnomeVFSDrive *drive;
 	char *name;
 
 	link = NAUTILUS_DESKTOP_LINK (g_object_new (NAUTILUS_TYPE_DESKTOP_LINK, NULL));
@@ -204,16 +203,7 @@ nautilus_desktop_link_new_from_volume (G
 
 	link->details->volume = gnome_vfs_volume_ref (volume);
 
-	/* We try to use the drive name to get somewhat stable filenames
-	   for metadata */
-	drive = gnome_vfs_volume_get_drive (volume);
-	if (drive != NULL) {
-		name = gnome_vfs_drive_get_display_name (drive);
-	} else {
-		name = gnome_vfs_volume_get_display_name (volume);
-	}
-	gnome_vfs_drive_unref (drive);
-	
+	name = gnome_vfs_volume_get_display_name (volume);
 	link->details->filename = g_strconcat (name, ".volume", NULL);
 	g_free (name);
 	
