Is somebody in love with the release date that we show in About LyX?
It strikes me as useless (and one more thing to update before relase).

What about this patch?

JMarc

Index: src/frontends/controllers/ControlAboutlyx.C
===================================================================
--- src/frontends/controllers/ControlAboutlyx.C	(revision 14657)
+++ src/frontends/controllers/ControlAboutlyx.C	(working copy)
@@ -85,8 +85,6 @@ string const ControlAboutlyx::getVersion
 
 	ss << _("LyX Version ")
 	   << lyx_version
-	   << _(" of ")
-	   << lyx_release_date
 	   << "\n"
 	   << _("Library directory: ")
 	   << MakeDisplayPath(package().system_support())
Index: src/version.h
===================================================================
--- src/version.h	(revision 14657)
+++ src/version.h	(working copy)
@@ -14,8 +14,6 @@
 
 ///
 extern char const * lyx_version;
-///
-extern char const * lyx_release_date;
 
 /// This is the version information shown by 'lyx -version'
 extern char const * lyx_version_info;
Index: src/lyx_main.C
===================================================================
--- src/lyx_main.C	(revision 14657)
+++ src/lyx_main.C	(working copy)
@@ -872,8 +872,7 @@ int parse_help(string const &, string co
 
 int parse_version(string const &, string const &)
 {
-	lyxerr << "LyX " << lyx_version
-	       << " of " << lyx_release_date << endl;
+	lyxerr << "LyX " << lyx_version << endl;
 	lyxerr << "Built on " << __DATE__ << ", " << __TIME__ << endl;
 
 	lyxerr << lyx_version_info << endl;
Index: src/version.C.in
===================================================================
--- src/version.C.in	(revision 14657)
+++ src/version.C.in	(working copy)
@@ -14,8 +14,6 @@
 
 ///
 char const * lyx_version = "@PACKAGE_VERSION@";
-///
-char const * lyx_release_date = "Fri, Jul 13, 2006";
 
 /// This is the version information shown by 'lyx -version'
 char const * lyx_version_info = "@VERSION_INFO@";

Reply via email to