[1] has the details, proposed patch attached. [1] http://bugzilla.gnome.org/show_bug.cgi?id=325945 -- Christian Neumair <chris gnome-de org>
Index: src/file-manager/fm-directory-view.c =================================================================== RCS file: /cvs/gnome/nautilus/src/file-manager/fm-directory-view.c,v retrieving revision 1.731 diff -u -p -r1.731 fm-directory-view.c --- src/file-manager/fm-directory-view.c 20 Dec 2005 09:11:10 -0000 1.731 +++ src/file-manager/fm-directory-view.c 7 Jan 2006 11:34:04 -0000 @@ -960,6 +976,7 @@ confirm_delete_directly (FMDirectoryView char *file_name; int uri_count; int response; + GtkStockItem delete_item; g_assert (FM_IS_DIRECTORY_VIEW (view)); @@ -993,9 +1010,15 @@ confirm_delete_directly (FMDirectoryView GTK_BUTTONS_NONE, prompt, _("If you delete an item, it is permanently lost."))); - + gtk_dialog_add_button (dialog, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL); - gtk_dialog_add_button (dialog, GTK_STOCK_DELETE, GTK_RESPONSE_YES); + + /* don't use the stock icon, since a trash can can be confusing for permanent deletion */ + delete_item.label = NULL; + gtk_stock_lookup (GTK_STOCK_DELETE, &delete_item); + g_assert (delete_item.label != NULL); + gtk_dialog_add_button (dialog, delete_item.label, GTK_RESPONSE_YES); + gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_YES); g_free (prompt);
Attachment:
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil