summaryrefslogtreecommitdiffstats
path: root/win/C#/frmOptions.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2009-06-17 15:38:29 +0000
committersr55 <[email protected]>2009-06-17 15:38:29 +0000
commit0c4a88000b2a9456c2079a256c00b0baf43699a7 (patch)
tree4e263429b5cc2ee63966f36c05fe7241eee70314 /win/C#/frmOptions.cs
parent17add0e3258936078d05508709f550a74e5c4146 (diff)
WinGui:
- Updated the appcast checker to handle the modified appcast format. - New option to set the number of days between update checks on startup. Default 5 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2551 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmOptions.cs')
-rw-r--r--win/C#/frmOptions.cs21
1 files changed, 6 insertions, 15 deletions
diff --git a/win/C#/frmOptions.cs b/win/C#/frmOptions.cs
index 93842b5d2..978ffbcfe 100644
--- a/win/C#/frmOptions.cs
+++ b/win/C#/frmOptions.cs
@@ -113,17 +113,9 @@ namespace Handbrake
// Experimental In-GUI encode status indicator.
if (Properties.Settings.Default.enocdeStatusInGui == "Checked")
check_inGuiStatus.CheckState = CheckState.Checked;
-
- // Enable snapshot updating
- if (Properties.Settings.Default.checkSnapshot == "Checked")
- check_snapshot.CheckState = CheckState.Checked;
-
- // Unstable Snapshot checking should only be visible for stable builds.
- if (Properties.Settings.Default.hb_build.ToString().EndsWith("1"))
- {
- lbl_appcastUnstable.Visible = false;
- check_snapshot.Visible = false;
- }
+
+ // Days between update checks
+ numeric_updateCheckDays.Value = Properties.Settings.Default.daysBetweenUpdateCheck;
// x264 step
drop_x264step.SelectedItem = Properties.Settings.Default.x264cqstep;
@@ -268,11 +260,11 @@ namespace Handbrake
private void check_inGuiStatus_CheckedChanged(object sender, EventArgs e)
{
Properties.Settings.Default.enocdeStatusInGui = check_inGuiStatus.CheckState.ToString();
- }
+ }
- private void check_snapshot_CheckedChanged(object sender, EventArgs e)
+ private void numeric_updateCheckDays_ValueChanged(object sender, EventArgs e)
{
- Properties.Settings.Default.checkSnapshot = check_snapshot.CheckState.ToString();
+ Properties.Settings.Default.daysBetweenUpdateCheck = (int)numeric_updateCheckDays.Value;
}
private void x264step_SelectedIndexChanged(object sender, EventArgs e)
@@ -291,6 +283,5 @@ 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