}
const gboolean has_specific =
- modest_account_mgr_get_has_connection_specific_smtp (
+ modest_account_mgr_get_use_connection_specific_smtp (
dialog->account_manager,
account_name);
gtk_toggle_button_set_active (
account_title = NULL;
/* Save connection-specific SMTP server accounts: */
+ modest_account_mgr_set_use_connection_specific_smtp(dialog->account_manager, account_name,
+ gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(dialog->checkbox_outgoing_smtp_specific)));
if (dialog->specific_window) {
return modest_connection_specific_smtp_window_save_server_accounts (
MODEST_CONNECTION_SPECIFIC_SMTP_WINDOW (dialog->specific_window), account_name);