summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsr55 <[email protected]>2007-08-23 20:53:39 +0000
committersr55 <[email protected]>2007-08-23 20:53:39 +0000
commite97b47af1ba1703067dc281a49ba9cae935346ee (patch)
tree3447182987723ac2b31ac56e28d114ce470c57fa
parent890d542eb5d26733765b1b137fc09e801b75ac09 (diff)
WinGui:
- Minor code tweaks / cleanup git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@856 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--win/C#/Parsing/DVD.cs3
-rw-r--r--win/C#/Properties/Settings.Designer.cs4
-rw-r--r--win/C#/Properties/Settings.settings4
-rw-r--r--win/C#/app.config4
-rw-r--r--win/C#/frmMain.Designer.cs2
-rw-r--r--win/C#/frmMain.cs1
6 files changed, 10 insertions, 8 deletions
diff --git a/win/C#/Parsing/DVD.cs b/win/C#/Parsing/DVD.cs
index 3249a23aa..d2d211538 100644
--- a/win/C#/Parsing/DVD.cs
+++ b/win/C#/Parsing/DVD.cs
@@ -4,6 +4,7 @@ using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
+using System.Text.RegularExpressions;
using System.Windows.Forms;
using System.IO;
using System.Threading;
@@ -50,7 +51,7 @@ namespace Handbrake.Parsing
}
else
{
- string test = output.ReadLine();
+ output.ReadLine();
}
}
return thisDVD;
diff --git a/win/C#/Properties/Settings.Designer.cs b/win/C#/Properties/Settings.Designer.cs
index addb9c668..50df43d06 100644
--- a/win/C#/Properties/Settings.Designer.cs
+++ b/win/C#/Properties/Settings.Designer.cs
@@ -25,7 +25,7 @@ namespace Handbrake.Properties {
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Configuration.DefaultSettingValueAttribute("2.4")]
+ [global::System.Configuration.DefaultSettingValueAttribute("2.40")]
public string GuiVersion {
get {
return ((string)(this["GuiVersion"]));
@@ -528,7 +528,7 @@ namespace Handbrake.Properties {
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Configuration.DefaultSettingValueAttribute("0.9.0")]
+ [global::System.Configuration.DefaultSettingValueAttribute("0.9.1")]
public string CliVersion {
get {
return ((string)(this["CliVersion"]));
diff --git a/win/C#/Properties/Settings.settings b/win/C#/Properties/Settings.settings
index 093e9a2df..f0356a9bf 100644
--- a/win/C#/Properties/Settings.settings
+++ b/win/C#/Properties/Settings.settings
@@ -3,7 +3,7 @@
<Profiles />
<Settings>
<Setting Name="GuiVersion" Type="System.String" Scope="User">
- <Value Profile="(Default)">2.4</Value>
+ <Value Profile="(Default)">2.40</Value>
</Setting>
<Setting Name="updateFile" Type="System.String" Scope="User">
<Value Profile="(Default)">http://download.m0k.org/handbrake/windows/update.txt</Value>
@@ -129,7 +129,7 @@
<Value Profile="(Default)" />
</Setting>
<Setting Name="CliVersion" Type="System.String" Scope="User">
- <Value Profile="(Default)">0.9.0</Value>
+ <Value Profile="(Default)">0.9.1</Value>
</Setting>
</Settings>
</SettingsFile> \ No newline at end of file
diff --git a/win/C#/app.config b/win/C#/app.config
index c10f75505..de5b44500 100644
--- a/win/C#/app.config
+++ b/win/C#/app.config
@@ -8,7 +8,7 @@
<userSettings>
<Handbrake.Properties.Settings>
<setting name="GuiVersion" serializeAs="String">
- <value>2.4</value>
+ <value>2.40</value>
</setting>
<setting name="updateFile" serializeAs="String">
<value>http://download.m0k.org/handbrake/windows/update.txt</value>
@@ -131,7 +131,7 @@
<value />
</setting>
<setting name="CliVersion" serializeAs="String">
- <value>0.9.0</value>
+ <value>0.9.1</value>
</setting>
</Handbrake.Properties.Settings>
</userSettings>
diff --git a/win/C#/frmMain.Designer.cs b/win/C#/frmMain.Designer.cs
index a6e34a283..2556bbcb5 100644
--- a/win/C#/frmMain.Designer.cs
+++ b/win/C#/frmMain.Designer.cs
@@ -1028,7 +1028,7 @@ namespace Handbrake
this.lbl_update.AutoSize = true;
this.lbl_update.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbl_update.ForeColor = System.Drawing.Color.Black;
- this.lbl_update.Location = new System.Drawing.Point(83, 594);
+ this.lbl_update.Location = new System.Drawing.Point(88, 594);
this.lbl_update.Name = "lbl_update";
this.lbl_update.Size = new System.Drawing.Size(193, 13);
this.lbl_update.TabIndex = 417;
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs
index d3873c407..72c87904f 100644
--- a/win/C#/frmMain.cs
+++ b/win/C#/frmMain.cs
@@ -862,6 +862,7 @@ namespace Handbrake
//H264 Tab
Properties.Settings.Default.CRF = CheckCRF.CheckState.ToString();
Properties.Settings.Default.H264 = rtf_h264advanced.Text;
+
Properties.Settings.Default.Save();
}