From b655d45c70f92ee49bdb198671468680babea75b Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sat, 15 May 2010 12:41:18 +0100 Subject: [PATCH] don't need the remove button. just remove it from the SparkleShare folder. --- SparkleShare/SparkleRepo.cs | 1 + SparkleShare/SparkleWindow.cs | 15 ++------------- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/SparkleShare/SparkleRepo.cs b/SparkleShare/SparkleRepo.cs index 4ad7e078..5183fc40 100644 --- a/SparkleShare/SparkleRepo.cs +++ b/SparkleShare/SparkleRepo.cs @@ -156,6 +156,7 @@ namespace SparkleShare { "Waiting for more changes..."); BufferTimer.Start(); + } else { // Extend the delay when something changes diff --git a/SparkleShare/SparkleWindow.cs b/SparkleShare/SparkleWindow.cs index 67c5b78e..0219926f 100644 --- a/SparkleShare/SparkleWindow.cs +++ b/SparkleShare/SparkleWindow.cs @@ -192,30 +192,19 @@ namespace SparkleShare { }; - HBox AddRemoveButtons = new HBox (false, 6); - Button AddButton = new Button ("Add..."); + Button AddButton = new Button ("Add…"); AddButton.Clicked += delegate { SparkleDialog = new SparkleDialog (this); SparkleDialog.ShowAll (); }; - - AddRemoveButtons.PackStart (AddButton, true, true, 0); - - Image RemoveIcon = new Image ( - SparkleHelpers.GetIcon ("document-removed", 16)); - - Button RemoveButton = new Button (); - RemoveButton.Add (RemoveIcon); - AddRemoveButtons.PackStart (RemoveButton, false, false, 0); - ScrolledWindow.AddWithViewport (ReposView); ScrolledWindow.WidthRequest = 200; VBox VBox = new VBox (false, 6); VBox.PackStart (ScrolledWindow, true, true, 0); - VBox.PackStart (AddRemoveButtons, false, false, 0); + VBox.PackStart (AddButton, false, false, 0); return VBox;