mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-26 18:07:18 +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,
|
void LyXView::showDialogWithData(string const & name, string const & data)
|
||||||
string const & data)
|
|
||||||
{
|
{
|
||||||
getDialogs().show(name, data);
|
getDialogs().show(name, data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void LyXView::showInsetDialog(string const & name, string const & data,
|
void LyXView::showInsetDialog(string const & name, string const & data,
|
||||||
InsetBase * inset)
|
InsetBase * inset)
|
||||||
{
|
{
|
||||||
getDialogs().show(name, data, inset);
|
getDialogs().show(name, data, inset);
|
||||||
}
|
}
|
||||||
|
@ -261,18 +261,14 @@ Dialogs::DialogPtr Dialogs::build(string const & name)
|
|||||||
} else if (name == "index") {
|
} else if (name == "index") {
|
||||||
dialog->bc().view(new GBC(dialog->bc()));
|
dialog->bc().view(new GBC(dialog->bc()));
|
||||||
dialog->setController(new ControlCommand(*dialog, name, name));
|
dialog->setController(new ControlCommand(*dialog, name, name));
|
||||||
// FIXME UNICODE
|
dialog->setView(new GText(*dialog, _("Index Entry"),
|
||||||
dialog->setView(new GText(*dialog,
|
_("Keyword:|#K")));
|
||||||
lyx::to_utf8(_("Index Entry")),
|
|
||||||
lyx::to_utf8(_("Keyword:|#K"))));
|
|
||||||
dialog->bc().bp(new NoRepeatedApplyReadOnlyPolicy);
|
dialog->bc().bp(new NoRepeatedApplyReadOnlyPolicy);
|
||||||
} else if (name == "label") {
|
} else if (name == "label") {
|
||||||
dialog->bc().view(new GBC(dialog->bc()));
|
dialog->bc().view(new GBC(dialog->bc()));
|
||||||
dialog->setController(new ControlCommand(*dialog, name, name));
|
dialog->setController(new ControlCommand(*dialog, name, name));
|
||||||
// FIXME UNICODE
|
dialog->setView(new GText(*dialog, _("Label"),
|
||||||
dialog->setView(new GText(*dialog,
|
_("Label:|#L")));
|
||||||
lyx::to_utf8(_("Label")),
|
|
||||||
lyx::to_utf8(_("Label:|#L"))));
|
|
||||||
dialog->bc().bp(new NoRepeatedApplyReadOnlyPolicy);
|
dialog->bc().bp(new NoRepeatedApplyReadOnlyPolicy);
|
||||||
} else if (name == "log") {
|
} else if (name == "log") {
|
||||||
dialog->bc().view(new GBC(dialog->bc()));
|
dialog->bc().view(new GBC(dialog->bc()));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user