summaryrefslogtreecommitdiffstats
path: root/win/C#/frmOptions.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2010-03-12 21:59:52 +0000
committersr55 <[email protected]>2010-03-12 21:59:52 +0000
commit965aebaa5b64188ad21874f0f48f3e2b2a7c443c (patch)
tree21a7add3d9a73c0177b82924272c1d2480f059b4 /win/C#/frmOptions.cs
parent8cd6d5369932ac0889cb9910df92a79531f073cb (diff)
WinGui:
Two new options for autocrop. - Remove Underscores from source name. - Change to Title Case. (e.g "Source Name") git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3163 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmOptions.cs')
-rw-r--r--win/C#/frmOptions.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/win/C#/frmOptions.cs b/win/C#/frmOptions.cs
index 6aa612dbc..b5b742963 100644
--- a/win/C#/frmOptions.cs
+++ b/win/C#/frmOptions.cs
@@ -81,6 +81,12 @@ namespace Handbrake
if (Properties.Settings.Default.useM4v)
check_m4v.CheckState = CheckState.Checked;
+ // Remove Underscores
+ check_removeUnderscores.Checked = Properties.Settings.Default.AutoNameRemoveUnderscore;
+
+ // Title case
+ check_TitleCase.Checked = Properties.Settings.Default.AutoNameTitleCase;
+
// #############################
// Picture Tab
// #############################
@@ -265,6 +271,16 @@ namespace Handbrake
Properties.Settings.Default.useM4v = check_m4v.Checked;
}
+ private void check_removeUnderscores_CheckedChanged(object sender, EventArgs e)
+ {
+ Properties.Settings.Default.AutoNameRemoveUnderscore = check_removeUnderscores.Checked;
+ }
+
+ private void check_TitleCase_CheckedChanged(object sender, EventArgs e)
+ {
+ Properties.Settings.Default.AutoNameTitleCase = check_TitleCase.Checked;
+ }
+
#endregion
#region Picture
@@ -471,5 +487,6 @@ namespace Handbrake
Properties.Settings.Default.Save(); // Small hack for Vista. Seems to work fine on XP without this
this.Close();
}
+
}
} \ No newline at end of file