setup: port some more new logic calls
This commit is contained in:
parent
641a5680a6
commit
c21d84c717
|
@ -327,7 +327,7 @@ namespace SparkleShare {
|
||||||
Button cancel_button = new Button (_("Cancel"));
|
Button cancel_button = new Button (_("Cancel"));
|
||||||
|
|
||||||
cancel_button.Clicked += delegate {
|
cancel_button.Clicked += delegate {
|
||||||
Close ();
|
Controller.PageCancelled ();
|
||||||
};
|
};
|
||||||
|
|
||||||
// Sync button
|
// Sync button
|
||||||
|
@ -477,7 +477,6 @@ namespace SparkleShare {
|
||||||
|
|
||||||
finish_button.Clicked += delegate {
|
finish_button.Clicked += delegate {
|
||||||
Controller.FinishedPageCompleted ();
|
Controller.FinishedPageCompleted ();
|
||||||
Close ();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -592,7 +591,7 @@ namespace SparkleShare {
|
||||||
|
|
||||||
Button finish_button = new Button (_("Finish"));
|
Button finish_button = new Button (_("Finish"));
|
||||||
finish_button.Clicked += delegate {
|
finish_button.Clicked += delegate {
|
||||||
Close ();
|
Controller.FinishPageCompleted ();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -50,11 +50,6 @@ namespace SparkleShare {
|
||||||
|
|
||||||
SetSizeRequest (680, 440);
|
SetSizeRequest (680, 440);
|
||||||
|
|
||||||
DeleteEvent += delegate (object o, DeleteEventArgs args) {
|
|
||||||
args.RetVal = true;
|
|
||||||
Close ();
|
|
||||||
};
|
|
||||||
|
|
||||||
HBox = new HBox (false, 6);
|
HBox = new HBox (false, 6);
|
||||||
|
|
||||||
VBox = new VBox (false, 0);
|
VBox = new VBox (false, 0);
|
||||||
|
@ -147,10 +142,5 @@ namespace SparkleShare {
|
||||||
Present ();
|
Present ();
|
||||||
base.ShowAll ();
|
base.ShowAll ();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Close ()
|
|
||||||
{
|
|
||||||
HideAll ();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue