diff options
author | Not Zed <NotZed@Ximian.com> | 2004-05-18 15:48:19 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-05-18 15:48:19 +0800 |
commit | 283a879d99a633c28597d2ed088781582dfe98a8 (patch) | |
tree | 439fec911c139d155311d5fae52be2dbae280119 /mail/em-format.c | |
parent | 6163a33d6924d8b6eb1eef15ae8b789486ea8774 (diff) | |
download | gsoc2013-evolution-283a879d99a633c28597d2ed088781582dfe98a8.tar.gz gsoc2013-evolution-283a879d99a633c28597d2ed088781582dfe98a8.tar.zst gsoc2013-evolution-283a879d99a633c28597d2ed088781582dfe98a8.zip |
** Quick fix for #57434
2004-05-18 Not Zed <NotZed@Ximian.com>
** Quick fix for #57434
* em-format.c (emf_format_clone): fix the FIXME about cloning
headers shown.
* em-format-html.c (efh_format_headers): only show rupert if we're
showing rupert.
* em-format-html-print.c (efhp_init): default show_rupert to off.
* em-format-html.c (efh_init): default show_rupert to on.
* em-format-html.h: added show_rupert bit.
svn path=/trunk/; revision=25953
Diffstat (limited to 'mail/em-format.c')
-rw-r--r-- | mail/em-format.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mail/em-format.c b/mail/em-format.c index 9ffc37fc29..e585897d94 100644 --- a/mail/em-format.c +++ b/mail/em-format.c @@ -538,12 +538,17 @@ emf_format_clone(EMFormat *emf, CamelFolder *folder, const char *uid, CamelMimeM g_hash_table_destroy(emf->inline_table); emf->inline_table = g_hash_table_new(NULL, NULL); if (emfsource) { + struct _EMFormatHeader *h; + /* We clone the current state here */ g_hash_table_foreach(emfsource->inline_table, emf_clone_inlines, emf); emf->mode = emfsource->mode; g_free(emf->charset); emf->charset = g_strdup(emfsource->charset); - /* FIXME: clone headers shown */ + + em_format_clear_headers(emf); + for (h = (struct _EMFormatHeader *)emfsource->header_list.head; h->next; h = h->next) + em_format_add_header(emf, h->name, h->flags); } } |