summaryrefslogtreecommitdiffstats
path: root/win/C#/frmOptions.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2009-05-07 23:00:33 +0000
committersr55 <[email protected]>2009-05-07 23:00:33 +0000
commit166ebbdc3752de708a72a7c4826713a804b3d507 (patch)
tree40c1e5b04addbef569ffbfa83b4554326029b1a5 /win/C#/frmOptions.cs
parentd1e3dca5c9e68a95d6aa4c13c004283df24329dd (diff)
WinGui:
- Notify users that built-in presets have been updated (when preset version < handbrake version.) - Option to disable that alert in Options > Advanced tab git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2401 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmOptions.cs')
-rw-r--r--win/C#/frmOptions.cs14
1 files changed, 9 insertions, 5 deletions
diff --git a/win/C#/frmOptions.cs b/win/C#/frmOptions.cs
index c33cc22c2..289fdb798 100644
--- a/win/C#/frmOptions.cs
+++ b/win/C#/frmOptions.cs
@@ -109,6 +109,9 @@ namespace Handbrake
if (Properties.Settings.Default.QueryEditorTab == "Checked")
check_queryEditorTab.CheckState = CheckState.Checked;
+ if (Properties.Settings.Default.presetNotification == "Checked")
+ check_disablePresetNotification.CheckState = CheckState.Checked;
+
// Enable snapshot updating
if (Properties.Settings.Default.MainWindowMinimize == "Checked")
check_mainMinimize.CheckState = CheckState.Checked;
@@ -243,6 +246,11 @@ namespace Handbrake
Properties.Settings.Default.QueryEditorTab = check_queryEditorTab.CheckState.ToString();
}
+ private void check_disablePresetNotification_CheckedChanged(object sender, EventArgs e)
+ {
+ Properties.Settings.Default.presetNotification = check_disablePresetNotification.CheckState.ToString();
+ }
+
private void check_snapshot_CheckedChanged(object sender, EventArgs e)
{
Properties.Settings.Default.checkSnapshot = check_snapshot.CheckState.ToString();
@@ -263,10 +271,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