don't need the remove button. just remove it from the SparkleShare folder.

This commit is contained in:
Hylke Bons 2010-05-15 12:41:18 +01:00
parent 091b356249
commit b655d45c70
2 changed files with 3 additions and 13 deletions

View file

@ -156,6 +156,7 @@ namespace SparkleShare {
"Waiting for more changes...");
BufferTimer.Start();
} else {
// Extend the delay when something changes

View file

@ -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;