X-Git-Url: http://winboard.nl/cgi-bin?p=xboard.git;a=blobdiff_plain;f=menus.c;h=75d56afadc388eb7f2ab805605ef154fa4681dcc;hp=af8e33d8c3c84046345612a0cdaddac7d5be7e02;hb=e08d26409864487703c60ffed79ee3487fc6f982;hpb=e13fd4c370773a8f4ddb364f7102caceb1513ea7 diff --git a/menus.c b/menus.c index af8e33d..75d56af 100644 --- a/menus.c +++ b/menus.c @@ -387,7 +387,13 @@ DebugProc () void EditEngineProc () { - EditEnginePopUp(firstChessProgramNames, &firstChessProgramNames); + EditAnyPopUp(firstChessProgramNames, &firstChessProgramNames, _("Registered Engines")); +} + +void +EditThemesProc () +{ + EditAnyPopUp(appData.themeNames, &appData.themeNames, _("Predefined Themes")); } void @@ -650,6 +656,7 @@ MenuItem viewMenu[] = { {N_("ICS Input Box"), NULL, "ICSInputBox", IcsInputBoxProc, CHECK}, {N_("ICS/Chat Console"), NULL, "OpenChatWindow", ChatProc, CHECK}, {"----", 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},