summaryrefslogtreecommitdiffstats
path: root/win/C#/frmOptions.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2009-07-15 11:03:54 +0000
committersr55 <[email protected]>2009-07-15 11:03:54 +0000
commit742df70f4ae59aba07e2b094c2f9f4a9efc01a7c (patch)
tree64df63f584693271f82b4370086ff206efe7bd5d /win/C#/frmOptions.cs
parentf5108ef3ae828197e68cb2f03f37ef90679f02c5 (diff)
WinGui:
- The options panel (frmOptions) is now completely wrapped in TableLayoutPanels. - The rest of the GUI has been changed to Tahoma, 8pt font. - QueueHandler and it's related classes have been refactored and documented. - new option has been added that prompts the user before encoding when the query under the "Query Editor" tab does not match the GUI settings. It can be disabled in the options window. - A bug where "last_encode_log.txt" failed to be read has been fixed that was caused by exiting the CLI window shortly after starting the encode. Thansk to darkassassin git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2693 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmOptions.cs')
-rw-r--r--win/C#/frmOptions.cs13
1 files changed, 10 insertions, 3 deletions
diff --git a/win/C#/frmOptions.cs b/win/C#/frmOptions.cs
index 606d9d773..174b8601c 100644
--- a/win/C#/frmOptions.cs
+++ b/win/C#/frmOptions.cs
@@ -112,6 +112,9 @@ namespace Handbrake
if (Properties.Settings.Default.QueryEditorTab)
check_queryEditorTab.CheckState = CheckState.Checked;
+ // Prompt on inconsistant queries
+ check_promptOnUnmatchingQueries.Checked = Properties.Settings.Default.PromptOnUnmatchingQueries;
+
// Preset update notification
if (Properties.Settings.Default.presetNotification)
check_disablePresetNotification.CheckState = CheckState.Checked;
@@ -284,6 +287,7 @@ namespace Handbrake
private void check_mainMinimize_CheckedChanged(object sender, EventArgs e)
{
Properties.Settings.Default.MainWindowMinimize = check_mainMinimize.Checked;
+ check_trayStatusAlerts.Enabled = check_mainMinimize.Checked;
}
private void check_trayStatusAlerts_CheckedChanged(object sender, EventArgs e)
@@ -294,6 +298,12 @@ namespace Handbrake
private void check_queryEditorTab_CheckedChanged(object sender, EventArgs e)
{
Properties.Settings.Default.QueryEditorTab = check_queryEditorTab.Checked;
+ check_promptOnUnmatchingQueries.Enabled = check_queryEditorTab.Checked;
+ }
+
+ private void check_promptOnUnmatchingQueries_CheckedChanged(object sender, EventArgs e)
+ {
+ Properties.Settings.Default.PromptOnUnmatchingQueries = check_promptOnUnmatchingQueries.Checked;
}
private void check_disablePresetNotification_CheckedChanged(object sender, EventArgs e)
@@ -352,8 +362,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