X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fhildon2%2Fmodest-easysetup-wizard-dialog.c;h=c81aa9060cc55f22f545e6b6c945b3f0563cf72c;hb=9c2a37dd25558a3a70d49388b63424bc96cf2cab;hp=283e24aabef0dffb461a308a9d885148c0d3db4b;hpb=e25c92b48e4dea24d1fe19eed87292eebfb5b7f4;p=modest diff --git a/src/hildon2/modest-easysetup-wizard-dialog.c b/src/hildon2/modest-easysetup-wizard-dialog.c index 283e24a..c81aa90 100644 --- a/src/hildon2/modest-easysetup-wizard-dialog.c +++ b/src/hildon2/modest-easysetup-wizard-dialog.c @@ -139,6 +139,7 @@ struct _ModestEasysetupWizardDialogPrivate static void save_to_settings (ModestEasysetupWizardDialog *self); static void real_enable_buttons (ModestWizardDialog *dialog, gboolean enable_next); +static void on_save_settings (ModestWizardDialog *dialog); static GList* check_for_supported_auth_methods (ModestEasysetupWizardDialog* self); static gboolean check_has_supported_auth_methods(ModestEasysetupWizardDialog* self); @@ -1853,6 +1854,7 @@ modest_easysetup_wizard_dialog_class_init (ModestEasysetupWizardDialogClass *kla ModestWizardDialogClass *base_klass = (ModestWizardDialogClass*)(klass); base_klass->before_next = on_before_next; base_klass->enable_buttons = on_enable_buttons; + base_klass->save_settings = on_save_settings; } /** @@ -2102,6 +2104,16 @@ save_to_settings (ModestEasysetupWizardDialog *self) g_free (provider_id); } + +static void +on_save_settings (ModestWizardDialog *dialog) +{ + ModestEasysetupWizardDialog *self = MODEST_EASYSETUP_WIZARD_DIALOG (dialog); + save_to_settings (self); + +} + + static GList* check_for_supported_auth_methods (ModestEasysetupWizardDialog* self) {