diff options
author | sr55 <[email protected]> | 2013-02-02 20:01:41 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2013-02-02 20:01:41 +0000 |
commit | 81cf237836e97f9a0e23796da98f6411db783227 (patch) | |
tree | 1f0d9b8f21188ba2ebe9c5bd2dd26ae2175c5833 /win/CS/HandBrakeWPF/ViewModels | |
parent | 2837d87bf7ac9255546976213e217d213dd10c1a (diff) |
WinGui: Add support for the tray icon.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5235 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs index 36fa35985..8e771fb66 100644 --- a/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs @@ -147,16 +147,6 @@ namespace HandBrakeWPF.ViewModels private bool disablePresetUpdateCheckNotification;
/// <summary>
- /// The display status messages tray icon.
- /// </summary>
- private bool displayStatusMessagesTrayIcon;
-
- /// <summary>
- /// The enable gui tooltips.
- /// </summary>
- private bool enableGuiTooltips;
-
- /// <summary>
/// The growl after encode.
/// </summary>
private bool growlAfterEncode;
@@ -570,23 +560,6 @@ namespace HandBrakeWPF.ViewModels }
/// <summary>
- /// Gets or sets a value indicating whether EnableGuiTooltips.
- /// </summary>
- public bool EnableGuiTooltips
- {
- get
- {
- return this.enableGuiTooltips;
- }
-
- set
- {
- this.enableGuiTooltips = value;
- this.NotifyOfPropertyChange("EnableGuiTooltips");
- }
- }
-
- /// <summary>
/// Gets or sets WhenDone.
/// </summary>
public string WhenDone
@@ -1172,23 +1145,6 @@ namespace HandBrakeWPF.ViewModels }
/// <summary>
- /// Gets or sets a value indicating whether DisplayStatusMessagesTrayIcon.
- /// </summary>
- public bool DisplayStatusMessagesTrayIcon
- {
- get
- {
- return this.displayStatusMessagesTrayIcon;
- }
-
- set
- {
- this.displayStatusMessagesTrayIcon = value;
- this.NotifyOfPropertyChange("DisplayStatusMessagesTrayIcon");
- }
- }
-
- /// <summary>
/// Gets or sets LogVerbosityOptions.
/// </summary>
public BindingList<int> LogVerbosityOptions
@@ -1478,7 +1434,6 @@ namespace HandBrakeWPF.ViewModels // General
// #############################
- this.EnableGuiTooltips = this.userSettingService.GetUserSetting<bool>(UserSettingConstants.TooltipEnable);
this.CheckForUpdates = this.userSettingService.GetUserSetting<bool>(UserSettingConstants.UpdateStatus);
// Days between update checks
@@ -1647,7 +1602,6 @@ namespace HandBrakeWPF.ViewModels // #############################
// Minimise to Tray
- this.DisplayStatusMessagesTrayIcon = this.userSettingService.GetUserSetting<bool>(UserSettingConstants.TrayIconAlerts);
this.MinimiseToTray = this.userSettingService.GetUserSetting<bool>(UserSettingConstants.MainWindowMinimize);
this.DisablePresetUpdateCheckNotification = this.userSettingService.GetUserSetting<bool>(UserSettingConstants.PresetNotification);
this.ClearQueueOnEncodeCompleted = userSettingService.GetUserSetting<bool>(ASUserSettingConstants.ClearCompletedFromQueue);
@@ -1839,7 +1793,6 @@ namespace HandBrakeWPF.ViewModels /* General */
this.userSettingService.SetUserSetting(UserSettingConstants.UpdateStatus, this.CheckForUpdates);
this.userSettingService.SetUserSetting(UserSettingConstants.DaysBetweenUpdateCheck, this.CheckForUpdatesFrequency);
- this.userSettingService.SetUserSetting(UserSettingConstants.TooltipEnable, this.EnableGuiTooltips);
this.userSettingService.SetUserSetting(ASUserSettingConstants.WhenCompleteAction, this.WhenDone);
this.userSettingService.SetUserSetting(UserSettingConstants.GrowlQueue, this.GrowlAfterQueue);
this.userSettingService.SetUserSetting(UserSettingConstants.GrowlEncode, this.GrowlAfterEncode);
@@ -1881,7 +1834,6 @@ namespace HandBrakeWPF.ViewModels /* Advanced */
userSettingService.SetUserSetting(UserSettingConstants.MainWindowMinimize, this.MinimiseToTray);
- userSettingService.SetUserSetting(UserSettingConstants.TrayIconAlerts, this.DisplayStatusMessagesTrayIcon);
userSettingService.SetUserSetting(UserSettingConstants.PresetNotification, this.DisablePresetUpdateCheckNotification);
userSettingService.SetUserSetting(ASUserSettingConstants.ClearCompletedFromQueue, this.ClearQueueOnEncodeCompleted);
userSettingService.SetUserSetting(ASUserSettingConstants.PreviewScanCount, this.SelectedPreviewCount);
|