From 91c5bd9e64837351aef5511fbad894f730de7e40 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 16 Jul 2001 14:24:05 +0000 Subject: Call mail_autoreceive_setup() so that any changes to the list of accounts 2001-07-15 Jeffrey Stedfast * 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. svn path=/trunk/; revision=11127 --- mail/ChangeLog | 6 ++++++ mail/mail-account-gui.c | 3 +++ 2 files changed, 9 insertions(+) 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 + + * 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 * 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; } -- cgit v1.2.3