diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-accounts.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 37bf8528c2..78bf11c37d 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2001-08-10 Peter Williams <peterw@ximian.com> + + * mail-accounts.c (mail_delete): Don't remove the account from the + tree if it's not enabled. + 2001-08-10 Jason Leach <jleach@ximian.com> * mail-ops.c (remove_folder_get): Remove all the messages from a diff --git a/mail/mail-accounts.c b/mail/mail-accounts.c index fe3d737a23..88cb204a87 100644 --- a/mail/mail-accounts.c +++ b/mail/mail-accounts.c @@ -280,7 +280,7 @@ mail_delete (GtkButton *button, gpointer data) account = gtk_clist_get_row_data (dialog->mail_accounts, sel); /* remove it from the folder-tree in the shell */ - if (account->source && account->source->url) + if (account->source && account->source->url && account->source->enabled) mail_remove_storage_by_uri (account->source->url); /* remove it from the config file */ |