diff options
author | sr55 <[email protected]> | 2009-01-03 21:00:20 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2009-01-03 21:00:20 +0000 |
commit | 0b30a330672919074117c371de7d1fee4ff5cbbc (patch) | |
tree | 19ce2d17288a8ccc32de9f09b8a39a11329cf9a7 /win/C#/frmQueue.cs | |
parent | 6a22d98935aced40eef5279465f6cba645d04731 (diff) |
WinGui
- Decoupled the Activity window from frmMain and frmQueue.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2056 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmQueue.cs')
-rw-r--r-- | win/C#/frmQueue.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/win/C#/frmQueue.cs b/win/C#/frmQueue.cs index 8e71a7398..afa9f467e 100644 --- a/win/C#/frmQueue.cs +++ b/win/C#/frmQueue.cs @@ -153,7 +153,7 @@ namespace Handbrake paused = false;
btn_encode.Enabled = false;
mainWindow.setLastAction("encode");
- mainWindow.setEncodeStatus(1);
+ mainWindow.setEncodeStarted();
// Start the encode
try
@@ -207,8 +207,7 @@ namespace Handbrake }
resetQueue();
- mainWindow.setEncodeStatus(0); // Tell the main window encodes have finished.
-
+
// After the encode is done, we may want to shutdown, suspend etc.
cliObj.afterEncodeAction();
}
@@ -227,7 +226,6 @@ namespace Handbrake {
this.BeginInvoke(new ProgressUpdateHandler(resetQueue));
return;
-
}
btn_stop.Visible = false;
btn_encode.Enabled = true;
@@ -240,6 +238,8 @@ namespace Handbrake lbl_chapt.Text = "-";
lbl_encodesPending.Text = list_queue.Items.Count + " encode(s) pending";
+
+ mainWindow.setEncodeFinished(); // Tell the main window encodes have finished.
}
catch (Exception exc)
{
|