mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 11:08:41 +00:00
forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15359 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
dc76f58590
commit
1e12ef87f5
@ -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);
|
||||
}
|
||||
|
@ -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()));
|
||||
|
Loading…
Reference in New Issue
Block a user