summaryrefslogtreecommitdiffstats
path: root/win/C#/frmQueue.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2009-06-14 13:31:24 +0000
committersr55 <[email protected]>2009-06-14 13:31:24 +0000
commitb023bb532c17e1284230172b660baa32b5750318 (patch)
tree33a5bfe14b29a2ed932e782b94469956cea5874d /win/C#/frmQueue.cs
parent729ff4e83ad9c402fd322922e38c6b75f55508e0 (diff)
WinGui:
- Small tweaks to Encode.cs - write2disk queue recovery feature is now completely handled in QueueHandler - Auto naming is on by default. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2533 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmQueue.cs')
-rw-r--r--win/C#/frmQueue.cs6
1 files changed, 1 insertions, 5 deletions
diff --git a/win/C#/frmQueue.cs b/win/C#/frmQueue.cs
index 88da988ba..1672ae3f5 100644
--- a/win/C#/frmQueue.cs
+++ b/win/C#/frmQueue.cs
@@ -255,7 +255,6 @@ namespace Handbrake
foreach (int selectedIndex in selectedIndices)
queue.remove(selectedIndex);
- queue.write2disk("hb_queue_recovery.xml"); // Update the queue recovery file
updateUIElements();
// Select the item where the first deleted item was previously
@@ -310,7 +309,6 @@ namespace Handbrake
foreach (int selectedIndex in selectedIndices)
queue.moveUp(selectedIndex);
- queue.write2disk("hb_queue_recovery.xml"); // Update the queue recovery file
updateUIElements();
// Keep the selected item(s) selected, now moved up one index
@@ -339,7 +337,6 @@ namespace Handbrake
foreach (int selectedIndex in selectedIndices)
queue.moveDown(selectedIndex);
- queue.write2disk("hb_queue_recovery.xml"); // Update the queue recovery file
updateUIElements();
// Keep the selected item(s) selected, now moved down one index
@@ -366,7 +363,7 @@ namespace Handbrake
SaveFile.Filter = "HandBrake Queue|*.queue";
SaveFile.ShowDialog();
if (SaveFile.FileName != String.Empty)
- queue.write2disk(SaveFile.FileName);
+ queue.updateQueueRecoveryFile(SaveFile.FileName);
}
private void mnu_import_Click(object sender, EventArgs e)
{
@@ -381,7 +378,6 @@ namespace Handbrake
if (queue.lastQueueItem != null)
{
queue.add(queue.lastQueueItem.Query, queue.lastQueueItem.Source, queue.lastQueueItem.Destination);
- queue.write2disk("hb_queue_recovery.xml"); // Update the queue recovery file
updateUIElements();
}
}