intro: fix possible freeze by not calling a window manager action in the main thread

This commit is contained in:
Hylke Bons 2011-06-05 23:18:55 +01:00
parent 1a389059d3
commit 5d0ed0a32b

View file

@ -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 ("<span size='large'><b>" +