aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/mail-account-gui.c3
2 files changed, 9 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 58a21f8d2e..e68eb3472d 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2001-07-15 Jeffrey Stedfast <fejj@ximian.com>
+
+ * mail-account-gui.c (mail_account_gui_save): Call
+ mail_autoreceive_setup() so that any changes to the list of
+ accounts will be respected the next time mail is checked.
+
2001-07-13 Peter Williams <peterw@ximian.com>
* mail-callbacks.c (expunge_folder): Segfault prevention here if
diff --git a/mail/mail-account-gui.c b/mail/mail-account-gui.c
index 1062b923c7..fbb7bb5558 100644
--- a/mail/mail-account-gui.c
+++ b/mail/mail-account-gui.c
@@ -36,6 +36,7 @@
#include "shell/evolution-shell-client.h"
#include "mail-account-gui.h"
#include "mail-session.h"
+#include "mail-send-recv.h"
#include "e-msg-composer.h"
extern char *default_drafts_folder_uri, *default_sent_folder_uri;
@@ -1571,6 +1572,8 @@ mail_account_gui_save (MailAccountGui *gui)
account->smime_key = e_utf8_gtk_entry_get_text (gui->smime_key);
account->smime_encrypt_to_self = gtk_toggle_button_get_active (gui->smime_encrypt_to_self);
+ mail_autoreceive_setup ();
+
return TRUE;
}