From c21d84c7176947a2d722774dc4716ff07f97c417 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sun, 19 Feb 2012 15:11:13 +0100 Subject: [PATCH] setup: port some more new logic calls --- SparkleShare/SparkleSetup.cs | 5 ++--- SparkleShare/SparkleSetupWindow.cs | 10 ---------- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/SparkleShare/SparkleSetup.cs b/SparkleShare/SparkleSetup.cs index 1c0f44e6..b4721915 100755 --- a/SparkleShare/SparkleSetup.cs +++ b/SparkleShare/SparkleSetup.cs @@ -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 (); }; diff --git a/SparkleShare/SparkleSetupWindow.cs b/SparkleShare/SparkleSetupWindow.cs index 3ef464c8..45ef6a41 100755 --- a/SparkleShare/SparkleSetupWindow.cs +++ b/SparkleShare/SparkleSetupWindow.cs @@ -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 (); - } } }