-void InsetListings::init()
-{
- setButtonLabel();
- layout_.labelfont.setColor(Color_none);
-
- // FIXME: what to do with those?
- //text_.current_font.setLanguage(latex_language);
- //text_.real_current_font.setLanguage(latex_language);
-}
-
-
-InsetListings::InsetListings(BufferParams const & bp, InsetListingsParams const & par)
- : InsetCollapsable(bp, par.status())
-{
- setLayout(bp);
- init();
-}
+InsetListings::InsetListings(Buffer const & buf, InsetListingsParams const & par)
+ : InsetCollapsable(buf, par.status())
+{}