+2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
+
+ * MenuBackend.C (expand): check menu shortcuts unconditionally
+
2003-07-21 Angus Leeming <leeming@lyx.org>
* factory.C (createInset): pass a
* aspell.C: add missing namespace lyx::support
-2003-07-07 Alfredo Brauntein <abraunst@libero.it>
+2003-07-07 Alfredo Braunstein <abraunst@libero.it>
* BufferView.[Ch] (newFile): Add
* BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
* textcursor.h: new struct for cursor-related data
-2003-06-26 Alfredo Brauntein <abraunst@lyx.org>
+2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
* lyx_main.C (LyX): get full path of document loaded on the
command line
* text.C: remove only use of broken operator<= in an Assert().
-2003-06-24 Alfredo Brauntein <abraunst@lyx.org>
+2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
* BufferView.[Ch] (getErrorList): removed unneeded forward declare,
moved errorlist_.clear to showErrorList
-2003-06-24 Alfredo Brauntein <abraunst@lyx.org>
+2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
* converter.C (scanLog, runLaTeX):
* buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
void Menu::checkShortcuts() const
{
// This is a quadratic algorithm, but we do not care because
- // it is used for debugging only.
+ // menus are short enough
for (const_iterator it1 = begin(); it1 != end(); ++it1) {
string shortcut = it1->shortcut();
if (shortcut.empty())
lyxerr << "Menu warning: menu entry \""
<< it1->label()
<< "\" does not contain shortcut `"
- << shortcut << '\'' << endl;
+ << shortcut << "'." << endl;
for (const_iterator it2 = begin(); it2 != it1 ; ++it2) {
if (!compare_ascii_no_case(it2->shortcut(), shortcut)) {
lyxerr << "Menu warning: menu entries "
tomenu.items_.pop_back();
// Check whether the shortcuts are unique
- if (lyxerr.debugging(Debug::GUI))
- tomenu.checkShortcuts();
+ tomenu.checkShortcuts();
}