From 5e9c0cf341ed15642e78dd61bcc8731399bafedb Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Thu, 29 Dec 2011 15:51:18 +0100 Subject: [PATCH] Abandon single-letter menus in tinyLayout Now that the items on the main menu bar are clipped, it iso longer necessary to abbreviate them. --- xboard.c | 11 +---------- 1 files changed, 1 insertions(+), 10 deletions(-) diff --git a/xboard.c b/xboard.c index 7e2443c..4e63186 100644 --- a/xboard.c +++ b/xboard.c @@ -3974,16 +3974,7 @@ Widget CreateMenuBar(mb, boardWidth) strncat(menuName, mb->ref, MSG_SIZ - strlen(menuName) - 1); j = 0; XtSetArg(args[j], XtNmenuName, XtNewString(menuName)); j++; - if (tinyLayout) { - char shortName[2]; - shortName[0] = mb->name[0]; - shortName[1] = NULLCHAR; - XtSetArg(args[j], XtNlabel, XtNewString(shortName)); j++; - } - else { - XtSetArg(args[j], XtNlabel, XtNewString(_(mb->name))); j++; - } - + XtSetArg(args[j], XtNlabel, XtNewString(_(mb->name))); j++; XtSetArg(args[j], XtNborderWidth, 0); j++; mb->subMenu = XtCreateManagedWidget(mb->name, menuButtonWidgetClass, menuBar, args, j); -- 1.7.0.4