rem: if (text && strlen(text) > 0) { i = WMGetListSelectedItemRow(panel->pixL); if (i >= 0) i++; addPathToList(panel->pixL, i, text); WMSetListBottomPosition(panel->pixL, WMGetListNumberOfRows(panel->pixL)); } if (text) free(text); WMSetTextFieldText(panel->pixT, NULL); } else if (w == panel->pixrB) { i = WMGetListSelectedItemRow(panel->pixL);
context: pushButton(WMWidget *w, void *data){    _Panel *panel = (_Panel*)data;    int i;    /* icon paths */    if (w == panel->icoaB) {	char *text = WMGetTextFieldText(panel->icoT);	if (text && strlen(text) > 0) {	    i = WMGetListSelectedItemRow(panel->icoL);	    if (i >= 0) i++;	    addPathToList(panel->icoL, i, text);	    WMSetListBottomPosition(panel->icoL, 				    WMGetListNumberOfRows(panel->icoL));	}	if (text)	    free(text);	WMSetTextFieldText(panel->icoT, NULL);    } else if (w == panel->icorB) {	i = WMGetListSelectedItemRow(panel->icoL);	if (i>=0)	    WMRemoveListItem(panel->icoL, i);    }    /* pixmap paths */    if (w == panel->pixaB) {	char *text = WMGetTextFieldText(panel->pixT);	if (text && strlen(text) > 0) {	    i = WMGetListSelectedItemRow(panel->pixL);	    if (i >= 0) i++;	    addPathToList(panel->pixL, i, text);	    WMSetListBottomPosition(panel->pixL, 				    WMGetListNumberOfRows(panel->pixL));	}	if (text)	    free(text);	WMSetTextFieldText(panel->pixT, NULL);    } else if (w == panel->pixrB) {	i = WMGetListSelectedItemRow(panel->pixL);		if (i>=0)	    WMRemoveListItem(panel->pixL, i);    }}