changeset 455:0ef1a94ee4c5

Add number mnemonics to image view editors submenu.
author zas_
date Sun, 20 Apr 2008 22:45:00 +0000
parents 57459cf0952c
children 12ba8fce8976
files src/menu.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/menu.c	Sun Apr 20 22:29:23 2008 +0000
+++ b/src/menu.c	Sun Apr 20 22:45:00 2008 +0000
@@ -71,13 +71,13 @@
 			{
 			gchar *text;
 			if (options->editor_name[i] && strlen(options->editor_name[i]) > 0)
-				text = g_strdup_printf(_("in %s..."), options->editor_name[i]);
+				text = g_strdup_printf(_("_%d in %s..."), i, options->editor_name[i]);
 			else
-				text = g_strdup(_("in (unknown)..."));
+				text = g_strdup_printf(_("_%d in (unknown)..."), i);
 			if (accel_grp)
 				add_menu_item(menu, text, accel_grp, i + 49, GDK_CONTROL_MASK, func, GINT_TO_POINTER(i));
 			else
-				menu_item_add_simple(menu, text, func, GINT_TO_POINTER(i));
+				menu_item_add(menu, text, func, GINT_TO_POINTER(i));
 			g_free(text);
 			}
 		}