+ case LFUN_DIALOG_SHOW_NEW_INSET:
+ if (ev.argument == "bibitem")
+ code = InsetOld::BIBITEM_CODE;
+ else if (ev.argument == "bibtex")
+ code = InsetOld::BIBTEX_CODE;
+ else if (ev.argument == "citation")
+ code = InsetOld::CITE_CODE;
+ else if (ev.argument == "ert")
+ code = InsetOld::ERT_CODE;
+ else if (ev.argument == "external")
+ code = InsetOld::EXTERNAL_CODE;
+ else if (ev.argument == "float")
+ code = InsetOld::FLOAT_CODE;
+ else if (ev.argument == "graphics")
+ code = InsetOld::GRAPHICS_CODE;
+ else if (ev.argument == "include")
+ code = InsetOld::INCLUDE_CODE;
+ else if (ev.argument == "index")
+ code = InsetOld::INDEX_CODE;
+ else if (ev.argument == "label")
+ code = InsetOld::LABEL_CODE;
+ else if (ev.argument == "minipage")
+ code = InsetOld::MINIPAGE_CODE;
+ else if (ev.argument == "ref")
+ code = InsetOld::REF_CODE;
+ else if (ev.argument == "toc")
+ code = InsetOld::TOC_CODE;
+ else if (ev.argument == "url")
+ code = InsetOld::URL_CODE;
+ else if (ev.argument == "wrap")
+ code = InsetOld::WRAP_CODE;