From 1e12ef87f519f7a3cd34155e64967f8f07140b02 Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Wed, 18 Oct 2006 08:44:44 +0000 Subject: [PATCH] forgot this git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15359 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/LyXView.C | 5 ++--- src/frontends/gtk/Dialogs.C | 12 ++++-------- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/src/frontends/LyXView.C b/src/frontends/LyXView.C index aa259905b6..7a901b6a10 100644 --- a/src/frontends/LyXView.C +++ b/src/frontends/LyXView.C @@ -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); } diff --git a/src/frontends/gtk/Dialogs.C b/src/frontends/gtk/Dialogs.C index 1b23991f9b..18f4ed56a3 100644 --- a/src/frontends/gtk/Dialogs.C +++ b/src/frontends/gtk/Dialogs.C @@ -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())); -- 2.39.2