On Jun 18, 2004, at 5:40 AM, Jean-Marc Lasgouttes wrote:
This patch fixes the contents of the menus in LyX/Mac when the active window is not the main window. In this case, all entries requiring a buffer are disabled.
Bennett, could you try it and tell me whether it feels right? Another option would be to disable _everything_ (but leave the menus in place).
I get the following compile error:
lyx_gui.C: In function `FuncStatus lyx_gui::getStatus(const FuncRequest&)':
lyx_gui.C:257: warning: control reaches end of non-void function
lyx_gui.C: At global scope:
lyx_gui.C:260: error: parse error before `return'
lyx_gui.C: In function `const std::string roman_font_name()':
lyx_gui.C:336: error: `use_gui' undeclared (first use this function)
lyx_gui.C:336: error: (Each undeclared identifier is reported only once for
each function it appears in.)
lyx_gui.C: At global scope:
lyx_gui.C:369: error: parse error before `}' token
make[5]: *** [lyx_gui.lo] Error 1
Bennett