forgot this

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15359 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2006-10-18 08:44:44 +00:00
parent dc76f58590
commit 1e12ef87f5
2 changed files with 6 additions and 11 deletions

View File

@ -242,15 +242,14 @@ void LyXView::showDialog(string const & name)
}
void LyXView::showDialogWithData(string const & name,
string const & data)
void LyXView::showDialogWithData(string const & name, string const & data)
{
getDialogs().show(name, data);
}
void LyXView::showInsetDialog(string const & name, string const & data,
InsetBase * inset)
InsetBase * inset)
{
getDialogs().show(name, data, inset);
}

View File

@ -261,18 +261,14 @@ Dialogs::DialogPtr Dialogs::build(string const & name)
} else if (name == "index") {
dialog->bc().view(new GBC(dialog->bc()));
dialog->setController(new ControlCommand(*dialog, name, name));
// FIXME UNICODE
dialog->setView(new GText(*dialog,
lyx::to_utf8(_("Index Entry")),
lyx::to_utf8(_("Keyword:|#K"))));
dialog->setView(new GText(*dialog, _("Index Entry"),
_("Keyword:|#K")));
dialog->bc().bp(new NoRepeatedApplyReadOnlyPolicy);
} else if (name == "label") {
dialog->bc().view(new GBC(dialog->bc()));
dialog->setController(new ControlCommand(*dialog, name, name));
// FIXME UNICODE
dialog->setView(new GText(*dialog,
lyx::to_utf8(_("Label")),
lyx::to_utf8(_("Label:|#L"))));
dialog->setView(new GText(*dialog, _("Label"),
_("Label:|#L")));
dialog->bc().bp(new NoRepeatedApplyReadOnlyPolicy);
} else if (name == "log") {
dialog->bc().view(new GBC(dialog->bc()));