setup: update Continue button when needed

This commit is contained in:
Hylke Bons 2011-12-08 17:01:40 +01:00
parent 1cdc2193e8
commit 0c75dee12c

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