diff options
author | sr55 <[email protected]> | 2011-01-22 18:02:19 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2011-01-22 18:02:19 +0000 |
commit | afcbfbd96a5536171ea640a67f6c14c907744894 (patch) | |
tree | 76215eeda5e80b5cbdc84f21ec8df7d1d2cedd67 /win/C#/frmMain.cs | |
parent | c3940c57f907e79b07f575ba6105deefd517bab2 (diff) |
WinGui:
- Refactored some more code out of the UI project into the Services Project.
- Added support for showing bluray drives to the "Source" dropdown menu
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3764 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmMain.cs')
-rw-r--r-- | win/C#/frmMain.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs index fa85b4763..b4feee8f2 100644 --- a/win/C#/frmMain.cs +++ b/win/C#/frmMain.cs @@ -88,7 +88,7 @@ namespace Handbrake // We have a drive, selected as a folder.
if (this.sourcePath.EndsWith("\\"))
{
- drives = Main.GetDrives();
+ drives = UtilityService.GetDrives();
foreach (DriveInformation item in drives)
{
if (item.RootDirectory.Contains(this.sourcePath))
@@ -148,7 +148,7 @@ namespace Handbrake // Clear the log files in the background
if (Settings.Default.clearOldLogs)
{
- Thread clearLog = new Thread(Main.ClearOldLogs);
+ Thread clearLog = new Thread(() => UtilityService.ClearLogFiles(30));
clearLog.Start();
}
@@ -2470,7 +2470,7 @@ namespace Handbrake return;
}
- drives = Main.GetDrives();
+ drives = UtilityService.GetDrives();
List<ToolStripMenuItem> menuItems = new List<ToolStripMenuItem>();
foreach (DriveInformation drive in drives)
|