summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--win/C#/frmMain.Designer.cs8
-rw-r--r--win/C#/frmMain.cs5
2 files changed, 6 insertions, 7 deletions
diff --git a/win/C#/frmMain.Designer.cs b/win/C#/frmMain.Designer.cs
index 4c19ff411..29a0f87d2 100644
--- a/win/C#/frmMain.Designer.cs
+++ b/win/C#/frmMain.Designer.cs
@@ -1291,16 +1291,18 @@ namespace Handbrake
//
// lbl_encode
//
+ this.lbl_encode.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbl_encode.Name = "lbl_encode";
- this.lbl_encode.Size = new System.Drawing.Size(23, 17);
+ this.lbl_encode.Size = new System.Drawing.Size(28, 17);
this.lbl_encode.Text = "{0}";
//
// lbl_updateCheck
//
this.lbl_updateCheck.BackColor = System.Drawing.Color.Transparent;
this.lbl_updateCheck.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
+ this.lbl_updateCheck.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbl_updateCheck.Name = "lbl_updateCheck";
- this.lbl_updateCheck.Size = new System.Drawing.Size(125, 17);
+ this.lbl_updateCheck.Size = new System.Drawing.Size(139, 17);
this.lbl_updateCheck.Text = "Checking for Updates ...";
this.lbl_updateCheck.Visible = false;
//
@@ -1556,7 +1558,6 @@ namespace Handbrake
this.AllowDrop = true;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.AutoScroll = true;
this.ClientSize = new System.Drawing.Size(1000, 582);
this.Controls.Add(this.labelStaticSource);
this.Controls.Add(this.labelSource);
@@ -1573,7 +1574,6 @@ namespace Handbrake
this.DoubleBuffered = true;
this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
- this.MaximizeBox = false;
this.Name = "frmMain";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "HandBrake";
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs
index 69e850a3a..1b215b396 100644
--- a/win/C#/frmMain.cs
+++ b/win/C#/frmMain.cs
@@ -389,6 +389,7 @@ namespace Handbrake
}
private void mnu_UpdateCheck_Click(object sender, EventArgs e)
{
+ lbl_updateCheck.Visible = true;
Main.BeginCheckForUpdates(new AsyncCallback(updateCheckDoneMenu), false);
}
private void updateCheckDoneMenu(IAsyncResult result)
@@ -399,14 +400,12 @@ namespace Handbrake
Invoke(new MethodInvoker(() => updateCheckDoneMenu(result)));
return;
}
-
UpdateCheckInformation info;
-
try
{
// Get the information about the new build, if any, and close the window
info = Main.EndCheckForUpdates(result);
- lbl_updateCheck.Visible = true;
+
if (info.NewVersionAvailable && info.BuildInformation != null)
{
frmUpdater updateWindow = new frmUpdater(info.BuildInformation);