From 5d0ed0a32b855c9eac15f7c79a22c176b969231f Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sun, 5 Jun 2011 23:18:55 +0100 Subject: [PATCH] intro: fix possible freeze by not calling a window manager action in the main thread --- SparkleShare/SparkleIntro.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/SparkleShare/SparkleIntro.cs b/SparkleShare/SparkleIntro.cs index d5873b5c..84fe38bf 100644 --- a/SparkleShare/SparkleIntro.cs +++ b/SparkleShare/SparkleIntro.cs @@ -282,7 +282,10 @@ namespace SparkleShare { if (radio_button_gnome.Active) server = "gnome.org"; - ShowSyncingPage (canonical_name); + Application.Invoke (delegate { + Deletable = false; + ShowSyncingPage (canonical_name); + }); SparkleShare.Controller.FolderFetched += delegate { Application.Invoke (delegate { @@ -518,8 +521,6 @@ namespace SparkleShare { { Reset (); - Deletable = false; - VBox layout_vertical = new VBox (false, 0); Label header = new Label ("" +