account_name,
FALSE);
- if (removed && is_default) {
- /* Set a different account as the default, so there is always at least one default:
- * This is not specified, and might be the wrong behaviour. murrayc. */
- modest_account_mgr_set_first_account_as_default (account_mgr);
- }
-
if (removed) {
/* Show confirmation dialog ??? */
} else {
const int response = gtk_dialog_run (GTK_DIALOG(note));
gtk_widget_destroy (note);
if (response == GTK_RESPONSE_OK) {
- modest_mail_operation_queue_cancel_all(queue);;
+ modest_mail_operation_queue_cancel_all(queue);
}
else
return;