diff options
author | Lluis Sanchez <llsan@microsoft.com> | 2019-05-24 10:24:54 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-24 10:24:54 +0300 |
commit | 480a08c50e6a3107a517e025bc151b64d76a5eb2 (patch) | |
tree | a4313ef961dbde4c31cd6e4eed7c9c34e380f583 /main/src/addins/MacPlatform/MacPlatform.cs | |
parent | 8930618531b2091a02040a342185473e4ab3bc42 (diff) | |
parent | afc488382f35c09b5ecc8427a813d0328cec2c69 (diff) |
Merge pull request #7525 from mono/improve-responsiveness
Improve UI responsiveness at startup
Diffstat (limited to 'main/src/addins/MacPlatform/MacPlatform.cs')
-rw-r--r-- | main/src/addins/MacPlatform/MacPlatform.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/addins/MacPlatform/MacPlatform.cs b/main/src/addins/MacPlatform/MacPlatform.cs index 0142ab4174..6ccfbf5f93 100644 --- a/main/src/addins/MacPlatform/MacPlatform.cs +++ b/main/src/addins/MacPlatform/MacPlatform.cs @@ -696,7 +696,7 @@ namespace MonoDevelop.MacIntegration GLib.Idle.Add (delegate { Ide.WelcomePage.WelcomePageService.HideWelcomePageOrWindow (); var trackTTC = IdeStartupTracker.StartupTracker.StartTimeToCodeLoadTimer (); - IdeApp.OpenFiles (e.Documents.Select ( + IdeApp.OpenFilesAsync (e.Documents.Select ( doc => new FileOpenInformation (doc.Key, null, doc.Value, 1, OpenDocumentOptions.DefaultInternal)), null ).ContinueWith ((result) => { @@ -718,7 +718,7 @@ namespace MonoDevelop.MacIntegration var trackTTC = IdeStartupTracker.StartupTracker.StartTimeToCodeLoadTimer (); // Open files via the monodevelop:// URI scheme, compatible with the // common TextMate scheme: http://blog.macromates.com/2007/the-textmate-url-scheme/ - IdeApp.OpenFiles (e.Urls.Select (url => { + IdeApp.OpenFilesAsync (e.Urls.Select (url => { try { var uri = new Uri (url); if (uri.Host != "open") |