summaryrefslogtreecommitdiffstats
path: root/win/C#/frmOptions.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2008-12-16 20:51:46 +0000
committersr55 <[email protected]>2008-12-16 20:51:46 +0000
commit997dbd7ebc391e35cdff807dbe18506160dbf94c (patch)
treebdadb46779806c446d76281a6dafd31ec327e4b8 /win/C#/frmOptions.cs
parent196e509093c53895656907ad160bd69b83f04507 (diff)
WinGui:
- Minimize to system tray is now optional and can be set in tools > options > advanced. - Removed the minimize to system tray button since it's not really needed. The windows minimize button performs the same task git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2038 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmOptions.cs')
-rw-r--r--win/C#/frmOptions.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/win/C#/frmOptions.cs b/win/C#/frmOptions.cs
index d139998ed..32c63b23a 100644
--- a/win/C#/frmOptions.cs
+++ b/win/C#/frmOptions.cs
@@ -114,6 +114,9 @@ namespace Handbrake
if (Properties.Settings.Default.drive_detection == "Checked")
btn_drive_detect.CheckState = CheckState.Checked;
+ // Enable snapshot updating
+ if (Properties.Settings.Default.MainWindowMinimize == "Checked")
+ check_mainMinimize.CheckState = CheckState.Checked;
}
#region General
@@ -243,6 +246,11 @@ namespace Handbrake
Properties.Settings.Default.drive_detection = btn_drive_detect.CheckState.ToString();
}
+ private void check_mainMinimize_CheckedChanged(object sender, EventArgs e)
+ {
+ Properties.Settings.Default.MainWindowMinimize = check_mainMinimize.CheckState.ToString();
+ }
+
private void check_snapshot_CheckedChanged(object sender, EventArgs e)
{
Properties.Settings.Default.checkSnapshot = check_snapshot.CheckState.ToString();
@@ -254,6 +262,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