[PATCH] Menu mnemonic clash: "_Empty Trash"/"Clos_e All Folders"



>From bug 173059 [1]:

Proposed patch (against HEAD).
Doesn't even break string freeze, since we already use the string "E_mpty
Trash" in the desktop context menu. After applying this patch, "_Empty Trash"
is only used in the empty trash confirmation dialog.

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

-- 
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.674
diff -u -r1.674 fm-directory-view.c
--- src/file-manager/fm-directory-view.c	17 May 2005 13:27:36 -0000	1.674
+++ src/file-manager/fm-directory-view.c	21 May 2005 19:55:02 -0000
@@ -5983,7 +5983,7 @@
     N_("Show the folder containing the scripts that appear in this menu"),                   /* tooltip */ 
     G_CALLBACK (action_open_scripts_folder_callback) },
   { "Empty Trash", NULL,                  /* name, stock id */
-    N_("_Empty Trash"), NULL,                /* label, accelerator */
+    N_("E_mpty Trash"), NULL,                /* label, accelerator */
     N_("Delete all items in the Trash"),                   /* tooltip */ 
     G_CALLBACK (action_empty_trash_callback) },
   { "Cut", GTK_STOCK_CUT,                  /* name, stock id */
@@ -6623,7 +6623,7 @@
 	action = gtk_action_group_get_action (view->details->dir_action_group,
 					      FM_ACTION_EMPTY_TRASH);
 	g_object_set (action,
-		      "label", _("_Empty Trash"),
+		      "label", _("E_mpty Trash"),
 		      NULL);
 	gtk_action_set_sensitive (action, !nautilus_trash_monitor_is_empty ());
 	gtk_action_set_visible (action, should_show_empty_trash (view));


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