On Mon, Jan 16, 2006 at 03:01:54PM +0100, Abdel wrote: > Jean-Marc Lasgouttes a écrit : > >>>>>>"Abdel" == Abdel <[EMAIL PROTECTED]> writes: > > > >Abdel> OK, thanks. My main problem is that while a MenuItem is of > >Abdel> Submenu kind, sometimes (depends on the document you load and > >Abdel> the time of day) its associated submenu is empty. This happens > >Abdel> only for the Navigate menu, others works fine. > > > > > >I think this is related to your next question. Menu objects are > >"uninstantiated" menus, and expand should be called on the one you want to > >open (File, Edit...) before doing anything else. I agree this is not a > >very good API (instantiated menus should be a different C++ class), > >but I do not think it is a big problem, actually. > > Well, my problem then is that I don't understand the API :-(
We really, really should get rid of the homebaked GUII stuff and switch to a single frontend. If anybody is masochistic enough to maintain other frontends, he should be welcome, but that activity should not eat LyX resources. Andre'