fix compile error

This commit is contained in:
Hylke Bons 2010-05-19 10:06:20 +01:00
parent 8ac9c439ef
commit 22c3dde660
2 changed files with 4 additions and 9 deletions

View file

@ -113,7 +113,7 @@ namespace SparkleShare {
public void CloneRepo (object o, EventArgs args) { public void CloneRepo (object o, EventArgs args) {
Remove (Child); Remove (Child);
VBox Box = new VBox (false, 24); VBox Box = new VBox (false, 24);
SparkleSpinner Spinner = new SparkleSpinner (); SparkleSpinner Spinner = new SparkleSpinner ();
Label Label = new Label (_("Downloading files,\n") + Label Label = new Label (_("Downloading files,\n") +
_("this may take a while...")); _("this may take a while..."));
@ -154,7 +154,6 @@ namespace SparkleShare {
File.Create (SparkleHelpers.CombineMore (SparklePaths.SparklePath, File.Create (SparkleHelpers.CombineMore (SparklePaths.SparklePath,
RepoName, ".git", RepoName, ".git",
"sparkleshare.sync")); "sparkleshare.sync"));
Destroy (); Destroy ();
}; };

View file

@ -82,13 +82,9 @@ namespace SparkleShare {
/* Timer RedrawTimer = new Timer (); /* Timer RedrawTimer = new Timer ();
RedrawTimer.Interval = 5000; RedrawTimer.Interval = 5000;
RedrawTimer.Elapsed += delegate { RedrawTimer.Elapsed += delegate {
UpdatePeopleList ();
UpdateEventLog ();
UpdatePeopleList ("");
UpdateEventLog ("");
}; };
RedrawTimer.Start(); RedrawTimer.Start();
*/ */
Add (LayoutVertical); Add (LayoutVertical);
@ -98,7 +94,7 @@ namespace SparkleShare {
public void UpdateEventLog () { public void UpdateEventLog () {
LayoutHorizontal.Remove (LogScrolledWindow); LayoutHorizontal.Remove (LogScrolledWindow);
LogScrolledWindow = CreateEventLog (); LogScrolledWindow = CreateEventLog ();
LayoutHorizontal.PackStart (LogScrolledWindow), true, true, 0); LayoutHorizontal.PackStart (LogScrolledWindow, true, true, 0);
ShowAll (); ShowAll ();
} }