I've just checked out your code Jean-Marc with
        cvs update
I've just compiled the code without any problem. However, running it I get the
message
Menubar::Pimpl::set: menubackend is empty! using default values.
With or without a document loaded there are only 3 items in the menubar, File,
Edit and Documents

Looking in lib/ I see that there is no ui/ directory so typing
        cvs update -d
causes a new file to be uploaded
        lib/scripts/fen2latex.py
but then the update terminates with
        cvs [update aborted]: cannot open CVS/Entries.Log: No such file or directory

Repeating
        cvs update -d
gives
cvs update: in directory lib/scripts:
cvs update: cannot open CVS/Entries for reading: No such file or directory
cvs server: Updating lib/scripts
cvs update: move away lib/scripts/fen2latex.py; it is in the way
C lib/scripts/fen2latex.py
cvs update: move away lib/scripts/fig2pstex.py; it is in the way
C lib/scripts/fig2pstex.py
cvs update: move away lib/scripts/general_command_wrapper.py; it is in the way
C lib/scripts/general_command_wrapper.py
U lib/scripts/pic2ascii.py
cvs [update aborted]: cannot open CVS/Entries.Log: No such file or directory

Finally I typed
        cvs update -d lib/ui

This worked! However, I now worried that I'm missing something!
Angus

JMarc> OK, I have finally commited my work from this week end. A few random
notes:

JMarc> - Toolbar and menubar are in frontends, with implementation in
JMarc>   frontends/xforms. The external interface is GUI-indep. There may be
JMarc>   a way to use signals between the interface and the private
JMarc>   implementation, but I do not know how.

JMarc> - To see the new menubar at work, define NEW_MENUBAR in LyXView.C and
JMarc>   recompile. 

JMarc> - most of the menus work, except for Edit->Float, Edit->Table and a
JMarc>   few others for which I do not have lyxfuncs. I did not port Dekel's
JMarc>   TOC menu code either (Dekel, could you have a look in
JMarc>   frontends/xforms/Menubar_pimpl.C and see if you can do it?).

JMarc> - the menus and toolbar are defined in lib/ui/default.ui (actually the
JMarc>   name can be changed via lyxrc.ui_file). The toolbar is as before but
JMarc>   with different tokens (why the hell do we need the backslashes?).
JMarc>   For the menus... well, take a look and ask me if it is not clear.

JMarc> - There are still a couple of drawing problems. In particular, in some
JMarc>   situations, the shortcuts disappear from the menu bar unless you
JMarc>   move the mouse over it.

JMarc> - The shortcuts in menus are not aligned correctly. I have to look in
JMarc>   xforms code to see how it handles \t.

JMarc> JMarc

Reply via email to