X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gtk%2Fxoptions.c;h=6c7784161ee27857392d7a4bcb9473fd60bd0f76;hb=55cafba6c2f03dec96d41f7a85c03d4cd641190a;hp=46b10ba7ba08c75d15ef4d9fdaa41d089f915648;hpb=25d581e9d21f19dc297f50b1faeac1f5d60b71fe;p=xboard.git diff --git a/gtk/xoptions.c b/gtk/xoptions.c index 46b10ba..6c77841 100644 --- a/gtk/xoptions.c +++ b/gtk/xoptions.c @@ -1549,6 +1549,9 @@ if(appData.debugMode) printf("n=%d, h=%d, w=%d\n",n,height,width); case DropDown: top--; msg = _(option[i].name); // write name on the menu button +#ifndef __APPLE__ + if(tinyLayout) { strcpy(def, msg); def[tinyLayout] = NULLCHAR; msg = def; } // clip menu text to keep menu bar small +#endif // XtSetArg(args[j], XtNmenuName, XtNewString(option[i].name)); j++; // XtSetArg(args[j], XtNlabel, msg); j++; option[i].handle = (void*)