From 1d9490ba9db40533d9c1206f2205c0d6bc1f8f5a Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 28 Jun 2001 19:52:36 +0000 Subject: Don't bother trying to save the passwd if the url is NULL. 2001-06-28 Jeffrey Stedfast * mail-config.c (mail_config_write_on_exit): Don't bother trying to save the passwd if the url is NULL. * folder-browser.c (vfolder_mlist): Strip the mlist name to fix bug #3732. svn path=/trunk/; revision=10571 --- mail/ChangeLog | 6 ++++++ mail/folder-browser.c | 1 + mail/mail-config.c | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index 8707d82ff7..356ca1fd78 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,11 @@ 2001-06-28 Jeffrey Stedfast + * mail-config.c (mail_config_write_on_exit): Don't bother trying + to save the passwd if the url is NULL. + + * folder-browser.c (vfolder_mlist): Strip the mlist name to fix + bug #3732. + * component-factory.c (destination_folder_handle_drop): Since we have an exception variable, we might as well use it when getting folders too. diff --git a/mail/folder-browser.c b/mail/folder-browser.c index 546b260664..1b3de3c3e3 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -987,6 +987,7 @@ vfolder_mlist (GtkWidget *w, FolderBrowser *fb) name = header_raw_check_mailing_list(&((CamelMimePart *)fb->mail_display->current_message)->headers); if (name) { + g_strstrip (name); vfolder_gui_add_from_mlist(fb->mail_display->current_message, name, fb->uri); g_free(name); } diff --git a/mail/mail-config.c b/mail/mail-config.c index 0672b81d6d..6d8b10ead9 100644 --- a/mail/mail-config.c +++ b/mail/mail-config.c @@ -797,7 +797,7 @@ mail_config_write_on_exit (void) sources = mail_config_get_sources (); for ( ; sources; sources = sources->next) { s = sources->data; - if (s->save_passwd) + if (s->save_passwd && s->url) mail_session_remember_password (s->url); } g_slist_free (sources); -- cgit v1.2.3