On Tuesday 10 December 2002 8:45 am, Jean-Marc Lasgouttes wrote: > >>>>> "John" == John Levon <[EMAIL PROTECTED]> writes: > > John> On Mon, Dec 09, 2002 at 10:04:31PM +0100, Alfredo Braunstein > > John> wrote: > >> 1) first patch to enable Layout->Preamble > > John> I don't think we want this. Preamble has been moved to the > John> Document dialog. We need to make the menus frontend-specific to > John> remove the menu item (and others like Help->Tooltips). But > John> exactly what we should do is still up in the air... > > What about the idea of disabling preamble if it is not hooked to a > signal? I can do that if someone tells me how I can test for this > condition. > > JMarc
Jean-Marc, none of them are hooked to signals anymore. See xforms/Dialogs_impl.h, xforms/Dialogs2.C. What we could do is have all these methods return a bool telling the core whether the request has been dealt with. Eg, in xforms/Dialogs2.C: bool Dialogs::showForks() { pimpl_->forks.controller().show(); return true; } and in qt2/Dialogs2.C: bool Dialogs::showForks() { return false; } Angus