rem: WMMoveWidget(panel->icommandL, 10, 43);
add: WMMoveWidget(panel->icommandL, 10, 20);  WMSetListAction(panel->icommandL, icommandLClicked, panel);
context: createPanel(_Panel *p){    _Panel *panel = (_Panel*)p;    WMScreen *scr = WMWidgetScreen(panel->win);    WMColor *black = WMBlackColor(scr);    WMColor *white = WMWhiteColor(scr);    WMColor *dark = WMDarkGrayColor(scr);    WMColor *gray = WMGrayColor(scr);    WMFont *bold = WMBoldSystemFontOfSize(scr, 12);    WMFont *font = WMSystemFontOfSize(scr, 12);    WMLabel *label;    int width;    menuDelegate.data = panel;        panel->boldFont = bold;    panel->normalFont = font;    panel->black = black;    panel->white = white;    panel->gray = gray;    {	Pixmap pix;	Display *dpy = WMScreenDisplay(scr);	GC gc;	panel->markerPix = WMCreatePixmap(scr, 7, 7, WMScreenDepth(scr), True);	pix = WMGetPixmapXID(panel->markerPix);	XDrawLine(dpy, pix, WMColorGC(black), 1, 0, 6, 3);	XDrawLine(dpy, pix, WMColorGC(black), 1, 6, 6, 3);	XDrawLine(dpy, pix, WMColorGC(black), 1, 0, 3, 3);	XDrawLine(dpy, pix, WMColorGC(black), 1, 6, 3, 3);	XDrawLine(dpy, pix, WMColorGC(black), 0, 0, 0, 6);	pix = WMGetPixmapMaskXID(panel->markerPix);	gc = XCreateGC(dpy, pix, 0, NULL);	XSetForeground(dpy, gc, 0);	XFillRectangle(dpy, pix, gc, 0, 0, 7, 7);	XSetForeground(dpy, gc, 1);	XDrawLine(dpy, pix, gc, 1, 0, 6, 3);	XDrawLine(dpy, pix, gc, 1, 6, 6, 3);	XDrawLine(dpy, pix, gc, 1, 0, 3, 3);	XDrawLine(dpy, pix, gc, 1, 6, 3, 3);	XDrawLine(dpy, pix, gc, 0, 0, 0, 6);	XFreeGC(dpy, gc);    }    panel->frame = WMCreateFrame(panel->win);    WMResizeWidget(panel->frame, FRAME_WIDTH, FRAME_HEIGHT);    WMMoveWidget(panel->frame, FRAME_LEFT, FRAME_TOP);    panel->typeP = WMCreatePopUpButton(panel->frame);    WMResizeWidget(panel->typeP, 150, 20);    WMMoveWidget(panel->typeP, 10, 10);    WMAddPopUpButtonItem(panel->typeP, _("Items"));    WMAddPopUpButtonItem(panel->typeP, _("Sample Commands"));    WMAddPopUpButtonItem(panel->typeP, _("Sample Submenus"));        WMSetPopUpButtonSelectedItem(panel->typeP, 0);    {	WEditMenu *pad;	WEditMenu *tmp;	WEditMenuItem *item;	ItemData *data;	pad = WCreateEditMenuPad(panel->frame);	WMResizeWidget(pad, 150, 180);	WMMoveWidget(pad, 10, 40);	WSetEditMenuMinSize(pad, wmksize(150, 180));	WSetEditMenuMaxSize(pad, wmksize(150, 180));	WSetEditMenuSelectable(pad, False);	WSetEditMenuEditable(pad, False);	WSetEditMenuIsFactory(pad, True);	WSetEditMenuDelegate(pad, &menuDelegate);	item = WInsertMenuItemWithTitle(pad, 0, "Run Program");	data = NEW(ItemData);	data->type = ExecInfo;	WSetEditMenuItemData(item, data, (WMCallback*)freeItemData);	item = WInsertMenuItemWithTitle(pad, 1, "Internal Command");	data = NEW(ItemData);	data->type = CommandInfo;	WSetEditMenuItemData(item, data, (WMCallback*)freeItemData);	item = WInsertMenuItemWithTitle(pad, 2, "Submenu");	tmp = WCreateEditMenu(scr, "Submenu");	WSetEditMenuAcceptsDrop(tmp, True);	WSetEditMenuDelegate(tmp, &menuDelegate);	WSetEditMenuSubmenu(pad, item, tmp);	item = WInsertMenuItemWithTitle(pad, 3, "External Submenu");	WSetEditMenuItemImage(item, panel->markerPix);	data = NEW(ItemData);	data->type = ExternalInfo;	WSetEditMenuItemData(item, data, (WMCallback*)freeItemData);	item = WInsertMenuItemWithTitle(pad, 4, "Generated Submenu");	WSetEditMenuItemImage(item, panel->markerPix);	data = NEW(ItemData);	data->type = PipeInfo;	WSetEditMenuItemData(item, data, (WMCallback*)freeItemData);	item = WInsertMenuItemWithTitle(pad, 5, "Directory Contents");	WSetEditMenuItemImage(item, panel->markerPix);	data = NEW(ItemData);	data->type = DirectoryInfo;	WSetEditMenuItemData(item, data, (WMCallback*)freeItemData);	item = WInsertMenuItemWithTitle(pad, 6, "Workspace Menu");	WSetEditMenuItemImage(item, panel->markerPix);	data = NEW(ItemData);	data->type = WSMenuInfo;	WSetEditMenuItemData(item, data, (WMCallback*)freeItemData);	panel->itemPad = pad;    }    width = FRAME_WIDTH - 20 - 150 - 10;    panel->optionsF = WMCreateFrame(panel->frame);    WMResizeWidget(panel->optionsF, width, FRAME_HEIGHT - 15);    WMMoveWidget(panel->optionsF, 10 + 150 + 10, 5);        width -= 20;    /* command */        panel->commandF = WMCreateFrame(panel->optionsF);    WMResizeWidget(panel->commandF, width, 50);    WMMoveWidget(panel->commandF, 10, 20);    WMSetFrameTitle(panel->commandF, _("Program to Run"));    panel->commandT = WMCreateTextField(panel->commandF);    WMResizeWidget(panel->commandT, width - 20, 20);    WMMoveWidget(panel->commandT, 10, 20);    WMAddNotificationObserver(dataChanged, panel,			      WMTextDidChangeNotification,			      panel->commandT);#if 0    panel->xtermC = WMCreateSwitchButton(panel->commandF);    WMResizeWidget(panel->xtermC, width - 20, 20);    WMMoveWidget(panel->xtermC, 10, 50);    WMSetButtonText(panel->xtermC, _("Run the program inside a Xterm"));#endif    WMMapSubwidgets(panel->commandF);    /* path */    panel->pathF = WMCreateFrame(panel->optionsF);    WMResizeWidget(panel->pathF, width, 150);    WMMoveWidget(panel->pathF, 10, 40);    WMSetFrameTitle(panel->pathF, _("Path for Menu"));    panel->pathT = WMCreateTextField(panel->pathF);    WMResizeWidget(panel->pathT, width - 20, 20);    WMMoveWidget(panel->pathT, 10, 20);    WMAddNotificationObserver(dataChanged, panel,			      WMTextDidChangeNotification,			      panel->pathT);        label = WMCreateLabel(panel->pathF);    WMResizeWidget(label, width - 20, 80);    WMMoveWidget(label, 10, 50);    WMSetLabelText(label, _("Enter the path for a file containing a menu\n"			    "or a list of directories with the programs you\n"			    "want to have listed in the menu. Ex:\n"			    "~/GNUstep/Library/WindowMaker/menu\n"			    "or\n"			    "/usr/X11R6/bin ~/xbin"));    WMMapSubwidgets(panel->pathF);    /* pipe */    panel->pipeF = WMCreateFrame(panel->optionsF);    WMResizeWidget(panel->pipeF, width, 100);    WMMoveWidget(panel->pipeF, 10, 50);    WMSetFrameTitle(panel->pipeF, _("Command"));    panel->pipeT = WMCreateTextField(panel->pipeF);    WMResizeWidget(panel->pipeT, width - 20, 20);    WMMoveWidget(panel->pipeT, 10, 20);    WMAddNotificationObserver(dataChanged, panel,			      WMTextDidChangeNotification,			      panel->pipeT);    label = WMCreateLabel(panel->pipeF);    WMResizeWidget(label, width - 20, 40);    WMMoveWidget(label, 10, 50);    WMSetLabelText(label, _("Enter a command that outputs a menu\n"			    "definition to stdout when invoked."));    WMMapSubwidgets(panel->pipeF);    /* directory menu */    panel->dcommandF = WMCreateFrame(panel->optionsF);    WMResizeWidget(panel->dcommandF, width, 90);    WMMoveWidget(panel->dcommandF, 10, 25);    WMSetFrameTitle(panel->dcommandF, _("Command to Open Files"));    panel->dcommandT = WMCreateTextField(panel->dcommandF);    WMResizeWidget(panel->dcommandT, width - 20, 20);    WMMoveWidget(panel->dcommandT, 10, 20);    WMAddNotificationObserver(dataChanged, panel,			      WMTextDidChangeNotification,			      panel->dcommandT);    label = WMCreateLabel(panel->dcommandF);    WMResizeWidget(label, width - 20, 45);    WMMoveWidget(label, 10, 40);    WMSetLabelText(label, _("Enter the command you want to use to open the\n"			    "files in the directories listed below."));    WMMapSubwidgets(panel->dcommandF);    panel->dpathF = WMCreateFrame(panel->optionsF);    WMResizeWidget(panel->dpathF, width, 80);    WMMoveWidget(panel->dpathF, 10, 125);    WMSetFrameTitle(panel->dpathF, _("Directories with Files"));    panel->dpathT = WMCreateTextField(panel->dpathF);    WMResizeWidget(panel->dpathT, width - 20, 20);    WMMoveWidget(panel->dpathT, 10, 20);    WMAddNotificationObserver(dataChanged, panel,			      WMTextDidChangeNotification,			      panel->dpathT);    panel->dstripB = WMCreateSwitchButton(panel->dpathF);    WMResizeWidget(panel->dstripB, width - 20, 20);    WMMoveWidget(panel->dstripB, 10, 50);    WMSetButtonText(panel->dstripB, _("Strip extensions from file names"));    WMSetButtonAction(panel->dstripB, stripClicked, panel);        WMMapSubwidgets(panel->dpathF);    /* shortcut */    panel->shortF = WMCreateFrame(panel->optionsF);    WMResizeWidget(panel->shortF, width, 50);    WMMoveWidget(panel->shortF, 10, 160);    WMSetFrameTitle(panel->shortF, _("Keyboard Shortcut"));    panel->shortT = WMCreateTextField(panel->shortF);    WMResizeWidget(panel->shortT, width - 20 - 170, 20);    WMMoveWidget(panel->shortT, 10, 20);    WMAddNotificationObserver(dataChanged, panel,			      WMTextDidChangeNotification,			      panel->shortT);    panel->sgrabB = WMCreateCommandButton(panel->shortF);    WMResizeWidget(panel->sgrabB, 80, 24);    WMMoveWidget(panel->sgrabB, width - 90, 18);    WMSetButtonText(panel->sgrabB, _("Capture"));    panel->sclearB = WMCreateCommandButton(panel->shortF);    WMResizeWidget(panel->sclearB, 80, 24);    WMMoveWidget(panel->sclearB, width - 175, 18);    WMSetButtonText(panel->sclearB, _("Clear"));    WMMapSubwidgets(panel->shortF);    /* internal command */    label = WMCreateLabel(panel->optionsF);    WMResizeWidget(label, width, 20);    WMMoveWidget(label, 10, 20);    WMSetWidgetBackgroundColor(label, dark);    WMSetLabelText(label, _("Commands"));    WMSetLabelTextColor(label, white);    WMSetLabelFont(label, bold);    WMSetLabelRelief(label, WRSunken);    panel->icommandL = WMCreateList(panel->optionsF);    WMResizeWidget(panel->icommandL, width, 80);    WMMoveWidget(panel->icommandL, 10, 43);    WMAddNotificationObserver(dataChanged, panel,			      WMListSelectionDidChangeNotification,			      panel->icommandL);    WMInsertListItem(panel->icommandL, 0, _("Arrange Icons"));    WMInsertListItem(panel->icommandL, 1, _("Hide All Windows Except For The Focused One"));    WMInsertListItem(panel->icommandL, 2, _("Show All Windows"));    WMInsertListItem(panel->icommandL, 3, _("Exit Window Maker"));    WMInsertListItem(panel->icommandL, 4, _("Exit X Session"));    WMInsertListItem(panel->icommandL, 5, _("Restart Window Maker"));    WMInsertListItem(panel->icommandL, 6, _("Start Another Window Manager   : ("));    WMInsertListItem(panel->icommandL, 7, _("Save Current Session"));    WMInsertListItem(panel->icommandL, 8, _("Clear Saved Session"));    WMInsertListItem(panel->icommandL, 9, _("Refresh Screen"));    WMInsertListItem(panel->icommandL, 10, _("Open Info Panel"));    WMInsertListItem(panel->icommandL, 11, _("Open Copyright Panel"));    WMRealizeWidget(panel->frame);    WMMapSubwidgets(panel->frame);    WMMapWidget(panel->frame);                panel->sections[ExecInfo][0] = panel->commandF;    panel->sections[ExecInfo][1] = panel->shortF;    panel->sections[CommandInfo][0] = panel->icommandL;    panel->sections[CommandInfo][1] = label;    panel->sections[CommandInfo][2] = panel->shortF;    panel->sections[ExternalInfo][0] = panel->pathF;    panel->sections[PipeInfo][0] = panel->pipeF;    panel->sections[DirectoryInfo][0] = panel->dpathF;    panel->sections[DirectoryInfo][1] = panel->dcommandF;    panel->currentType = NoInfo;    showData(panel);}