]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormAboutlyx.C
Yet more dialog tweaking from Rob.
[lyx.git] / src / frontends / xforms / FormAboutlyx.C
index 9b63cdac382cb914be68a9d573e843a031ea4fb1..86c64c1589feee39849298ff2cb7087f6789af81 100644 (file)
@@ -1,10 +1,12 @@
 /**
  * \file FormAboutlyx.C
- * Copyright 2001 The LyX Team.
- * See the file COPYING.
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author Edwin Leuven, leuven@fee.uva.nl
- * \author Angus Leeming, a.leeming@ic.ac.uk
+ * \author Edwin Leuven
+ * \author Angus Leeming 
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 #include <config.h>
@@ -13,9 +15,9 @@
 #pragma implementation
 #endif
 
+#include "FormAboutlyx.h"
 #include "xformsBC.h"
 #include "ControlAboutlyx.h"
-#include "FormAboutlyx.h"
 #include "forms/form_aboutlyx.h"
 #include "xforms_helpers.h"
 #include FORMS_H_LOCATION
@@ -25,8 +27,8 @@ using std::getline;
 
 typedef FormCB<ControlAboutlyx, FormDB<FD_aboutlyx> > base_class;
 
-FormAboutlyx::FormAboutlyx(ControlAboutlyx & c)
-       : base_class(c, _("About LyX"), false)
+FormAboutlyx::FormAboutlyx()
+       : base_class(_("About LyX"), false)
 {}
 
 
@@ -45,11 +47,11 @@ void FormAboutlyx::build()
        license_.reset(build_aboutlyx_license(this));
 
        string str = formatted(controller().getLicense(),
-                              license_->text_license->w-10);
+                              license_->text_license->w - 10);
        fl_set_object_label(license_->text_license, str.c_str());
 
        str = formatted(controller().getDisclaimer(),
-                       license_->text_warranty->w-10);
+                       license_->text_warranty->w - 10);
        fl_set_object_label(license_->text_warranty, str.c_str());
 
        // create credits