* Massachusetts.
*
* Enhancements Copyright 1992-2001, 2002, 2003, 2004, 2005, 2006,
- * 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Free Software Foundation, Inc.
+ * 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Free
+ * Software Foundation, Inc.
*
* The following terms apply to Digital Equipment Corporation's copyright
* interest in XBoard:
snprintf(buf, sizeof(buf),
_("%s%s\n\n"
"Copyright 1991 Digital Equipment Corporation\n"
-"Enhancements Copyright 1992-2015 Free Software Foundation\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: <bug-xboard@gnu.org>\n\n"
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
{N_("Move History"), "<Alt><Shift>h", "MoveHistory", HistoryShowProc, CHECK}, // [HGM] hist: activate 4.2.7 code
{N_("Evaluation Graph"), "<Alt><Shift>e", "EvaluationGraph", EvalGraphProc, CHECK},
{N_("Game List"), "<Alt><Shift>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}
};
};
MenuItem optionsMenu[] = {
+ {N_("Mute all Sounds"), NULL, "Mute", MuteProc, CHECK},
+ {"----", NULL, NULL, NothingProc},
#ifdef OPTIONSDIALOG
{N_("General..."), NULL, "General", OptionsProc},
#endif