summaryrefslogtreecommitdiffstats
path: root/win/C#/frmMain.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2009-06-13 19:55:49 +0000
committersr55 <[email protected]>2009-06-13 19:55:49 +0000
commit5cfad5e676367d676220e75c2da3a72bc0732459 (patch)
treeb8c8e3b113510891c978b99584c3b27a849a6033 /win/C#/frmMain.cs
parent61ee3250a66a273d3bf7b7594b5b8656993bc33f (diff)
WinGui:
- New subtitle tab. All complaints to j45 please. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2531 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmMain.cs')
-rw-r--r--win/C#/frmMain.cs33
1 files changed, 5 insertions, 28 deletions
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs
index 33a177a1f..b74499ef3 100644
--- a/win/C#/frmMain.cs
+++ b/win/C#/frmMain.cs
@@ -337,14 +337,6 @@ namespace Handbrake
}
#endregion
- #region Debug Menu
- private void mnu_qptest_Click(object sender, EventArgs e)
- {
- QueryParserTester qptest = new QueryParserTester();
- qptest.Show();
- }
- #endregion
-
#region Preset Bar
// Right Click Menu Code
private void pmnu_expandAll_Click(object sender, EventArgs e)
@@ -797,13 +789,10 @@ namespace Handbrake
audioPanel.setTrackList(selectedTitle);
// Populate the Subtitles dropdown
- drp_subtitle.Items.Clear();
- drp_subtitle.Items.Add("None");
- drp_subtitle.Items.Add("Autoselect");
- drp_subtitle.Items.AddRange(selectedTitle.Subtitles.ToArray());
- if (drp_subtitle.Items.Count > 0)
- drp_subtitle.Text = drp_subtitle.Items[0].ToString();
-
+ Subtitles.drp_subtitleTracks.Items.Clear();
+ Subtitles.drp_subtitleTracks.Items.Add("Foreign Audio Search (Bitmap)");
+ Subtitles.drp_subtitleTracks.Items.AddRange(selectedTitle.Subtitles.ToArray());
+ Subtitles.drp_subtitleTracks.SelectedIndex = 0;
}
// Run the autoName & chapterNaming functions
@@ -988,6 +977,7 @@ namespace Handbrake
setExtension(".mkv");
audioPanel.setAudioByContainer(drop_format.Text);
+ Subtitles.setContainer = drop_format.SelectedIndex;
string oldval;
if ((drop_format.Text.Contains("MP4")) || (drop_format.Text.Contains("M4V")))
@@ -1200,18 +1190,6 @@ namespace Handbrake
lbl_deblockVal.Text = slider_deblock.Value == 4 ? "Off" : slider_deblock.Value.ToString();
}
- //Subtitles Tab
- private void drp_subtitle_SelectedIndexChanged(object sender, EventArgs e)
- {
- if (drp_subtitle.Text.Contains("None"))
- {
- check_forced.Enabled = false;
- check_forced.Checked = false;
- }
- else
- check_forced.Enabled = true;
- }
-
// Chapter Marker Tab
private void Check_ChapterMarkers_CheckedChanged(object sender, EventArgs e)
{
@@ -1614,7 +1592,6 @@ namespace Handbrake
#endregion
-
// This is the END of the road ****************************************
}
} \ No newline at end of file