diff options
author | sr55 <[email protected]> | 2008-09-27 22:42:23 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2008-09-27 22:42:23 +0000 |
commit | 37897e9ed4608d8f3e400d4090220f3a92a55fc3 (patch) | |
tree | f5ade466eeed35665cd708fd67a8f7b74521c920 /win | |
parent | b5afbe5d8d9a81b79481fbfee67831ecd3728859 (diff) |
WinGui:
- Refined the Queue look.
- Fixed bug which cause the move up and down buttons to cause an exception.
- When you select an item on the queue and move it up or down, it will now remain selected. This saves re-selecting the item every time you want to move it up or down.
- Added pending encodes counter.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1780 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win')
-rw-r--r-- | win/C#/Functions/Queue.cs | 4 | ||||
-rw-r--r-- | win/C#/frmOptions.Designer.cs | 15 | ||||
-rw-r--r-- | win/C#/frmQueue.Designer.cs | 74 | ||||
-rw-r--r-- | win/C#/frmQueue.cs | 24 |
4 files changed, 70 insertions, 47 deletions
diff --git a/win/C#/Functions/Queue.cs b/win/C#/Functions/Queue.cs index 28730e099..3afca7d3e 100644 --- a/win/C#/Functions/Queue.cs +++ b/win/C#/Functions/Queue.cs @@ -83,7 +83,7 @@ namespace Handbrake.Functions {
if (index != 0)
{
- string item = queue[index].ToString();
+ ArrayList item = (ArrayList)queue[index];
queue.Insert((index - 1), item);
queue.RemoveAt((index + 1));
@@ -98,7 +98,7 @@ namespace Handbrake.Functions {
if (index != queue.Count - 1)
{
- string item = queue[index].ToString();
+ ArrayList item = (ArrayList)queue[index];
queue.Insert((index + 2), item);
queue.RemoveAt((index));
diff --git a/win/C#/frmOptions.Designer.cs b/win/C#/frmOptions.Designer.cs index 3ee7e5c36..dff23d9e4 100644 --- a/win/C#/frmOptions.Designer.cs +++ b/win/C#/frmOptions.Designer.cs @@ -86,11 +86,11 @@ namespace Handbrake this.btn_close.FlatAppearance.BorderColor = System.Drawing.Color.Black;
this.btn_close.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btn_close.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
- this.btn_close.Location = new System.Drawing.Point(395, 346);
+ this.btn_close.Location = new System.Drawing.Point(430, 346);
this.btn_close.Name = "btn_close";
- this.btn_close.Size = new System.Drawing.Size(107, 22);
+ this.btn_close.Size = new System.Drawing.Size(72, 22);
this.btn_close.TabIndex = 53;
- this.btn_close.Text = "Save && Close";
+ this.btn_close.Text = "Close";
this.btn_close.UseVisualStyleBackColor = true;
this.btn_close.Click += new System.EventHandler(this.btn_close_Click);
//
@@ -175,6 +175,9 @@ namespace Handbrake this.txt_autoNameFormat.Name = "txt_autoNameFormat";
this.txt_autoNameFormat.Size = new System.Drawing.Size(255, 21);
this.txt_autoNameFormat.TabIndex = 79;
+ this.ToolTip.SetToolTip(this.txt_autoNameFormat, "Define the format of the automatically named file.\r\ne.g {source}_{title}_some-te" +
+ "xt\r\n{source} {title} {chapters} will be automatically substituted for the input " +
+ "sources values.");
this.txt_autoNameFormat.TextChanged += new System.EventHandler(this.txt_autoNameFormat_TextChanged);
//
// btn_browse
@@ -206,7 +209,7 @@ namespace Handbrake this.text_an_path.Name = "text_an_path";
this.text_an_path.Size = new System.Drawing.Size(181, 21);
this.text_an_path.TabIndex = 76;
- this.ToolTip.SetToolTip(this.text_an_path, "Default location where Auto named files are stored.");
+ this.ToolTip.SetToolTip(this.text_an_path, "The default location where auto named files are stored.");
this.text_an_path.TextChanged += new System.EventHandler(this.text_an_path_TextChanged);
//
// check_autoNaming
@@ -215,9 +218,9 @@ namespace Handbrake this.check_autoNaming.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.check_autoNaming.Location = new System.Drawing.Point(114, 148);
this.check_autoNaming.Name = "check_autoNaming";
- this.check_autoNaming.Size = new System.Drawing.Size(340, 17);
+ this.check_autoNaming.Size = new System.Drawing.Size(206, 17);
this.check_autoNaming.TabIndex = 72;
- this.check_autoNaming.Text = "Use Auto Naming (uses source name and title number)";
+ this.check_autoNaming.Text = "Automatically name output files";
this.ToolTip.SetToolTip(this.check_autoNaming, "Automatically name output files");
this.check_autoNaming.UseVisualStyleBackColor = true;
this.check_autoNaming.CheckedChanged += new System.EventHandler(this.check_autoNaming_CheckedChanged);
diff --git a/win/C#/frmQueue.Designer.cs b/win/C#/frmQueue.Designer.cs index 750098e04..b3bf74373 100644 --- a/win/C#/frmQueue.Designer.cs +++ b/win/C#/frmQueue.Designer.cs @@ -70,10 +70,9 @@ namespace Handbrake this.progressBar = new System.Windows.Forms.ToolStripProgressBar();
this.lbl_progressValue = new System.Windows.Forms.ToolStripStatusLabel();
this.OpenFile = new System.Windows.Forms.OpenFileDialog();
- this.pictureBox1 = new System.Windows.Forms.PictureBox();
+ this.lbl_encodesPending = new System.Windows.Forms.ToolStripStatusLabel();
this.toolStrip1.SuspendLayout();
this.statusStrip1.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
// btn_down
@@ -82,12 +81,13 @@ namespace Handbrake this.btn_down.FlatAppearance.BorderColor = System.Drawing.Color.Black;
this.btn_down.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btn_down.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
- this.btn_down.Location = new System.Drawing.Point(610, 129);
+ this.btn_down.Location = new System.Drawing.Point(613, 110);
this.btn_down.Name = "btn_down";
this.btn_down.Size = new System.Drawing.Size(75, 22);
this.btn_down.TabIndex = 33;
this.btn_down.TabStop = false;
this.btn_down.Text = "Down";
+ this.toolTip1.SetToolTip(this.btn_down, "Move the selected item down 1 place in the queue");
this.btn_down.UseVisualStyleBackColor = true;
this.btn_down.Click += new System.EventHandler(this.btn_down_Click);
//
@@ -97,12 +97,13 @@ namespace Handbrake this.btn_up.FlatAppearance.BorderColor = System.Drawing.Color.Black;
this.btn_up.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btn_up.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
- this.btn_up.Location = new System.Drawing.Point(540, 129);
+ this.btn_up.Location = new System.Drawing.Point(543, 110);
this.btn_up.Name = "btn_up";
this.btn_up.Size = new System.Drawing.Size(64, 22);
this.btn_up.TabIndex = 32;
this.btn_up.TabStop = false;
this.btn_up.Text = "Up";
+ this.toolTip1.SetToolTip(this.btn_up, "Move the selected item up 1 place in the queue.");
this.btn_up.UseVisualStyleBackColor = true;
this.btn_up.Click += new System.EventHandler(this.btn_up_Click);
//
@@ -112,12 +113,13 @@ namespace Handbrake this.btn_delete.FlatAppearance.BorderColor = System.Drawing.Color.Black;
this.btn_delete.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btn_delete.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
- this.btn_delete.Location = new System.Drawing.Point(692, 129);
+ this.btn_delete.Location = new System.Drawing.Point(695, 110);
this.btn_delete.Name = "btn_delete";
this.btn_delete.Size = new System.Drawing.Size(75, 22);
this.btn_delete.TabIndex = 31;
this.btn_delete.TabStop = false;
this.btn_delete.Text = "Delete";
+ this.toolTip1.SetToolTip(this.btn_delete, "Remove the selected item from the queue");
this.btn_delete.UseVisualStyleBackColor = true;
this.btn_delete.Click += new System.EventHandler(this.btn_delete_Click);
//
@@ -125,7 +127,7 @@ namespace Handbrake //
this.label4.AutoSize = true;
this.label4.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label4.Location = new System.Drawing.Point(269, 121);
+ this.label4.Location = new System.Drawing.Point(225, 98);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(47, 26);
this.label4.TabIndex = 70;
@@ -134,7 +136,7 @@ namespace Handbrake // lbl_chapt
//
this.lbl_chapt.AutoSize = true;
- this.lbl_chapt.Location = new System.Drawing.Point(202, 133);
+ this.lbl_chapt.Location = new System.Drawing.Point(158, 110);
this.lbl_chapt.Name = "lbl_chapt";
this.lbl_chapt.Size = new System.Drawing.Size(12, 13);
this.lbl_chapt.TabIndex = 69;
@@ -144,7 +146,7 @@ namespace Handbrake //
this.lbl_title.AccessibleRole = System.Windows.Forms.AccessibleRole.None;
this.lbl_title.AutoSize = true;
- this.lbl_title.Location = new System.Drawing.Point(202, 120);
+ this.lbl_title.Location = new System.Drawing.Point(158, 97);
this.lbl_title.Name = "lbl_title";
this.lbl_title.Size = new System.Drawing.Size(12, 13);
this.lbl_title.TabIndex = 68;
@@ -153,7 +155,7 @@ namespace Handbrake // lbl_aEnc
//
this.lbl_aEnc.AutoSize = true;
- this.lbl_aEnc.Location = new System.Drawing.Point(330, 134);
+ this.lbl_aEnc.Location = new System.Drawing.Point(286, 111);
this.lbl_aEnc.Name = "lbl_aEnc";
this.lbl_aEnc.Size = new System.Drawing.Size(12, 13);
this.lbl_aEnc.TabIndex = 67;
@@ -162,7 +164,7 @@ namespace Handbrake // lbl_vEnc
//
this.lbl_vEnc.AutoSize = true;
- this.lbl_vEnc.Location = new System.Drawing.Point(330, 121);
+ this.lbl_vEnc.Location = new System.Drawing.Point(286, 98);
this.lbl_vEnc.Name = "lbl_vEnc";
this.lbl_vEnc.Size = new System.Drawing.Size(12, 13);
this.lbl_vEnc.TabIndex = 66;
@@ -171,7 +173,7 @@ namespace Handbrake // lbl_dest
//
this.lbl_dest.AutoSize = true;
- this.lbl_dest.Location = new System.Drawing.Point(202, 108);
+ this.lbl_dest.Location = new System.Drawing.Point(158, 85);
this.lbl_dest.Name = "lbl_dest";
this.lbl_dest.Size = new System.Drawing.Size(12, 13);
this.lbl_dest.TabIndex = 65;
@@ -181,7 +183,7 @@ namespace Handbrake // lbl_source
//
this.lbl_source.AutoSize = true;
- this.lbl_source.Location = new System.Drawing.Point(202, 95);
+ this.lbl_source.Location = new System.Drawing.Point(158, 72);
this.lbl_source.Name = "lbl_source";
this.lbl_source.Size = new System.Drawing.Size(12, 13);
this.lbl_source.TabIndex = 64;
@@ -191,7 +193,7 @@ namespace Handbrake //
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label1.Location = new System.Drawing.Point(56, 95);
+ this.label1.Location = new System.Drawing.Point(12, 72);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(99, 52);
this.label1.TabIndex = 63;
@@ -201,7 +203,7 @@ namespace Handbrake //
this.label3.AutoSize = true;
this.label3.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label3.Location = new System.Drawing.Point(56, 73);
+ this.label3.Location = new System.Drawing.Point(12, 50);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(82, 13);
this.label3.TabIndex = 62;
@@ -218,7 +220,7 @@ namespace Handbrake this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
- this.toolStrip1.Size = new System.Drawing.Size(779, 49);
+ this.toolStrip1.Size = new System.Drawing.Size(779, 39);
this.toolStrip1.TabIndex = 71;
this.toolStrip1.Text = "toolStrip1";
//
@@ -228,8 +230,7 @@ namespace Handbrake this.btn_encode.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.btn_encode.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btn_encode.Name = "btn_encode";
- this.btn_encode.Padding = new System.Windows.Forms.Padding(5);
- this.btn_encode.Size = new System.Drawing.Size(88, 46);
+ this.btn_encode.Size = new System.Drawing.Size(84, 36);
this.btn_encode.Text = "Encode";
this.btn_encode.Click += new System.EventHandler(this.btn_encode_Click);
//
@@ -240,7 +241,7 @@ namespace Handbrake this.btn_stop.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btn_stop.Name = "btn_stop";
this.btn_stop.Overflow = System.Windows.Forms.ToolStripItemOverflow.Never;
- this.btn_stop.Size = new System.Drawing.Size(72, 46);
+ this.btn_stop.Size = new System.Drawing.Size(75, 36);
this.btn_stop.Text = "Pause";
this.btn_stop.Visible = false;
this.btn_stop.Click += new System.EventHandler(this.btn_stop_Click);
@@ -248,7 +249,7 @@ namespace Handbrake // toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
- this.toolStripSeparator1.Size = new System.Drawing.Size(6, 49);
+ this.toolStripSeparator1.Size = new System.Drawing.Size(6, 39);
//
// drop_button_queue
//
@@ -260,14 +261,14 @@ namespace Handbrake this.drop_button_queue.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.drop_button_queue.ImageTransparentColor = System.Drawing.Color.Magenta;
this.drop_button_queue.Name = "drop_button_queue";
- this.drop_button_queue.Size = new System.Drawing.Size(84, 46);
+ this.drop_button_queue.Size = new System.Drawing.Size(89, 36);
this.drop_button_queue.Text = "Queue";
//
// mnu_batch
//
this.mnu_batch.Image = global::Handbrake.Properties.Resources.Output_Small;
this.mnu_batch.Name = "mnu_batch";
- this.mnu_batch.Size = new System.Drawing.Size(190, 22);
+ this.mnu_batch.Size = new System.Drawing.Size(207, 22);
this.mnu_batch.Text = "Generate Batch Script";
this.mnu_batch.Click += new System.EventHandler(this.mnu_batch_Click);
//
@@ -275,7 +276,7 @@ namespace Handbrake //
this.mnu_import.Image = global::Handbrake.Properties.Resources.folder;
this.mnu_import.Name = "mnu_import";
- this.mnu_import.Size = new System.Drawing.Size(190, 22);
+ this.mnu_import.Size = new System.Drawing.Size(207, 22);
this.mnu_import.Text = "Import Queue";
this.mnu_import.Click += new System.EventHandler(this.mnu_import_Click);
//
@@ -283,7 +284,7 @@ namespace Handbrake //
this.mnu_export.Image = global::Handbrake.Properties.Resources.save;
this.mnu_export.Name = "mnu_export";
- this.mnu_export.Size = new System.Drawing.Size(190, 22);
+ this.mnu_export.Size = new System.Drawing.Size(207, 22);
this.mnu_export.Text = "Export Queue";
this.mnu_export.Click += new System.EventHandler(this.mnu_export_Click);
//
@@ -304,10 +305,10 @@ namespace Handbrake this.list_queue.FullRowSelect = true;
this.list_queue.GridLines = true;
this.list_queue.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
- this.list_queue.Location = new System.Drawing.Point(12, 157);
+ this.list_queue.Location = new System.Drawing.Point(15, 138);
this.list_queue.MultiSelect = false;
this.list_queue.Name = "list_queue";
- this.list_queue.Size = new System.Drawing.Size(755, 185);
+ this.list_queue.Size = new System.Drawing.Size(755, 202);
this.list_queue.TabIndex = 72;
this.list_queue.UseCompatibleStateImageBehavior = false;
this.list_queue.View = System.Windows.Forms.View.Details;
@@ -346,6 +347,7 @@ namespace Handbrake // statusStrip1
//
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.lbl_encodesPending,
this.toolStripStatusLabel1,
this.progressBar,
this.lbl_progressValue});
@@ -357,8 +359,9 @@ namespace Handbrake //
// toolStripStatusLabel1
//
+ this.toolStripStatusLabel1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
- this.toolStripStatusLabel1.Size = new System.Drawing.Size(53, 26);
+ this.toolStripStatusLabel1.Size = new System.Drawing.Size(57, 26);
this.toolStripStatusLabel1.Text = "Progress:";
//
// progressBar
@@ -370,21 +373,20 @@ namespace Handbrake // lbl_progressValue
//
this.lbl_progressValue.Name = "lbl_progressValue";
- this.lbl_progressValue.Size = new System.Drawing.Size(30, 26);
+ this.lbl_progressValue.Size = new System.Drawing.Size(34, 26);
this.lbl_progressValue.Text = " 0 %";
//
// OpenFile
//
this.OpenFile.Filter = "HandBrake Queue|*.queue";
//
- // pictureBox1
+ // lbl_encodesPending
//
- this.pictureBox1.Image = global::Handbrake.Properties.Resources.Queue;
- this.pictureBox1.Location = new System.Drawing.Point(12, 61);
- this.pictureBox1.Name = "pictureBox1";
- this.pictureBox1.Size = new System.Drawing.Size(37, 32);
- this.pictureBox1.TabIndex = 61;
- this.pictureBox1.TabStop = false;
+ this.lbl_encodesPending.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
+ this.lbl_encodesPending.Margin = new System.Windows.Forms.Padding(0, 3, 10, 2);
+ this.lbl_encodesPending.Name = "lbl_encodesPending";
+ this.lbl_encodesPending.Size = new System.Drawing.Size(122, 26);
+ this.lbl_encodesPending.Text = "0 encode(s) pending";
//
// frmQueue
//
@@ -393,7 +395,6 @@ namespace Handbrake this.ClientSize = new System.Drawing.Size(779, 390);
this.Controls.Add(this.statusStrip1);
this.Controls.Add(this.list_queue);
- this.Controls.Add(this.pictureBox1);
this.Controls.Add(this.btn_down);
this.Controls.Add(this.btn_up);
this.Controls.Add(this.toolStrip1);
@@ -418,7 +419,6 @@ namespace Handbrake this.toolStrip1.PerformLayout();
this.statusStrip1.ResumeLayout(false);
this.statusStrip1.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
@@ -439,7 +439,6 @@ namespace Handbrake private System.Windows.Forms.Label lbl_source;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label3;
- private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStripButton btn_encode;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
@@ -461,5 +460,6 @@ namespace Handbrake private System.Windows.Forms.ToolStripMenuItem mnu_import;
private System.Windows.Forms.ToolStripMenuItem mnu_export;
private System.Windows.Forms.OpenFileDialog OpenFile;
+ private System.Windows.Forms.ToolStripStatusLabel lbl_encodesPending;
}
}
\ No newline at end of file diff --git a/win/C#/frmQueue.cs b/win/C#/frmQueue.cs index e27241921..07f4717c6 100644 --- a/win/C#/frmQueue.cs +++ b/win/C#/frmQueue.cs @@ -41,6 +41,7 @@ namespace Handbrake {
queue = qw;
redrawQueue();
+ lbl_encodesPending.Text = list_queue.Items.Count + " encode(s) pending";
}
/// <summary>
@@ -59,7 +60,8 @@ namespace Handbrake private void redrawQueue()
{
list_queue.Items.Clear();
- foreach (ArrayList queue_item in queue.getQueue())
+ ArrayList theQueue = queue.getQueue();
+ foreach (ArrayList queue_item in theQueue)
{
string q_item = queue_item[1].ToString();
Functions.QueryParser parsed = Functions.QueryParser.Parse(q_item);
@@ -195,6 +197,8 @@ namespace Handbrake lbl_aEnc.Text = "-";
lbl_title.Text = "-";
lbl_chapt.Text = "-";
+
+ lbl_encodesPending.Text = list_queue.Items.Count + " encode(s) pending";
}
catch (Exception exc)
{
@@ -226,6 +230,7 @@ namespace Handbrake progressBar.PerformStep();
lbl_progressValue.Text = string.Format("{0} %", progressBar.Value);
+ lbl_encodesPending.Text = list_queue.Items.Count + " encode(s) pending";
}
catch (Exception exc)
{
@@ -281,9 +286,16 @@ namespace Handbrake {
if (list_queue.SelectedIndices.Count != 0)
{
- queue.moveUp(list_queue.SelectedIndices[0]);
+ int selected = list_queue.SelectedIndices[0];
+
+ queue.moveUp(selected);
queue.write2disk("hb_queue_recovery.dat"); // Update the queue recovery file
redrawQueue();
+
+ if (selected - 1 > 0)
+ list_queue.Items[selected -1].Selected = true;
+
+ list_queue.Select();
}
}
@@ -292,9 +304,16 @@ namespace Handbrake {
if (list_queue.SelectedIndices.Count != 0)
{
+ int selected = list_queue.SelectedIndices[0];
+
queue.moveDown(list_queue.SelectedIndices[0]);
queue.write2disk("hb_queue_recovery.dat"); // Update the queue recovery file
redrawQueue();
+
+ if (selected +1 < list_queue.Items.Count)
+ list_queue.Items[selected + 1].Selected = true;
+
+ list_queue.Select();
}
}
@@ -306,6 +325,7 @@ namespace Handbrake queue.remove(list_queue.SelectedIndices[0]);
queue.write2disk("hb_queue_recovery.dat"); // Update the queue recovery file
redrawQueue();
+ lbl_encodesPending.Text = list_queue.Items.Count + " encode(s) pending";
}
}
|