On Fri, Sep 27, 2002 at 10:59:12AM +0100, Angus Leeming wrote: > André, > > I take it that this is commented out for now because RefInset > derives from CommandInset rather than InsetCommand? > // cmd.view()->owner()->getDialogs()->showRef(this);
Yes. This is part of the "proof of concept code" for the "inset unification". But as the latter was voted down I had to remove the dialog interaction "just to make it work". > I ask because I had a go last night at turning John's rewrite of > the label dialog into working code. It would presumably result > in a similar call > // cmd.view()->owner()->getDialogs()->showLabel(this); > which I guess would fail also, for similar reasons. Indeed. Note that (short of using the IMNSHO optimal solution of "unified insets") this might be achievable by using lfun dispatch to pop up the dialogs. But that would probably mean a bit more work on the gui<->core interface to avoid direct pointers/references and use lfuns for communication instead. [Or have two copys of the dialogs, one for non-math, one for math *urgs*] Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)