X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=menus.c;h=fbc7893780c6f6d575e256b679a374002a11c9a1;hb=d1638304f504ca6cbfa36eb7a951b530f374bd10;hp=03a2d3cd16055372bf2d17d7a56bb4586d4641bd;hpb=ebd7f78161504e46896f7d96bb41e29714b2fd53;p=xboard.git diff --git a/menus.c b/menus.c index 03a2d3c..fbc7893 100644 --- a/menus.c +++ b/menus.c @@ -362,8 +362,7 @@ _("%s%s\n\n" "Enhancements Copyright 1992-2016 Free Software Foundation\n" "Enhancements Copyright 2005 Alessandro Scotti\n\n" "%s is free software and carries NO WARRANTY;" -"see the file COPYING for more information.\n" -"The GTK build of this version is experimental and unstable\n\n" +"see the file COPYING for more information.\n\n" "Visit XBoard on the web at: http://www.gnu.org/software/xboard/\n" "Check out the newest features at: http://www.gnu.org/software/xboard/whats_new.html\n\n" "Report bugs via email at: \n\n" @@ -388,7 +387,26 @@ DebugProc () void EditEngineProc () { - EditTagsPopUp(firstChessProgramNames, &firstChessProgramNames); + EditAnyPopUp(firstChessProgramNames, &firstChessProgramNames, _("Registered Engines")); +} + +void +EditThemesProc () +{ + EditAnyPopUp(appData.themeNames, &appData.themeNames, _("Predefined Themes")); +} + +void +EditMenuProc () +{ + EditAnyPopUp(icsTextMenuString, &icsTextMenuString, _("ICS Text-Menu Definition")); +} + +void +MuteProc () +{ + mute = !mute; + MarkMenuItem("Options.Mute", mute); } void @@ -644,14 +662,17 @@ MenuItem viewMenu[] = { {N_("Move History"), "h", "MoveHistory", HistoryShowProc, CHECK}, // [HGM] hist: activate 4.2.7 code {N_("Evaluation Graph"), "e", "EvaluationGraph", EvalGraphProc, CHECK}, {N_("Game List"), "g", "GameList", ShowGameListProc, CHECK}, - {N_("ICS text menu"), NULL, "ICStextmenu", IcsTextProc, CHECK}, {"----", NULL, NULL, NothingProc}, {N_("Tags"), NULL, "Tags", EditTagsProc, CHECK}, {N_("Comments"), NULL, "Comments", EditCommentProc, CHECK}, {N_("ICS Input Box"), NULL, "ICSInputBox", IcsInputBoxProc, CHECK}, {N_("ICS/Chat Console"), NULL, "OpenChatWindow", ChatProc, CHECK}, + {N_("ICS text menu"), NULL, "ICStextmenu", IcsTextProc, CHECK}, + {N_("Edit ICS menu..."), NULL, "EditTextMenu", EditMenuProc}, {"----", NULL, NULL, NothingProc}, + {N_("Edit Theme List..."), NULL, "EditThemeList", EditThemesProc}, {N_("Board..."), NULL, "Board", BoardOptionsProc}, + {N_("Fonts..."), NULL, "Fonts", FontsProc}, {N_("Game List Tags..."), NULL, "GameListTags", GameListOptionsProc}, {NULL, NULL, NULL, NULL} }; @@ -712,6 +733,8 @@ MenuItem engineMenu[100] = { }; MenuItem optionsMenu[] = { + {N_("Mute all Sounds"), NULL, "Mute", MuteProc, CHECK}, + {"----", NULL, NULL, NothingProc}, #ifdef OPTIONSDIALOG {N_("General..."), NULL, "General", OptionsProc}, #endif