From 22c3dde660c2e9e73a6dc126e4d0ab85c299e29d Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Wed, 19 May 2010 10:06:20 +0100 Subject: [PATCH] fix compile error --- SparkleShare/SparkleDialog.cs | 3 +-- SparkleShare/SparkleWindow.cs | 10 +++------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/SparkleShare/SparkleDialog.cs b/SparkleShare/SparkleDialog.cs index b5bccae4..5b6c51fe 100644 --- a/SparkleShare/SparkleDialog.cs +++ b/SparkleShare/SparkleDialog.cs @@ -113,7 +113,7 @@ namespace SparkleShare { public void CloneRepo (object o, EventArgs args) { Remove (Child); - VBox Box = new VBox (false, 24); + VBox Box = new VBox (false, 24); SparkleSpinner Spinner = new SparkleSpinner (); Label Label = new Label (_("Downloading files,\n") + _("this may take a while...")); @@ -154,7 +154,6 @@ namespace SparkleShare { File.Create (SparkleHelpers.CombineMore (SparklePaths.SparklePath, RepoName, ".git", "sparkleshare.sync")); - Destroy (); }; diff --git a/SparkleShare/SparkleWindow.cs b/SparkleShare/SparkleWindow.cs index ca6da9e7..459a810d 100644 --- a/SparkleShare/SparkleWindow.cs +++ b/SparkleShare/SparkleWindow.cs @@ -82,13 +82,9 @@ namespace SparkleShare { /* Timer RedrawTimer = new Timer (); RedrawTimer.Interval = 5000; RedrawTimer.Elapsed += delegate { - - - UpdatePeopleList (""); - UpdateEventLog (""); - + UpdatePeopleList (); + UpdateEventLog (); }; - RedrawTimer.Start(); */ Add (LayoutVertical); @@ -98,7 +94,7 @@ namespace SparkleShare { public void UpdateEventLog () { LayoutHorizontal.Remove (LogScrolledWindow); LogScrolledWindow = CreateEventLog (); - LayoutHorizontal.PackStart (LogScrolledWindow), true, true, 0); + LayoutHorizontal.PackStart (LogScrolledWindow, true, true, 0); ShowAll (); }