diff -r 5299a3aaebb5 src/main.c
--- a/src/main.c	Sun Apr 27 23:41:26 2008 -0400
+++ b/src/main.c	Wed May 21 17:35:09 2008 +0900
@@ -116,6 +116,8 @@ static void viewer_grab(GtkWidget *vnc, 
 	for (i = 0 ; i < LAST_MENU; i++) {
 		gtk_label_set_text_with_mnemonic(GTK_LABEL(menuItems[i].label), menuItems[i].grabbed_text);
 	}
+
+	gtk_settings_set_string_property(gtk_settings_get_default(), "gtk-menu-bar-accel", "", "");
 }
 
 static void viewer_ungrab(GtkWidget *vnc, GtkWidget *window)
@@ -127,6 +129,8 @@ static void viewer_ungrab(GtkWidget *vnc
 	for (i = 0 ; i < LAST_MENU; i++) {
 		gtk_label_set_text_with_mnemonic(GTK_LABEL(menuItems[i].label), menuItems[i].ungrabbed_text);
 	}
+
+	gtk_settings_set_string_property(gtk_settings_get_default(), "gtk-menu-bar-accel", "F10", "");
 }
 
 static void viewer_shutdown(GtkWidget *src G_GNUC_UNUSED, void *dummy G_GNUC_UNUSED, GtkWidget *vnc)
