--- np2/x11/gtk2/gtk_menu.c 2011/12/17 16:20:05 1.22 +++ np2/x11/gtk2/gtk_menu.c 2011/12/20 03:50:36 1.27 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004 NONAKA Kimihiro (aw9k-nnk@asahi-net.or.jp) + * Copyright (c) 2004-2011 NONAKA Kimihiro * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -241,6 +241,7 @@ static GtkRadioActionEntry f12key_entrie { "f12mouse", NULL, "F12 = _Mouse", NULL, NULL, 0 }, { "f12copy", NULL, "F12 = Co_py", NULL, NULL, 1 }, { "f12stop", NULL, "F12 = S_top", NULL, NULL, 2 }, +{ "f12help", NULL, "F12 = _Help", NULL, NULL, 7 }, { "f12equal", NULL, "F12 = tenkey [=]", NULL, NULL, 4 }, { "f12comma", NULL, "F12 = tenkey [,]", NULL, NULL, 3 }, }; @@ -416,6 +417,7 @@ static const gchar *ui_info = " \n" " \n" " \n" +" \n" " \n" " \n" " \n" @@ -577,7 +579,7 @@ cb_bmpsave(GtkAction *action, gpointer u goto end; gtk_file_chooser_set_show_hidden(GTK_FILE_CHOOSER(dialog), TRUE); -#if iGTK_MAJOR_VERSION >= 2 && GTK_MINOR_VERSION >= 8 +#if GTK_MAJOR_VERSION >= 2 && GTK_MINOR_VERSION >= 8 gtk_file_chooser_set_do_overwrite_confirmation(GTK_FILE_CHOOSER(dialog), TRUE); #endif @@ -768,6 +770,7 @@ cb_diskopen(GtkAction *action, gpointer gtk_file_filter_add_pattern(filter, "*.2[hH][dD]"); gtk_file_filter_add_pattern(filter, "*.[fF][dD][iI]"); gtk_file_filter_add_pattern(filter, "*.[fF][sS]"); + gtk_file_filter_add_pattern(filter, "*.[fF][lL][pP]"); gtk_file_chooser_add_filter(GTK_FILE_CHOOSER(dialog), filter); } filter = gtk_file_filter_new(); @@ -784,6 +787,7 @@ cb_diskopen(GtkAction *action, gpointer gtk_file_filter_add_pattern(filter, "*.2[hH][dD]"); gtk_file_filter_add_pattern(filter, "*.[fF][dD][iI]"); gtk_file_filter_add_pattern(filter, "*.[fF][sS]"); + gtk_file_filter_add_pattern(filter, "*.[fF][lL][pP]"); gtk_file_chooser_add_filter(GTK_FILE_CHOOSER(dialog), filter); } gtk_file_chooser_set_filter(GTK_FILE_CHOOSER(dialog), filter); @@ -1037,7 +1041,7 @@ cb_newdisk(GtkAction *action, gpointer u goto end; gtk_file_chooser_set_show_hidden(GTK_FILE_CHOOSER(dialog), TRUE); -#if iGTK_MAJOR_VERSION >= 2 && GTK_MINOR_VERSION >= 8 +#if GTK_MAJOR_VERSION >= 2 && GTK_MINOR_VERSION >= 8 gtk_file_chooser_set_do_overwrite_confirmation(GTK_FILE_CHOOSER(dialog), TRUE); #endif