diff options
author | sr55 <[email protected]> | 2009-09-01 12:24:46 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2009-09-01 12:24:46 +0000 |
commit | 8c95bc6eaf24d7aa76736d985bac02861f290e35 (patch) | |
tree | 31ca95cfbe77bed66d4568c3d7fd821495001268 /win/C#/frmMain.cs | |
parent | 82d5e3c13cbf365b588036e7f70e1cc5da195349 (diff) |
WinGui:
- Remove 2 options.
"Enable DVD drive detection..." Feature seems stable, so no longer required.
"Load my default preset" No real need for this option.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2798 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmMain.cs')
-rw-r--r-- | win/C#/frmMain.cs | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs index 973076552..53b1541d7 100644 --- a/win/C#/frmMain.cs +++ b/win/C#/frmMain.cs @@ -88,7 +88,7 @@ namespace Handbrake tabs_panel.TabPages.RemoveAt(7); // Remove the query editor tab if the user does not want it enabled.
// Load the user's default settings or Normal Preset
- if (Properties.Settings.Default.defaultSettings && Properties.Settings.Default.defaultPreset != "")
+ if (Properties.Settings.Default.defaultPreset != "")
{
if (presetHandler.getPreset(Properties.Settings.Default.defaultPreset) != null)
{
@@ -639,14 +639,9 @@ namespace Handbrake #region ToolStrip
private void btn_source_Click(object sender, EventArgs e)
{
- if (Properties.Settings.Default.drive_detection)
- {
- mnu_dvd_drive.Visible = true;
- Thread driveInfoThread = new Thread(getDriveInfoThread);
- driveInfoThread.Start();
- }
- else
- mnu_dvd_drive.Visible = false;
+ mnu_dvd_drive.Visible = true;
+ Thread driveInfoThread = new Thread(getDriveInfoThread);
+ driveInfoThread.Start();
}
private void btn_start_Click(object sender, EventArgs e)
{
@@ -1125,7 +1120,7 @@ namespace Handbrake {
if (newExtension == ".mp4" || newExtension == ".m4v")
if (Properties.Settings.Default.useM4v || Check_ChapterMarkers.Checked || AudioSettings.RequiresM4V() || Subtitles.RequiresM4V())
- newExtension = ".m4v" ;
+ newExtension = ".m4v";
else
newExtension = ".mp4";
@@ -1400,10 +1395,9 @@ namespace Handbrake // Setup the GUI components for the scan.
sourcePath = filename;
foreach (Control ctrl in Controls)
- {
if (!(ctrl is StatusStrip || ctrl is MenuStrip || ctrl is ToolStrip))
ctrl.Enabled = false;
- }
+
lbl_encode.Visible = true;
lbl_encode.Text = "Scanning ...";
btn_source.Enabled = false;
|