summaryrefslogtreecommitdiffstats
path: root/win/C#/frmOptions.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2009-04-10 14:27:27 +0000
committersr55 <[email protected]>2009-04-10 14:27:27 +0000
commit50ce0a348a12a281f6907fe65189e2b34589a420 (patch)
tree4af714262ec51795e95522bdb815e9e983fa78b7 /win/C#/frmOptions.cs
parent0f6bc3e33963fe3b89ddeb60904cd676df588ac5 (diff)
WinGui:
- Added option to set verbosity level. default 1 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2317 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmOptions.cs')
-rw-r--r--win/C#/frmOptions.cs12
1 files changed, 9 insertions, 3 deletions
diff --git a/win/C#/frmOptions.cs b/win/C#/frmOptions.cs
index 3f781758e..bbea71f87 100644
--- a/win/C#/frmOptions.cs
+++ b/win/C#/frmOptions.cs
@@ -73,6 +73,9 @@ namespace Handbrake
// Priority level for encodes
drp_Priority.Text = Properties.Settings.Default.processPriority;
+ // Log Verbosity Level
+ cb_logVerboseLvl.SelectedIndex = Properties.Settings.Default.verboseLevel;
+
// Save individual log files
if (Properties.Settings.Default.saveLog == "Checked")
check_keepLogs.CheckState = CheckState.Checked;
@@ -191,6 +194,11 @@ namespace Handbrake
Properties.Settings.Default.processPriority = drp_Priority.Text;
}
+ private void cb_logVerboseLvl_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ Properties.Settings.Default.verboseLevel = cb_logVerboseLvl.SelectedIndex;
+ }
+
private void check_keepLogs_CheckedChanged(object sender, EventArgs e)
{
Properties.Settings.Default.saveLog = check_keepLogs.CheckState.ToString();
@@ -252,8 +260,6 @@ 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