[chronojump] buildDate more useful now
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] buildDate more useful now
- Date: Wed, 27 Jul 2016 16:53:39 +0000 (UTC)
commit 36d4e195cbe5722dcf45c488cc4c8c9983e5b45c
Author: Xavier de Blas <xaviblas gmail com>
Date: Wed Jul 27 18:49:32 2016 +0200
buildDate more useful now
howto_compile.txt | 5 ++++-
src/chronojump.cs | 2 --
src/gui/chronojump.cs | 7 +++++--
3 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/howto_compile.txt b/howto_compile.txt
index 6370c41..6d30bf1 100644
--- a/howto_compile.txt
+++ b/howto_compile.txt
@@ -1,5 +1,8 @@
-
+____
+for partial releases:
change buildDate string on src/chronojump.cs
+if it's a release, leave buildDate empty
+____
-------------------------------------------------------------------
diff --git a/src/chronojump.cs b/src/chronojump.cs
index ec6fe04..802db3a 100644
--- a/src/chronojump.cs
+++ b/src/chronojump.cs
@@ -38,7 +38,6 @@ public class ChronoJump
private static string progVersion = ""; //now in "version" file
private static string progName = "Chronojump";
- private static string buildDate = "2016-07-27";
private static string runningFolder;
@@ -128,7 +127,6 @@ public class ChronoJump
}
LogB.Information("Platform:" + Environment.OSVersion.Platform);
- LogB.Information("Build date:" + buildDate);
LogB.Information("baseDir0:", System.AppDomain.CurrentDomain.BaseDirectory);
LogB.Information("baseDir1:", baseDirectory);
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index b234470..53f1ed8 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -627,8 +627,11 @@ public partial class ChronoJumpWindow
//presentationInit();
videoCaptureInitialize();
-
- label_version.Text = progVersion;
+
+ //leave empty on new releases
+ string buildDate = " (2016-07-27)";
+ label_version.Text = progVersion + buildDate;
+ LogB.Information("Build date:" + buildDate);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]