summaryrefslogtreecommitdiffstats
path: root/win/C#/frmMain.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2009-09-30 14:39:12 +0000
committersr55 <[email protected]>2009-09-30 14:39:12 +0000
commit6a2e47339a1dd65c4866c1d907f6b74565953e02 (patch)
tree594ec3a1de7da1255432844de2d7540453f5b033 /win/C#/frmMain.cs
parent7a88c8b6b3a1ba9f5ca08d1c9b235b0dfd2d1d1d (diff)
WinGui:
- Add a notice to the log to indicate if the user has used a custom query. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2854 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmMain.cs')
-rw-r--r--win/C#/frmMain.cs8
1 files changed, 5 insertions, 3 deletions
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs
index 4e3a73ff9..2be9b168b 100644
--- a/win/C#/frmMain.cs
+++ b/win/C#/frmMain.cs
@@ -729,7 +729,7 @@ namespace Handbrake
if (overwrite == DialogResult.Yes)
{
if (encodeQueue.Count == 0)
- encodeQueue.AddJob(query, sourcePath, text_destination.Text);
+ encodeQueue.AddJob(query, sourcePath, text_destination.Text, (rtf_query.Text != ""));
queueWindow.setQueue();
if (encodeQueue.Count > 1)
@@ -764,11 +764,11 @@ namespace Handbrake
DialogResult result = MessageBox.Show("There is already a queue item for this destination path. \n\n If you continue, the encode will be overwritten. Do you wish to continue?",
"Warning", MessageBoxButtons.YesNo, MessageBoxIcon.Warning);
if (result == DialogResult.Yes)
- encodeQueue.AddJob(query, sourcePath, text_destination.Text);
+ encodeQueue.AddJob(query, sourcePath, text_destination.Text, (rtf_query.Text != ""));
}
else
- encodeQueue.AddJob(query, sourcePath, text_destination.Text);
+ encodeQueue.AddJob(query, sourcePath, text_destination.Text, (rtf_query.Text != ""));
lbl_encode.Text = encodeQueue.Count + " encode(s) pending in the queue";
@@ -806,6 +806,8 @@ namespace Handbrake
if (ActivityWindow == null)
ActivityWindow = new frmActivityWindow(file, encodeQueue, this);
+ ActivityWindow.SetLogView(!encodeQueue.isEncoding);
+
ActivityWindow.Show();
}
#endregion