Index: src/file-manager/fm-directory-view.c
===================================================================
RCS file: /cvs/gnome/nautilus/src/file-manager/fm-directory-view.c,v
retrieving revision 1.750
diff -u -p -r1.750 fm-directory-view.c
--- src/file-manager/fm-directory-view.c	8 Aug 2006 14:43:25 -0000	1.750
+++ src/file-manager/fm-directory-view.c	7 Oct 2006 18:12:25 -0000
@@ -5890,8 +5893,11 @@ convert_file_list_to_string (GList *file
 			} else {
 				g_string_append (uris, uri);
 			}
-			g_string_append_c (uris, '\n');
-			
+
+			/* skip newline for last element */
+			if (node->next != NULL) {
+				g_string_append_c (uris, '\n');
+			}
 		} else {
 			g_string_append_c (uris, '\n');
 			g_string_append (uris, uri);
