OSDN Git Service

WinGui:
authorsr55 <sr55@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sun, 13 Sep 2009 20:54:11 +0000 (20:54 +0000)
committersr55 <sr55@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sun, 13 Sep 2009 20:54:11 +0000 (20:54 +0000)
- Show the number of encodes pending on the main window. Updates after each new item is added to the queue. Also updates with the status of encodes / items left on the queue.

git-svn-id: svn://localhost/HandBrake/trunk@2817 b64f7644-9d1e-0410-96f1-a4d463321fa5

win/C#/frmMain.cs

index 7116c86..2a32be7 100644 (file)
@@ -752,6 +752,8 @@ namespace Handbrake
                 else\r
                     encodeQueue.AddJob(query, sourcePath, text_destination.Text);\r
 \r
+                lbl_encode.Text = encodeQueue.Count + " encode(s) pending in the queue";\r
+\r
                 queueWindow.Show();\r
             }\r
         }\r
@@ -1622,7 +1624,7 @@ namespace Handbrake
                 }\r
 \r
                 lbl_encode.Visible = true;\r
-                lbl_encode.Text = "Encoding in Progress";\r
+                lbl_encode.Text = "Encoding with " + encodeQueue.Count + " encode(s) pending";\r
                 btn_start.Text = "Stop";\r
                 btn_start.ToolTipText = "Stop the encoding process.";\r
                 btn_start.Image = Properties.Resources.stop;\r