From d869f096d1b32bf2561203551f5fc6d9dd4d18ad Mon Sep 17 00:00:00 2001 From: sr55 Date: Tue, 21 Aug 2007 15:40:27 +0000 Subject: - Fixed Spelling typo (Thanks saintdev). - Fixed File_Open not finding ts files. - Fixed Incorrect Version Number for update checker. - Fixed DVDTitle Dropdown displaying no title error when there was only 1 item in it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@848 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/C#/Properties/Settings.Designer.cs | 26 +++++++++++++------------- win/C#/Properties/Settings.settings | 6 +++--- win/C#/app.config | 6 +++--- win/C#/frmMain.Designer.cs | 2 +- win/C#/frmMain.cs | 12 +++++------- win/C#/frmQuickStart.Designer.cs | 2 +- 6 files changed, 26 insertions(+), 28 deletions(-) (limited to 'win/C#') diff --git a/win/C#/Properties/Settings.Designer.cs b/win/C#/Properties/Settings.Designer.cs index 13e28e9b8..addb9c668 100644 --- a/win/C#/Properties/Settings.Designer.cs +++ b/win/C#/Properties/Settings.Designer.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:2.0.50727.42 +// Runtime Version:2.0.50727.832 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -35,18 +35,6 @@ namespace Handbrake.Properties { } } - [global::System.Configuration.UserScopedSettingAttribute()] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.DefaultSettingValueAttribute("0.8.5b1")] - public string CliVersion { - get { - return ((string)(this["CliVersion"])); - } - set { - this["CliVersion"] = value; - } - } - [global::System.Configuration.UserScopedSettingAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Configuration.DefaultSettingValueAttribute("http://download.m0k.org/handbrake/windows/update.txt")] @@ -537,5 +525,17 @@ namespace Handbrake.Properties { this["QuickStartWindow"] = value; } } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("0.9.0")] + public string CliVersion { + get { + return ((string)(this["CliVersion"])); + } + set { + this["CliVersion"] = value; + } + } } } diff --git a/win/C#/Properties/Settings.settings b/win/C#/Properties/Settings.settings index 80d38b017..093e9a2df 100644 --- a/win/C#/Properties/Settings.settings +++ b/win/C#/Properties/Settings.settings @@ -5,9 +5,6 @@ 2.4 - - 0.8.5b1 - http://download.m0k.org/handbrake/windows/update.txt @@ -131,5 +128,8 @@ + + 0.9.0 + \ No newline at end of file diff --git a/win/C#/app.config b/win/C#/app.config index abe963c18..c10f75505 100644 --- a/win/C#/app.config +++ b/win/C#/app.config @@ -10,9 +10,6 @@ 2.4 - - 0.8.5b1 - http://download.m0k.org/handbrake/windows/update.txt @@ -133,6 +130,9 @@ + + 0.9.0 + \ No newline at end of file diff --git a/win/C#/frmMain.Designer.cs b/win/C#/frmMain.Designer.cs index a8241e04e..a6e34a283 100644 --- a/win/C#/frmMain.Designer.cs +++ b/win/C#/frmMain.Designer.cs @@ -459,7 +459,7 @@ namespace Handbrake // ISO_Open // this.ISO_Open.DefaultExt = "ISO"; - this.ISO_Open.Filter = "All Supported Files|*.iso;*.mpg;*.mpeg;*.vob"; + this.ISO_Open.Filter = "All Supported Files|*.iso;*.mpg;*.mpeg;*.vob;*.ts"; this.ISO_Open.SupportMultiDottedExtensions = true; // // FileToolStripMenuItem diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs index fcafb5dcf..c70b71c9f 100644 --- a/win/C#/frmMain.cs +++ b/win/C#/frmMain.cs @@ -9,15 +9,17 @@ using System.Net; using System.IO; using System.Diagnostics; using System.Threading; - +using System.Runtime.InteropServices; namespace Handbrake { + public partial class frmMain : Form { + private Process hbProc; private Parsing.DVD thisDVD; - + // -------------------------------------------------------------- // Some windows that require only 1 instance. // -------------------------------------------------------------- @@ -33,10 +35,6 @@ namespace Handbrake public frmMain() { - - - - ThreadPool.QueueUserWorkItem(showSplash); Thread.Sleep(3000); @@ -1322,7 +1320,7 @@ namespace Handbrake private void drp_dvdtitle_Click(object sender, EventArgs e) { - if (drp_dvdtitle.Items.Count == 1) + if (drp_dvdtitle.Items.Count == 0) { MessageBox.Show("There are no titles to select. Please scan the DVD by clicking the 'browse' button above before trying to select a title.", "Alert", MessageBoxButtons.OK, MessageBoxIcon.Asterisk); } diff --git a/win/C#/frmQuickStart.Designer.cs b/win/C#/frmQuickStart.Designer.cs index 8ce08ae1f..07f9488b4 100644 --- a/win/C#/frmQuickStart.Designer.cs +++ b/win/C#/frmQuickStart.Designer.cs @@ -217,7 +217,7 @@ namespace Handbrake this.label7.Size = new System.Drawing.Size(463, 39); this.label7.TabIndex = 430; this.label7.Text = "If you don\'t read the documentation / user guides then you will most likely fail." + - " \r\nYou will not recieve support on the forums if you have not read the\r\nFAQ / Gu" + + " \r\nYou will not receive support on the forums if you have not read the\r\nFAQ / Gu" + "ides and searched the forum."; // // pictureBox8 -- cgit v1.2.3