summaryrefslogtreecommitdiffstats
path: root/win/C#/frmOptions.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2010-06-06 18:22:39 +0000
committersr55 <[email protected]>2010-06-06 18:22:39 +0000
commit0c9a71f626e0e552cf670103b8dad8e61de1fb69 (patch)
tree8bda1188ea4fd4f15700b5c997c491bbe37f9f4e /win/C#/frmOptions.cs
parent21edb5248c8d25d334e3225e2f52ff9e8d9782dd (diff)
WinGui:
- Moved all the services that handle parsing, scanning, encodes and the queue out into a separate library. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3362 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmOptions.cs')
-rw-r--r--win/C#/frmOptions.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/win/C#/frmOptions.cs b/win/C#/frmOptions.cs
index 26bb26464..64b778f38 100644
--- a/win/C#/frmOptions.cs
+++ b/win/C#/frmOptions.cs
@@ -12,6 +12,10 @@ namespace Handbrake
using System.Windows.Forms;
using Functions;
+ using HandBrake.ApplicationServices;
+
+ using Handbrake.Properties;
+
public partial class frmOptions : Form
{
private frmMain mainWindow;
@@ -483,8 +487,21 @@ namespace Handbrake
private void btn_close_Click(object sender, EventArgs e)
{
Properties.Settings.Default.Save(); // Small hack for Vista. Seems to work fine on XP without this
+ UpdateApplicationServicesSettings();
+
this.Close();
}
+ /// <summary>
+ /// Initialize App Services
+ /// </summary>
+ private static void UpdateApplicationServicesSettings()
+ {
+ Init.SetupSettings(Settings.Default.cli_minimized, Settings.Default.CompletionOption, Settings.Default.noDvdNav,
+ Settings.Default.enocdeStatusInGui, Settings.Default.growlEncode, Settings.Default.growlQueue,
+ Settings.Default.processPriority, Settings.Default.saveLogPath, Settings.Default.saveLogToSpecifiedPath,
+ Settings.Default.saveLogWithVideo, Settings.Default.showCliForInGuiEncodeStatus);
+ }
+
}
} \ No newline at end of file