From 59b37fc5cc18985a2e057c7ce55a9c36a7a17505 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Thu, 19 Jul 2012 21:42:24 +0200 Subject: [PATCH] setup: Don't block the UI when creating a startup item --- SparkleShare/SparkleSetupController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SparkleShare/SparkleSetupController.cs b/SparkleShare/SparkleSetupController.cs index 142f2a99..56c18f14 100755 --- a/SparkleShare/SparkleSetupController.cs +++ b/SparkleShare/SparkleSetupController.cs @@ -296,7 +296,7 @@ namespace SparkleShare { HideWindowEvent (); if (this.create_startup_item) - Program.Controller.CreateStartupItem (); + new Thread (() => Program.Controller.CreateStartupItem ()).Start (); } else { ChangePageEvent (PageType.Tutorial, null);