From 1cb9fc7fb4cfc919cc7880d0af3a66a2f7f107cf Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Wed, 7 Dec 2011 08:08:29 -0800 Subject: [PATCH] Make view action shortcuts be ctrl-[1-4] instead of Fn keys Suggested by Henrik Aronsen, and seems much more natural. Especially with lots of keyboards having function keys oddly mapped. Suggested-by: Henrik Brautaset Aronsen Signed-off-by: Linus Torvalds --- gtk-gui.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gtk-gui.c b/gtk-gui.c index f95ff88..6df8f41 100644 --- a/gtk-gui.c +++ b/gtk-gui.c @@ -578,10 +578,10 @@ static GtkActionEntry menu_items[] = { { "SelectEvents", NULL, "SelectEvents", NULL, NULL, G_CALLBACK(selectevents_dialog) }, { "Quit", GTK_STOCK_QUIT, NULL, "Q", NULL, G_CALLBACK(quit) }, { "About", GTK_STOCK_ABOUT, NULL, NULL, NULL, G_CALLBACK(about_dialog) }, - { "ViewList", NULL, "List", "F1", NULL, G_CALLBACK(view_list) }, - { "ViewProfile", NULL, "Profile", "F2", NULL, G_CALLBACK(view_profile) }, - { "ViewInfo", NULL, "Info", "F3", NULL, G_CALLBACK(view_info) }, - { "ViewThree", NULL, "Three", "F4", NULL, G_CALLBACK(view_three) }, + { "ViewList", NULL, "List", "1", NULL, G_CALLBACK(view_list) }, + { "ViewProfile", NULL, "Profile", "2", NULL, G_CALLBACK(view_profile) }, + { "ViewInfo", NULL, "Info", "3", NULL, G_CALLBACK(view_info) }, + { "ViewThree", NULL, "Three", "4", NULL, G_CALLBACK(view_three) }, }; static gint nmenu_items = sizeof (menu_items) / sizeof (menu_items[0]); -- 2.43.0