diff options
author | sr55 <[email protected]> | 2010-07-31 19:26:05 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2010-07-31 19:26:05 +0000 |
commit | 2f3fe64a4c9fcdcca221ee9b9a38dde176a19225 (patch) | |
tree | 831b88c814aa5bf5333e5691bf332696afadaad7 /win/C#/frmAbout.cs | |
parent | 1137c419d3a1d4d0e53aba2ae6baaf48e1e33d0b (diff) |
WinGui:
- Simply the versioning of the Windows GUI so it's less confusing.
- GUI now only displays the CLI Version. The GUI will however check that it's own executable build revision is not greater than the CLI and report an error if it is.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3463 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmAbout.cs')
-rw-r--r-- | win/C#/frmAbout.cs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/win/C#/frmAbout.cs b/win/C#/frmAbout.cs index 9db62f871..70fc92250 100644 --- a/win/C#/frmAbout.cs +++ b/win/C#/frmAbout.cs @@ -6,7 +6,6 @@ namespace Handbrake
{
using System;
- using System.Reflection;
using System.Windows.Forms;
/// <summary>
@@ -20,12 +19,9 @@ namespace Handbrake public frmAbout()
{
InitializeComponent();
- lbl_HBBuild.Text = "CLI Build: " + Properties.Settings.Default.hb_version + " (" + Properties.Settings.Default.hb_build +
- ") - " + Properties.Settings.Default.hb_platform;
- Version gui = Assembly.GetExecutingAssembly().GetName().Version;
- Version appServices = HandBrake.ApplicationServices.Init.AssemblyVersion();
- lbl_GUIBuild.Text = gui.ToString(4) + " (Services: " + appServices.ToString(4) + ")";
+ string nightly = Properties.Settings.Default.hb_version.Contains("svn") ? " (SVN / Nightly Build)" : string.Empty;
+ lbl_GUIBuild.Text = Properties.Settings.Default.hb_version + " (" + Properties.Settings.Default.hb_build + ") " + nightly;
}
/// <summary>
|