* no need to set a new default account explicitely anymore
authorDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Tue, 12 Jun 2007 10:32:57 +0000 (10:32 +0000)
committerDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Tue, 12 Jun 2007 10:32:57 +0000 (10:32 +0000)
pmo-trunk-r2174

src/maemo/modest-account-view-window.c

index 498cd64..1a57a12 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 {