From 8c0c5f90e51a16beb3559bb5f6dbaeb21bfbe2e5 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Mon, 14 Feb 2011 00:17:49 +0000 Subject: [PATCH] [window] Fix issue where the setup window title isn't added to the Windows list --- SparkleShare/Mac/SparkleWindow.cs | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/SparkleShare/Mac/SparkleWindow.cs b/SparkleShare/Mac/SparkleWindow.cs index 742befb2..c2fb6742 100644 --- a/SparkleShare/Mac/SparkleWindow.cs +++ b/SparkleShare/Mac/SparkleWindow.cs @@ -90,7 +90,7 @@ namespace SparkleShare { NSApplication.SharedApplication.ActivateIgnoringOtherApps (true); MakeKeyAndOrderFront (this); - NSApplication.SharedApplication.AddWindowsItem (this, "SparkleShare Setup", false); + OrderFrontRegardless (); } @@ -143,8 +143,17 @@ namespace SparkleShare { } } - - + + + public override void OrderFrontRegardless () + { + + NSApplication.SharedApplication.AddWindowsItem (this, "SparkleShare Setup", false); + base.OrderFrontRegardless (); + + } + + public override void Close () {