[PATCH] Don't use trash icon for location button delete action



From bug 310676 [1]:

"'Delete' and 'Trash' are both active menu items and (...) a Trash
icon is displayed for both" in the location button context menu, in
contrast to other menus.

Proposed patch attached.

[1] http://bugzilla.gnome.org/show_bug.cgi?id=310414

-- 
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.701
diff -u -p -r1.701 fm-directory-view.c
--- src/file-manager/fm-directory-view.c	11 Jul 2005 10:07:53 -0000	1.701
+++ src/file-manager/fm-directory-view.c	23 Jul 2005 12:03:15 -0000
@@ -6248,7 +6248,7 @@ static const GtkActionEntry directory_vi
     N_("Mo_ve to Trash"), "",                /* label, accelerator */
     N_("Move this folder to the Trash"),                   /* tooltip */ 
     G_CALLBACK (action_location_trash_callback) },
-  { FM_ACTION_LOCATION_DELETE, GTK_STOCK_DELETE,                  /* name, stock id */
+  { FM_ACTION_LOCATION_DELETE, NULL,                  /* name, stock id */
     N_("_Delete"), "",                /* label, accelerator */
     N_("Delete this folder, without moving to the Trash"),                   /* tooltip */ 
     G_CALLBACK (action_location_delete_callback) },

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]