]> git.lyx.org Git - lyx.git/blobdiff - src/ToolbarDefaults.C
citation patch from Angus
[lyx.git] / src / ToolbarDefaults.C
index e2f04188a218470723f46bb569b2a9f1df396802..7b98891ee67c301370afb2c09950bc455b35b3dd 100644 (file)
@@ -21,7 +21,7 @@
 #include "debug.h"
 #include "lyxlex.h"
 #if 1
-// only until we don't need access tohe NEW_INSETS or NEW_TABULAR anymore
+// only until we don't need access to the NEW_INSETS or NEW_TABULAR anymore
 #include "lyxparagraph.h"
 #endif
 
@@ -75,11 +75,7 @@ void ToolbarDefaults::init()
        add(SEPARATOR);
 
        add(LFUN_FIGURE);
-#ifndef NEW_TABULAR
-       add(LFUN_TABLE);
-#else
-       add(LFUN_INSET_TABULAR);
-#endif
+       add(LFUN_DIALOG_TABULAR_INSERT);
        //add(LFUN_MELT);
 }
 
@@ -121,9 +117,6 @@ void ToolbarDefaults::read(LyXLex & lex)
                lex.printTable(lyxerr);
        
        while (lex.IsOK() && !quit) {
-               
-               lyxerr[Debug::GUI] << "Toolbar::read: current lex text: `"
-                                      << lex.GetString() << '\'' << endl;
 
                switch(lex.lex()) {
                case TO_ADD: