]> granicus.if.org Git - handbrake/commitdiff
- Fixed Spelling typo (Thanks saintdev).
authorsr55 <sr55.hb@outlook.com>
Tue, 21 Aug 2007 15:40:27 +0000 (15:40 +0000)
committersr55 <sr55.hb@outlook.com>
Tue, 21 Aug 2007 15:40:27 +0000 (15:40 +0000)
- 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
win/C#/Properties/Settings.settings
win/C#/app.config
win/C#/frmMain.Designer.cs
win/C#/frmMain.cs
win/C#/frmQuickStart.Designer.cs

index 13e28e9b81345a9f925a0cc2b9620ea0fb706ef1..addb9c668d78f0d5f55863b0eb12ab2427ac08b5 100644 (file)
@@ -1,7 +1,7 @@
 //------------------------------------------------------------------------------\r
 // <auto-generated>\r
 //     This code was generated by a tool.\r
-//     Runtime Version:2.0.50727.42\r
+//     Runtime Version:2.0.50727.832\r
 //\r
 //     Changes to this file may cause incorrect behavior and will be lost if\r
 //     the code is regenerated.\r
@@ -35,18 +35,6 @@ namespace Handbrake.Properties {
             }\r
         }\r
         \r
-        [global::System.Configuration.UserScopedSettingAttribute()]\r
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]\r
-        [global::System.Configuration.DefaultSettingValueAttribute("0.8.5b1")]\r
-        public string CliVersion {\r
-            get {\r
-                return ((string)(this["CliVersion"]));\r
-            }\r
-            set {\r
-                this["CliVersion"] = value;\r
-            }\r
-        }\r
-        \r
         [global::System.Configuration.UserScopedSettingAttribute()]\r
         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]\r
         [global::System.Configuration.DefaultSettingValueAttribute("http://download.m0k.org/handbrake/windows/update.txt")]\r
@@ -537,5 +525,17 @@ namespace Handbrake.Properties {
                 this["QuickStartWindow"] = value;\r
             }\r
         }\r
+        \r
+        [global::System.Configuration.UserScopedSettingAttribute()]\r
+        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]\r
+        [global::System.Configuration.DefaultSettingValueAttribute("0.9.0")]\r
+        public string CliVersion {\r
+            get {\r
+                return ((string)(this["CliVersion"]));\r
+            }\r
+            set {\r
+                this["CliVersion"] = value;\r
+            }\r
+        }\r
     }\r
 }\r
index 80d38b017b2354e646e21b4d4a566fa5f7adf336..093e9a2df639754d6ab9e87a2b5f3592943b015a 100644 (file)
@@ -5,9 +5,6 @@
     <Setting Name="GuiVersion" Type="System.String" Scope="User">\r
       <Value Profile="(Default)">2.4</Value>\r
     </Setting>\r
-    <Setting Name="CliVersion" Type="System.String" Scope="User">\r
-      <Value Profile="(Default)">0.8.5b1</Value>\r
-    </Setting>\r
     <Setting Name="updateFile" Type="System.String" Scope="User">\r
       <Value Profile="(Default)">http://download.m0k.org/handbrake/windows/update.txt</Value>\r
     </Setting>\r
     <Setting Name="QuickStartWindow" Type="System.String" Scope="User">\r
       <Value Profile="(Default)" />\r
     </Setting>\r
+    <Setting Name="CliVersion" Type="System.String" Scope="User">\r
+      <Value Profile="(Default)">0.9.0</Value>\r
+    </Setting>\r
   </Settings>\r
 </SettingsFile>
\ No newline at end of file
index abe963c18c7054eca8fe5f03d5ea4fce69588e6d..c10f75505cf75c51fc5402ae4f2f36e32332f8b5 100644 (file)
@@ -10,9 +10,6 @@
             <setting name="GuiVersion" serializeAs="String">\r
                 <value>2.4</value>\r
             </setting>\r
-            <setting name="CliVersion" serializeAs="String">\r
-                <value>0.8.5b1</value>\r
-            </setting>\r
             <setting name="updateFile" serializeAs="String">\r
                 <value>http://download.m0k.org/handbrake/windows/update.txt</value>\r
             </setting>\r
             <setting name="QuickStartWindow" serializeAs="String">\r
                 <value />\r
             </setting>\r
+            <setting name="CliVersion" serializeAs="String">\r
+                <value>0.9.0</value>\r
+            </setting>\r
         </Handbrake.Properties.Settings>\r
     </userSettings>\r
 </configuration>
\ No newline at end of file
index a8241e04ed4aad94eece41375fafddca4c742f48..a6e34a28398ef893f0c0965faea4b990c0b7e8be 100644 (file)
@@ -459,7 +459,7 @@ namespace Handbrake
             // ISO_Open\r
             // \r
             this.ISO_Open.DefaultExt = "ISO";\r
-            this.ISO_Open.Filter = "All Supported Files|*.iso;*.mpg;*.mpeg;*.vob";\r
+            this.ISO_Open.Filter = "All Supported Files|*.iso;*.mpg;*.mpeg;*.vob;*.ts";\r
             this.ISO_Open.SupportMultiDottedExtensions = true;\r
             // \r
             // FileToolStripMenuItem\r
index fcafb5dcf3d56492f31e5baf8c48c6384d6fcb1e..c70b71c9fed416398e352d997658b6fe0ac532b3 100644 (file)
@@ -9,15 +9,17 @@ using System.Net;
 using System.IO;\r
 using System.Diagnostics;\r
 using System.Threading;\r
-\r
+using System.Runtime.InteropServices;\r
 \r
 namespace Handbrake\r
 {\r
+\r
     public partial class frmMain : Form\r
     {\r
+\r
         private Process hbProc;\r
         private Parsing.DVD thisDVD;\r
-\r
+        \r
         // --------------------------------------------------------------\r
         // Some windows that require only 1 instance.\r
         // --------------------------------------------------------------\r
@@ -33,10 +35,6 @@ namespace Handbrake
         public frmMain()\r
         {\r
 \r
-\r
-\r
-            \r
-\r
             ThreadPool.QueueUserWorkItem(showSplash);\r
             Thread.Sleep(3000);\r
 \r
@@ -1322,7 +1320,7 @@ namespace Handbrake
 \r
         private void drp_dvdtitle_Click(object sender, EventArgs e)\r
         {\r
-            if (drp_dvdtitle.Items.Count == 1)\r
+            if (drp_dvdtitle.Items.Count == 0)\r
             {\r
                 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);\r
             }\r
index 8ce08ae1fdc011a341b693ea7baadaecf91d3727..07f9488b44e5e4ad225682cdb7192e835a116d47 100644 (file)
@@ -217,7 +217,7 @@ namespace Handbrake
             this.label7.Size = new System.Drawing.Size(463, 39);\r
             this.label7.TabIndex = 430;\r
             this.label7.Text = "If you don\'t read the documentation / user guides then you will most likely fail." +\r
-                " \r\nYou will not recieve support on the forums if you have not read the\r\nFAQ / Gu" +\r
+                " \r\nYou will not receive support on the forums if you have not read the\r\nFAQ / Gu" +\r
                 "ides and searched the forum.";\r
             // \r
             // pictureBox8\r