setup: Don't block the UI when creating a startup item

This commit is contained in:
Hylke Bons 2012-07-19 21:42:24 +02:00
parent dfb1911c2d
commit 6d6975cb6b

View file

@ -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);