summaryrefslogtreecommitdiffstats
path: root/win/C#/Properties
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#/Properties
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#/Properties')
-rw-r--r--win/C#/Properties/Settings.Designer.cs35
-rw-r--r--win/C#/Properties/Settings.settings9
2 files changed, 29 insertions, 15 deletions
diff --git a/win/C#/Properties/Settings.Designer.cs b/win/C#/Properties/Settings.Designer.cs
index d03a34de7..f1eec40c5 100644
--- a/win/C#/Properties/Settings.Designer.cs
+++ b/win/C#/Properties/Settings.Designer.cs
@@ -217,18 +217,6 @@ namespace Handbrake.Properties {
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Configuration.DefaultSettingValueAttribute("")]
- public string checkSnapshot {
- get {
- return ((string)(this["checkSnapshot"]));
- }
- set {
- this["checkSnapshot"] = value;
- }
- }
-
- [global::System.Configuration.UserScopedSettingAttribute()]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("{source}-{title}")]
public string autoNameFormat {
get {
@@ -382,5 +370,28 @@ namespace Handbrake.Properties {
this["trayIconAlerts"] = value;
}
}
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public global::System.DateTime lastUpdateCheckDate {
+ get {
+ return ((global::System.DateTime)(this["lastUpdateCheckDate"]));
+ }
+ set {
+ this["lastUpdateCheckDate"] = value;
+ }
+ }
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("5")]
+ public int daysBetweenUpdateCheck {
+ get {
+ return ((int)(this["daysBetweenUpdateCheck"]));
+ }
+ set {
+ this["daysBetweenUpdateCheck"] = value;
+ }
+ }
}
}
diff --git a/win/C#/Properties/Settings.settings b/win/C#/Properties/Settings.settings
index d8d2a1c6f..5102e49b1 100644
--- a/win/C#/Properties/Settings.settings
+++ b/win/C#/Properties/Settings.settings
@@ -50,9 +50,6 @@
<Setting Name="cli_minimized" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
- <Setting Name="checkSnapshot" Type="System.String" Scope="User">
- <Value Profile="(Default)" />
- </Setting>
<Setting Name="autoNameFormat" Type="System.String" Scope="User">
<Value Profile="(Default)">{source}-{title}</Value>
</Setting>
@@ -92,5 +89,11 @@
<Setting Name="trayIconAlerts" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
+ <Setting Name="lastUpdateCheckDate" Type="System.DateTime" Scope="User">
+ <Value Profile="(Default)" />
+ </Setting>
+ <Setting Name="daysBetweenUpdateCheck" Type="System.Int32" Scope="User">
+ <Value Profile="(Default)">5</Value>
+ </Setting>
</Settings>
</SettingsFile> \ No newline at end of file