Different types of boxes should all have their own layouts. This

involves no change of functionality, due to the fall-back mechanism and
is needed for XHTML CSS output for the boxes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38225 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2011-04-03 12:56:58 +00:00
parent 4744d2e123
commit 41463b84e5

View File

@ -105,10 +105,7 @@ InsetBox::InsetBox(Buffer * buffer, string const & label)
docstring InsetBox::layoutName() const
{
// FIXME: UNICODE
string name = "Box";
if (boxtranslator().find(params_.type) == Shaded)
name += ":Shaded";
return from_ascii(name);
return from_ascii("Box:" + params_.type);
}