summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels
diff options
context:
space:
mode:
authorsr55 <[email protected]>2015-05-26 19:15:22 +0000
committersr55 <[email protected]>2015-05-26 19:15:22 +0000
commit6f6f447ca0b5453964d9f6c94cffed4a81e8d184 (patch)
treee9c31bba5e83a8606ba94ab715b7b6dc6495123d /win/CS/HandBrakeWPF/ViewModels
parent62dd0977862318d28fc9d19f2bb5ce96d61dd2c3 (diff)
WinGui: - Some updates to the libhb preset wrapper code. - Remove Preset update notification and option.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7227 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs4
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs24
2 files changed, 0 insertions, 28 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
index b16b73573..854bf48d9 100644
--- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
@@ -1192,10 +1192,6 @@ namespace HandBrakeWPF.ViewModels
// Setup the presets.
this.presetService.Load();
- if (this.presetService.CheckIfPresetsAreOutOfDate())
- if (!this.userSettingService.GetUserSetting<bool>(UserSettingConstants.PresetNotification))
- this.errorService.ShowMessageBox(Resources.Main_PresetUpdateNotification,
- Resources.Notice, MessageBoxButton.OK, MessageBoxImage.Information);
// Queue Recovery
QueueRecoveryHelper.RecoverQueue(this.queueProcessor, this.errorService);
diff --git a/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs
index 01c0d38f9..be12f2010 100644
--- a/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs
@@ -118,11 +118,6 @@ namespace HandBrakeWPF.ViewModels
private bool disableLibdvdNav;
/// <summary>
- /// The disable p reset update check notification.
- /// </summary>
- private bool disablePresetUpdateCheckNotification;
-
- /// <summary>
/// The growl after encode.
/// </summary>
private bool growlAfterEncode;
@@ -898,23 +893,6 @@ namespace HandBrakeWPF.ViewModels
}
/// <summary>
- /// Gets or sets a value indicating whether disablePresetUpdateCheckNotification.
- /// </summary>
- public bool DisablePresetUpdateCheckNotification
- {
- get
- {
- return this.disablePresetUpdateCheckNotification;
- }
-
- set
- {
- this.disablePresetUpdateCheckNotification = value;
- this.NotifyOfPropertyChange("DisablePresetUpdateCheckNotification");
- }
- }
-
- /// <summary>
/// Gets or sets LogVerbosityOptions.
/// </summary>
public BindingList<int> LogVerbosityOptions
@@ -1449,7 +1427,6 @@ namespace HandBrakeWPF.ViewModels
// Minimise to Tray
this.MinimiseToTray = this.userSettingService.GetUserSetting<bool>(UserSettingConstants.MainWindowMinimize);
- this.DisablePresetUpdateCheckNotification = this.userSettingService.GetUserSetting<bool>(UserSettingConstants.PresetNotification);
this.ClearQueueOnEncodeCompleted = userSettingService.GetUserSetting<bool>(UserSettingConstants.ClearCompletedFromQueue);
this.ShowAdvancedTab = userSettingService.GetUserSetting<bool>(UserSettingConstants.ShowAdvancedTab);
@@ -1526,7 +1503,6 @@ namespace HandBrakeWPF.ViewModels
/* Advanced */
userSettingService.SetUserSetting(UserSettingConstants.MainWindowMinimize, this.MinimiseToTray);
- userSettingService.SetUserSetting(UserSettingConstants.PresetNotification, this.DisablePresetUpdateCheckNotification);
userSettingService.SetUserSetting(UserSettingConstants.ClearCompletedFromQueue, this.ClearQueueOnEncodeCompleted);
userSettingService.SetUserSetting(UserSettingConstants.PreviewScanCount, this.SelectedPreviewCount);
userSettingService.SetUserSetting(UserSettingConstants.X264Step, double.Parse(this.SelectedGranulairty, CultureInfo.InvariantCulture));