*
* ====================================================== */
-#ifdef __GNUG__
-#pragma implementation
-#endif
-
#include <config.h>
#include "ToolbarDefaults.h"
using std::endl;
-extern LyXAction lyxaction;
ToolbarDefaults toolbardefaults;
namespace {
add(SEPARATOR);
add(LFUN_INSET_GRAPHICS);
- add(LFUN_DIALOG_TABULAR_INSERT);
+ add(LFUN_TABULAR_INSERT);
}
void ToolbarDefaults::read(LyXLex & lex)
{
//consistency check
- if (compare_no_case(lex.getString(), "toolbar")) {
+ if (compare_ascii_no_case(lex.getString(), "toolbar")) {
lyxerr << "Toolbar::read: ERROR wrong token:`"
<< lex.getString() << '\'' << endl;
}
string const func = lex.getString();
lyxerr[Debug::PARSER]
<< "Toolbar::read TO_ADD func: `"
- << func << "'" << endl;
+ << func << '\'' << endl;
add(func);
}
break;