X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xevalgraph.c;h=cb7dbe35f938eb3a9c7310cd62c05cabe2b699bc;hb=2eff6e6600cef28c3b915205dbd75e63b3cd641e;hp=79e38d6905c2473ede5c52fadd507fe5445e49cf;hpb=fd1213c4557770ea82b25e443230345f50dfb97c;p=xboard.git diff --git a/xevalgraph.c b/xevalgraph.c index 79e38d6..cb7dbe3 100644 --- a/xevalgraph.c +++ b/xevalgraph.c @@ -92,6 +92,7 @@ extern char *getenv(); Pixmap icons[8]; // [HGM] this front-end array translates back-end icon indicator to handle Widget outputField[2][7]; // [HGM] front-end array to translate output field to window handle +static char *title = N_("Evaluation graph"); //extern WindowPlacement wpEvalGraph; @@ -198,6 +199,8 @@ static void DisplayEvalGraph() // back-end painting; calls back front-end primitives for lines, rectangles and text PaintEvalGraph(); + XtSetArg(args[0], XtNtitle, MakeEvalTitle(_(title))); j++; + XtSetValues(evalGraphShell, args, 1); XSync(yDisplay, False); } @@ -343,7 +346,6 @@ EvalGraphPopUp() Arg args[16]; int j; static int needInit = TRUE; - static char *title = N_("Evaluation graph"); if (evalGraphShell == NULL) {