From 0c75dee12c9a0a9eec126ae47954a7df29259686 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Thu, 8 Dec 2011 17:01:40 +0100 Subject: [PATCH] setup: update Continue button when needed --- SparkleShare/SparkleSetup.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/SparkleShare/SparkleSetup.cs b/SparkleShare/SparkleSetup.cs index 7fac370a..3b8b0235 100755 --- a/SparkleShare/SparkleSetup.cs +++ b/SparkleShare/SparkleSetup.cs @@ -118,6 +118,12 @@ namespace SparkleShare { AddButton (NextButton); Add (Table); + + Controller.UpdateSetupContinueButtonEvent += delegate (bool button_enabled) { + Application.Invoke (delegate { + NextButton.Sensitive = button_enabled; + }); + }; Controller.CheckSetupPage (NameEntry.Text, EmailEntry.Text);