From bug 308884 [1]: "Select multiple files or folders, copy them to a different folder. You'll notice that if you selected files, they will be copied in reverse alphabetical order". This is only true for the icon view due to a tiny bug. Proposed patch attached, which also fixes another selection order-related tiny issue. [1] http://bugzilla.gnome.org/show_bug.cgi?id=308884 -- Christian Neumair <chris gnome-de org>
Index: libnautilus-private/nautilus-icon-container.c =================================================================== RCS file: /cvs/gnome/nautilus/libnautilus-private/nautilus-icon-container.c,v retrieving revision 1.390 diff -u -p -r1.390 nautilus-icon-container.c --- libnautilus-private/nautilus-icon-container.c 5 Jul 2005 12:23:34 -0000 1.390 +++ libnautilus-private/nautilus-icon-container.c 5 Jul 2005 22:26:41 -0000 @@ -5406,7 +5450,7 @@ nautilus_icon_container_get_selection (N } } - return list; + return g_list_reverse (list); } /* Returns an array of GdkPoints of locations of the icons. */ Index: src/file-manager/fm-directory-view.c =================================================================== RCS file: /cvs/gnome/nautilus/src/file-manager/fm-directory-view.c,v retrieving revision 1.699 diff -u -p -r1.699 fm-directory-view.c --- src/file-manager/fm-directory-view.c 5 Jul 2005 12:23:35 -0000 1.699 +++ src/file-manager/fm-directory-view.c 5 Jul 2005 22:26:47 -0000 @@ -895,7 +895,8 @@ delete_selected_files (FMDirectoryView * file_uris = g_list_prepend (file_uris, nautilus_file_get_uri ((NautilusFile *) node->data)); } - + file_uris = g_list_reverse (file_uris); + if (confirm_delete_directly (view, file_uris)) { nautilus_file_operations_delete (file_uris, GTK_WIDGET (view));
Attachment:
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil