Mercurial > pidgin
diff src/gtknotify.c @ 7817:954b986ad3e3
[gaim-migrate @ 8464]
Email parsing changes from Felipe Contreras (revo):
Currently only MSN send email notifications with MIME
fields, so, only decode MIME fields in MSN.
This makes me feel warm.
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Tue, 09 Dec 2003 01:55:15 +0000 |
| parents | 1363f91da9cc |
| children | 48dc9f358a91 |
line wrap: on
line diff
--- a/src/gtknotify.c Tue Dec 09 01:20:36 2003 +0000 +++ b/src/gtknotify.c Tue Dec 09 01:55:15 2003 +0000 @@ -215,17 +215,13 @@ char *from_text = NULL, *subject_text = NULL; if (froms != NULL) { - char *from_decoded = gaim_mime_decode_field(*froms); from_text = g_strdup_printf( - _("<span weight=\"bold\">From:</span> %s\n"), from_decoded); - g_free(from_decoded); + _("<span weight=\"bold\">From:</span> %s\n"), *froms); } if (subjects != NULL) { - char *subject_decoded = gaim_mime_decode_field(*subjects); subject_text = g_strdup_printf( - _("<span weight=\"bold\">Subject:</span> %s\n"), subject_decoded); - g_free(subject_decoded); + _("<span weight=\"bold\">Subject:</span> %s\n"), *subjects); } label_text = g_strdup_printf(
