2007-06-12 Murray Cumming <murrayc@murrayc.com>
[modest] / src / maemo / modest-account-view-window.c
index 498cd64..fc40ea2 100644 (file)
@@ -196,12 +196,6 @@ on_delete_button_clicked (GtkWidget *button, ModestAccountViewWindow *self)
                                                                             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 {
@@ -235,7 +229,7 @@ on_edit_button_clicked (GtkWidget *button, ModestAccountViewWindow *self)
                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;