]> git.lyx.org Git - lyx.git/blobdiff - src/ToolbarDefaults.C
Rob's latest and greatest dialog tweaking.
[lyx.git] / src / ToolbarDefaults.C
index 8930ae982a3b827be2f02ee4308fc2622483270c..af42a4051ae0e3325ee89fdea5577d43cd0d0816 100644 (file)
@@ -24,7 +24,6 @@
 
 using std::endl;
 
-extern LyXAction lyxaction;
 ToolbarDefaults toolbardefaults;
 
 namespace {
@@ -91,14 +90,14 @@ void ToolbarDefaults::init()
        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;
        }