mac: Properly focus the about dialog
This commit is contained in:
parent
1479581fb0
commit
bb1ae7c7f1
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Drawing;
|
||||
using System.IO;
|
||||
|
||||
using MonoMac.Foundation;
|
||||
using MonoMac.AppKit;
|
||||
using MonoMac.Foundation;
|
||||
using MonoMac.ObjCRuntime;
|
||||
using MonoMac.WebKit;
|
||||
|
||||
|
||||
namespace SparkleShare {
|
||||
|
||||
public class SparkleAbout : NSWindow {
|
||||
|
@ -54,9 +53,12 @@ namespace SparkleShare {
|
|||
BackingType = NSBackingStore.Buffered;
|
||||
|
||||
CreateAbout ();
|
||||
OrderFrontRegardless ();
|
||||
|
||||
NSApplication.SharedApplication.ActivateIgnoringOtherApps (true);
|
||||
MakeKeyAndOrderFront (this);
|
||||
|
||||
OrderFrontRegardless ();
|
||||
|
||||
Program.UI.UpdateDockIconVisibility ();
|
||||
|
||||
Controller.NewVersionEvent += delegate (string new_version) {
|
||||
|
|
Loading…
Reference in a new issue