setup: port some more new logic calls

This commit is contained in:
Hylke Bons 2012-02-19 15:11:13 +01:00
parent 641a5680a6
commit c21d84c717
2 changed files with 2 additions and 13 deletions

View file

@ -327,7 +327,7 @@ namespace SparkleShare {
Button cancel_button = new Button (_("Cancel"));
cancel_button.Clicked += delegate {
Close ();
Controller.PageCancelled ();
};
// Sync button
@ -477,7 +477,6 @@ namespace SparkleShare {
finish_button.Clicked += delegate {
Controller.FinishedPageCompleted ();
Close ();
};
@ -592,7 +591,7 @@ namespace SparkleShare {
Button finish_button = new Button (_("Finish"));
finish_button.Clicked += delegate {
Close ();
Controller.FinishPageCompleted ();
};

View file

@ -50,11 +50,6 @@ namespace SparkleShare {
SetSizeRequest (680, 440);
DeleteEvent += delegate (object o, DeleteEventArgs args) {
args.RetVal = true;
Close ();
};
HBox = new HBox (false, 6);
VBox = new VBox (false, 0);
@ -147,10 +142,5 @@ namespace SparkleShare {
Present ();
base.ShowAll ();
}
public void Close ()
{
HideAll ();
}
}
}