]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormShowFile.C
Introduce LFUN_PRINT.
[lyx.git] / src / frontends / xforms / FormShowFile.C
index c1b8bb5ad0ea08e4b709f2a0bec150b4814b6ba4..5e94c49c79330ed99895ece17f21bb38f6a19ef0 100644 (file)
@@ -3,22 +3,25 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Herbert Voss
+ * \author Herbert Voß
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #include <config.h>
 
-
-#include "xformsBC.h"
-#include "ControlShowFile.h"
 #include "FormShowFile.h"
+#include "ControlShowFile.h"
 #include "forms/form_browser.h"
-#include "gettext.h"
+
+#include "xformsBC.h"
+
 #include "lyx_forms.h"
 
 
+using std::string;
+
+
 FormShowFile::FormShowFile(Dialog & parent)
        : FormController<ControlShowFile, FormBrowser>(parent, _("Show File"))
 {}
@@ -32,7 +35,7 @@ void FormShowFile::update()
        // courier medium
        fl_set_browser_fontstyle(dialog_->browser,FL_FIXED_STYLE);
 
-       string const title = "LyX: " + controller().getFileName();
+       string const title = controller().getFileName();
        setTitle(title);
 
        string const contents = controller().getFileContents();