* src/inset/InsetNomencl.cpp:

- indicate content of nomencl inset (bug 5183).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26223 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2008-08-22 16:12:29 +00:00
parent ae366e55ff
commit b556fe1bcb

View File

@ -55,7 +55,14 @@ ParamInfo const & InsetNomencl::findInfo(string const & /* cmdName */)
docstring InsetNomencl::screenLabel() const
{
return _("Nom");
size_t const maxLabelChars = 25;
docstring label = _("Nom: ") + getParam("symbol");
if (label.size() > maxLabelChars) {
label.erase(maxLabelChars - 3);
label += "...";
}
return label;
}