aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-10-07 02:42:07 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-10-07 02:42:07 +0800
commit91627508d77a56f75c26ea025ce4ba0c148a7ed5 (patch)
treea9d593e2a15b12d27f6fa43c563f17af6c358460 /mail
parentdbe2c18c4c4ed35437d7e779e02448778537585a (diff)
downloadgsoc2013-evolution-91627508d77a56f75c26ea025ce4ba0c148a7ed5.tar
gsoc2013-evolution-91627508d77a56f75c26ea025ce4ba0c148a7ed5.tar.gz
gsoc2013-evolution-91627508d77a56f75c26ea025ce4ba0c148a7ed5.tar.bz2
gsoc2013-evolution-91627508d77a56f75c26ea025ce4ba0c148a7ed5.tar.lz
gsoc2013-evolution-91627508d77a56f75c26ea025ce4ba0c148a7ed5.tar.xz
gsoc2013-evolution-91627508d77a56f75c26ea025ce4ba0c148a7ed5.tar.zst
gsoc2013-evolution-91627508d77a56f75c26ea025ce4ba0c148a7ed5.zip
Fixed.
2003-10-06 Jeffrey Stedfast <fejj@ximian.com> * 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
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/mail-config-druid.c5
-rw-r--r--mail/mail-ops.c6
3 files changed, 11 insertions, 7 deletions
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 <fejj@ximian.com>
+
+ * 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 <fcrozat@mandrakesoft.com>
* 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