setup: update Continue button when needed

This commit is contained in:
Hylke Bons 2011-12-08 17:01:40 +01:00
parent b14710f22a
commit 78550a68f9

View file

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