summaryrefslogtreecommitdiffstats
path: root/win/C#/frmOptions.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2009-08-26 16:47:33 +0000
committersr55 <[email protected]>2009-08-26 16:47:33 +0000
commite1bd59b0d835296f141ea8b20a41f4c34506e3e6 (patch)
tree243729e7afa7a3382b1bb5b6ba4af60b9361e63d /win/C#/frmOptions.cs
parent60fae20f233b2c8c4a0576fe46f5527e9c66552a (diff)
WinGui:
- Updated Growl to 2.0.0.20 - Added 2 new options. "Growl when queue completes" and "Growl when encode completes" - Added 1 new option. "Disable Resolution Calculation for "None" and "Custom" modes." - Changed Filters dropdown menus for consistency and to match the new layout - Fixed a problem with the Destination save dialog box double appending a file extension. Also added m4v to the filer. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2778 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmOptions.cs')
-rw-r--r--win/C#/frmOptions.cs31
1 files changed, 30 insertions, 1 deletions
diff --git a/win/C#/frmOptions.cs b/win/C#/frmOptions.cs
index 0206d1ca3..462bdb8c4 100644
--- a/win/C#/frmOptions.cs
+++ b/win/C#/frmOptions.cs
@@ -47,6 +47,13 @@ namespace Handbrake
// On Encode Completeion Action
drp_completeOption.Text = Properties.Settings.Default.CompletionOption;
+ // Growl.
+ if (Properties.Settings.Default.growlEncode)
+ check_growlEncode.CheckState = CheckState.Checked;
+
+ if (Properties.Settings.Default.growlQueue)
+ check_GrowlQueue.CheckState = CheckState.Checked;
+
// Enable auto naming feature.
if (Properties.Settings.Default.autoNaming)
check_autoNaming.CheckState = CheckState.Checked;
@@ -165,6 +172,12 @@ namespace Handbrake
// Use Experimental dvdnav
if (Properties.Settings.Default.dvdnav)
check_dvdnav.CheckState = CheckState.Checked;
+
+ // #############################
+ // Debug
+ // #############################
+ if (Properties.Settings.Default.disableResCalc)
+ check_disableResCalc.Checked = true;
}
#region General
@@ -187,6 +200,16 @@ namespace Handbrake
Properties.Settings.Default.CompletionOption = drp_completeOption.Text;
}
+ private void check_GrowlQueue_CheckedChanged(object sender, EventArgs e)
+ {
+ Properties.Settings.Default.growlQueue = check_GrowlQueue.Checked;
+ }
+
+ private void check_growlEncode_CheckedChanged(object sender, EventArgs e)
+ {
+ Properties.Settings.Default.growlEncode = check_growlEncode.Checked;
+ }
+
private void check_autoNaming_CheckedChanged(object sender, EventArgs e)
{
Properties.Settings.Default.autoNaming = check_autoNaming.Checked;
@@ -396,11 +419,17 @@ namespace Handbrake
}
#endregion
+ #region Debug
+ private void check_disableResCalc_CheckedChanged(object sender, EventArgs e)
+ {
+ Properties.Settings.Default.disableResCalc = check_disableResCalc.Checked;
+ }
+ #endregion
+
private void btn_close_Click(object sender, EventArgs e)
{
Properties.Settings.Default.Save(); // Small hack for Vista. Seems to work fine on XP without this
this.Close();
}
-
}
} \ No newline at end of file