X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xhistory.c;h=4277f82fea9db2d49a403b40aba0bbcaf810d946;hb=baafcd6d8002793a71c272634dc676850930a61e;hp=6eb335a9cb042befe602e9e60096279447d501a7;hpb=36c1871d84e1132cee5c4c7fe4363c442fa34af2;p=xboard.git diff --git a/xhistory.c b/xhistory.c index 6eb335a..4277f82 100644 --- a/xhistory.c +++ b/xhistory.c @@ -130,8 +130,8 @@ SelectMove (Widget w, XEvent * event, String * params, Cardinal * nParams) } Option historyOptions[] = { -{ 0xD, 200, 400, NULL, (void*) &historyText, "", NULL, TextBox, "" }, -{ 0, 2, 0, NULL, (void*) NULL, "", NULL, EndMark , "" } +{ 200, T_VSCRL | T_FILL | T_WRAP | T_TOP, 400, NULL, (void*) &historyText, "", NULL, TextBox, "" }, +{ 0, NO_OK, 0, NULL, (void*) NULL, "", NULL, EndMark , "" } }; // ------------ standard entry points into MoveHistory code ----------- @@ -151,9 +151,9 @@ MoveHistoryDialogExists () void HistoryPopUp () { - if(GenericPopUp(historyOptions, _("Move list"), HistoryDlg)) + if(GenericPopUp(historyOptions, _("Move list"), HistoryDlg, BoardWindow, NONMODAL, 1)) AddHandler(&historyOptions[0], 0); - MarkMenu("Show Move History", HistoryDlg); + MarkMenu("View.MoveHistory", HistoryDlg); } void