* src/inset/InsetNomencl.cpp:

- indicate content of nomencl inset (bug 5183).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@26224 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2008-08-22 16:17:34 +00:00
parent e671b0201a
commit dc8d51bd80
2 changed files with 9 additions and 1 deletions

View File

@ -36,7 +36,14 @@ InsetNomencl::InsetNomencl(InsetCommandParams const & p)
docstring const InsetNomencl::getScreenLabel(Buffer const &) const
{
return _("Nom");
size_t const maxLabelChars = 25;
docstring label = _("Nom: ") + getParam("symbol");
if (label.size() > maxLabelChars) {
label.erase(maxLabelChars - 3);
label += "...";
}
return label;
}

View File

@ -42,6 +42,7 @@ What's new
* USER INTERFACE
- The nomenclature insets now indicate their content (bug 5183).
* WINDOWS INSTALLER