[EMAIL PROTECTED] (Jürgen Spitzmüller) writes: > Please wait for Jean-Marc's input, since he's the one who brought up > the idea. If he agrees with the implementation, go ahead and apply > (given that this is tested well, of course).
The patch to configure.py looks good to me. Concerning the lyx part, in which cases is this situation supposed to happen exactly? If you want to apply it neverthless (I do not oppose to that), I would suggest two changes: - replace the following by a dialog with the two options 'Reconfigure' and 'Quit'. + // if reconfiguration is needed. + if (textclasslist.empty()) { + Alert::error(_("No textclass is found"), + _("Click OK to reconfigure lyx.")); + pimpl_->lyxfunc_.dispatch(FuncRequest(LFUN_RECONFIGURE)); + } The behaviour could be either: * always quit after reconfiguring * quit after reconfiguring if textclass is still empty (this is more complicated... maybe wait until after 1.5.2). - remove the following, since it is never reached now: + // if reconfiguration is needed. + if (textclasslist.empty()) { + Alert::error(_("No textclass is found"), + _("Click OK to reconfigure lyx.")); + pimpl_->lyxfunc_.dispatch(FuncRequest(LFUN_RECONFIGURE)); + } + JMarc