diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-05-21 04:07:05 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-05-21 04:07:05 +0800 |
commit | 153a461c84b0bada5b023251115466456b415ca5 (patch) | |
tree | 89b9ad3337b85aa4c9dbcd4d7814b6c2d4ce1542 /mail/mail-callbacks.c | |
parent | 7f3b4c645069ad8372b31f99c39dea6193d997a8 (diff) | |
download | gsoc2013-evolution-153a461c84b0bada5b023251115466456b415ca5.tar.gz gsoc2013-evolution-153a461c84b0bada5b023251115466456b415ca5.tar.zst gsoc2013-evolution-153a461c84b0bada5b023251115466456b415ca5.zip |
Fixed the "Overdue:" string to not contain any HTML tags.
2002-05-20 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (mail_display_render): Fixed the "Overdue:"
string to not contain any HTML tags.
svn path=/trunk/; revision=16950
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r-- | mail/mail-callbacks.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index b1d8174542..ec84ceec06 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -557,14 +557,15 @@ struct _save_draft_info { }; static void -save_draft_done (CamelFolder *folder, CamelMimeMessage *msg, CamelMessageInfo *info, int ok, char *appended_uid, void *data) +save_draft_done (CamelFolder *folder, CamelMimeMessage *msg, CamelMessageInfo *info, int ok, + char *appended_uid, void *data) { struct _save_draft_info *sdi = data; char *old_uid; - + if (!ok) goto done; - + old_uid = gtk_object_get_data (GTK_OBJECT (sdi->composer), "draft_uid"); if (old_uid) { /* delete the original draft message */ @@ -572,11 +573,11 @@ save_draft_done (CamelFolder *folder, CamelMimeMessage *msg, CamelMessageInfo *i CAMEL_MESSAGE_DELETED, CAMEL_MESSAGE_DELETED); } - + if (appended_uid) { gtk_object_set_data_full (GTK_OBJECT (sdi->composer), "draft_uid", appended_uid, - (GtkDestroyNotify)g_free); + (GtkDestroyNotify) g_free); } else { gtk_object_set_data (GTK_OBJECT (sdi->composer), "draft_uid", NULL); @@ -584,7 +585,7 @@ save_draft_done (CamelFolder *folder, CamelMimeMessage *msg, CamelMessageInfo *i if (sdi->quit) gtk_widget_destroy (GTK_WIDGET (sdi->composer)); - + done: gtk_object_unref (GTK_OBJECT (sdi->composer)); g_free (info); |