> But I've now found that some things don't work. E.g. trying to use
> the "File" menu in Xved to select "open" should have invoked a file
> browser. Instead I got:
>
> ;;; MISHAP - (LIVE) Widget NEEDED
> ;;; INVOLVING: <false>
Ah, yes I should have remembered this (well, it was a few months
ago!). In $usepop/pop/x/ui/lib/S-poplog_uiS-filetool_xm.p
I think the problematic code is:
if buffer then
;;; show buffer name
XtVaSetValues(XtNameToWidget(box, '*bufferText'), (#|
XmN value, buffer,
XmN cursorPosition, datalength(buffer),
|#));
XtManageChild(XmFileSelectionBoxGetChild(box,
XmDIALOG_WORK_AREA));
else
;;; don't!
XtUnmanageChild(XmFileSelectionBoxGetChild(box,
XmDIALOG_WORK_AREA));
endif;
LessTif doesn't seem to have XmDIALOG_WORK_AREA in the file widget
so NULL is being returned which then gets converted to false
by Poplog. Assuming I've remembered this correctly, commenting
out this code (or putting #_IF not(DEF LINUX) ... #_ENDIF around it)
fixes the problem.
Julian
|