]> git.lyx.org Git - lyx.git/commitdiff
forgot this
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Wed, 18 Oct 2006 08:44:44 +0000 (08:44 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Wed, 18 Oct 2006 08:44:44 +0000 (08:44 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15359 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/LyXView.C
src/frontends/gtk/Dialogs.C

index aa259905b60a0e6aec6cbf9fbd949b63af3ba504..7a901b6a10898780782c7a2951d4bbdf8ec55325 100644 (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);
 }
index 1b23991f9b83f80e161c1cbf0b14a5542269365b..18f4ed56a361e93b34f1ad9190043191750e49a6 100644 (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()));