]> git.lyx.org Git - features.git/blobdiff - src/ToolbarDefaults.C
more NEW_INSETS changes, define NEW_MANUBAR as default some other changes, read ChangeLog
[features.git] / src / ToolbarDefaults.C
index 75bdaef0292629bc72b792cc3bb36372d27c0325..e2f04188a218470723f46bb569b2a9f1df396802 100644 (file)
 #include "lyxlex.h"
 #include "debug.h"
 #include "lyxlex.h"
+#if 1
+// only until we don't need access tot he NEW_INSETS or NEW_TABULAR anymore
+#include "lyxparagraph.h"
+#endif
 
 using std::endl;
 
@@ -56,8 +60,13 @@ void ToolbarDefaults::init()
        add(LFUN_FREE);
        add(SEPARATOR);
        
+#ifndef NEW_INSETS     
        add(LFUN_FOOTMELT);
        add(LFUN_MARGINMELT);
+#else
+       add(LFUN_INSET_FOOTNOTE);
+       add(LFUN_INSET_MARGINAL);
+#endif
        add(LFUN_DEPTH);
        add(SEPARATOR);
 
@@ -66,7 +75,11 @@ void ToolbarDefaults::init()
        add(SEPARATOR);
 
        add(LFUN_FIGURE);
+#ifndef NEW_TABULAR
        add(LFUN_TABLE);
+#else
+       add(LFUN_INSET_TABULAR);
+#endif
        //add(LFUN_MELT);
 }