aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-06-29 03:52:36 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-06-29 03:52:36 +0800
commit1d9490ba9db40533d9c1206f2205c0d6bc1f8f5a (patch)
tree80682be5e4234db8fa87ffaffea8577a087a3929 /mail
parentfcc55e12d5181ff964cad8e69427810eb07f7f3c (diff)
downloadgsoc2013-evolution-1d9490ba9db40533d9c1206f2205c0d6bc1f8f5a.tar.gz
gsoc2013-evolution-1d9490ba9db40533d9c1206f2205c0d6bc1f8f5a.tar.zst
gsoc2013-evolution-1d9490ba9db40533d9c1206f2205c0d6bc1f8f5a.zip
Don't bother trying to save the passwd if the url is NULL.
2001-06-28 Jeffrey Stedfast <fejj@ximian.com> * 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
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/folder-browser.c1
-rw-r--r--mail/mail-config.c2
3 files changed, 8 insertions, 1 deletions
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 <fejj@ximian.com>
+ * 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);