]> git.lyx.org Git - lyx.git/blobdiff - src/ToolbarDefaults.C
Collapse all those LFUN_XYZ_APPLY to a single LFUN_INSET_APPLY.
[lyx.git] / src / ToolbarDefaults.C
index 19c025217c96da2c91bd487b5db6616e6a73b613..224457e2bed5f6af2ee60aaeb61c80301d3a6cd9 100644 (file)
@@ -9,10 +9,6 @@
  *
  * ====================================================== */
 
-#ifdef __GNUG__
-#pragma implementation
-#endif
-
 #include <config.h>
 
 #include "ToolbarDefaults.h"
@@ -24,7 +20,6 @@
 
 using std::endl;
 
-extern LyXAction lyxaction;
 ToolbarDefaults toolbardefaults;
 
 namespace {
@@ -91,7 +86,7 @@ void ToolbarDefaults::init()
        add(SEPARATOR);
 
        add(LFUN_INSET_GRAPHICS);
-       add(LFUN_DIALOG_TABULAR_INSERT);
+       add(LFUN_TABULAR_INSERT);
 }
 
 
@@ -119,7 +114,7 @@ void ToolbarDefaults::read(LyXLex & lex)
                                string const func = lex.getString();
                                lyxerr[Debug::PARSER]
                                        << "Toolbar::read TO_ADD func: `"
-                                       << func << "'" << endl;
+                                       << func << '\'' << endl;
                                add(func);
                        }
                        break;