From 91627508d77a56f75c26ea025ce4ba0c148a7ed5 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 6 Oct 2003 18:42:07 +0000 Subject: Fixed. 2003-10-06 Jeffrey Stedfast * mail-config-druid.c (identity_prepare): Fixed. * mail-ops.c (fetch_mail_fetch): Always save the uid cache no matter what. svn path=/trunk/; revision=22803 --- mail/ChangeLog | 7 +++++++ mail/mail-config-druid.c | 5 ++--- mail/mail-ops.c | 6 ++---- 3 files changed, 11 insertions(+), 7 deletions(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 36ae6a0ae5..612837a117 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,10 @@ +2003-10-06 Jeffrey Stedfast + + * mail-config-druid.c (identity_prepare): Fixed. + + * mail-ops.c (fetch_mail_fetch): Always save the uid cache no + matter what. + 2003-10-03 Frederic Crozat * mail-config-druid.c: (identity_prepare), (config_wizard_new): diff --git a/mail/mail-config-druid.c b/mail/mail-config-druid.c index b1686c9908..8b5b5b86cb 100644 --- a/mail/mail-config-druid.c +++ b/mail/mail-config-druid.c @@ -132,12 +132,11 @@ identity_prepare (MailConfigWizard *mcw) { mcw->page = MAIL_CONFIG_WIZARD_PAGE_IDENTITY; - name = if (!gtk_entry_get_text (mcw->gui->full_name)) { char *uname; - + uname = g_locale_to_utf8 (g_get_real_name (), -1, NULL, NULL, NULL); - gtk_entry_set_text (mcw->gui->full_name, name ? name : ""); + gtk_entry_set_text (mcw->gui->full_name, uname ? uname : ""); g_free (uname); } identity_changed (NULL, mcw); diff --git a/mail/mail-ops.c b/mail/mail-ops.c index 2cf09e8bff..65cc8676c1 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -320,10 +320,8 @@ fetch_mail_fetch (struct _mail_msg *mm) fm->cache = cache; filter_folder_filter (mm); - /* if we are not to delete the messages or there was an - * exception, save the UID cache */ - if (!fm->delete || camel_exception_is_set (&mm->ex)) - camel_uid_cache_save (cache); + /* save the cache of uids that we've just downloaded */ + camel_uid_cache_save (cache); /* if we are deleting off the server and no exception occured * then iterate through the folder uids and mark them all -- cgit v1.2.3