aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-01-15 09:22:55 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-01-15 09:22:55 +0800
commite70e3982edf25a75bd93bdaf9205cca1167a3d4c (patch)
tree7cc7d3dd98430d0d38b7f9bc384efe2d805bc4d7 /mail/em-format.c
parent88eda22854051bec83e2082726b670ba23c7d188 (diff)
downloadgsoc2013-evolution-e70e3982edf25a75bd93bdaf9205cca1167a3d4c.tar
gsoc2013-evolution-e70e3982edf25a75bd93bdaf9205cca1167a3d4c.tar.gz
gsoc2013-evolution-e70e3982edf25a75bd93bdaf9205cca1167a3d4c.tar.bz2
gsoc2013-evolution-e70e3982edf25a75bd93bdaf9205cca1167a3d4c.tar.lz
gsoc2013-evolution-e70e3982edf25a75bd93bdaf9205cca1167a3d4c.tar.xz
gsoc2013-evolution-e70e3982edf25a75bd93bdaf9205cca1167a3d4c.tar.zst
gsoc2013-evolution-e70e3982edf25a75bd93bdaf9205cca1167a3d4c.zip
** See bugs #51609 and #43515.
2004-01-15 Not Zed <NotZed@Ximian.com> ** See bugs #51609 and #43515. * em-format-html-display.c (efhd_format_prefix): output flag for followup details above the message. (efhd_write_image): added to output icon data. * em-format-html.c (efh_format_do): call format_prefix before outputting the message in normal display mode. * em-format.c (emf_format_prefix): method called to format data before the first message output. Default impl == noop. svn path=/trunk/; revision=24230
Diffstat (limited to 'mail/em-format.c')
-rw-r--r--mail/em-format.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/mail/em-format.c b/mail/em-format.c
index 4ced33aee2..b1f597af8e 100644
--- a/mail/em-format.c
+++ b/mail/em-format.c
@@ -59,6 +59,7 @@ static const char *emf_snoop_part(CamelMimePart *part);
static const EMFormatHandler *emf_find_handler(EMFormat *emf, const char *mime_type);
static void emf_format_clone(EMFormat *emf, CamelFolder *folder, const char *uid, CamelMimeMessage *msg, EMFormat *emfsource);
+static void emf_format_prefix(EMFormat *emf, CamelStream *stream);
static gboolean emf_busy(EMFormat *emf);
enum {
@@ -116,6 +117,7 @@ emf_class_init(GObjectClass *klass)
klass->finalize = emf_finalise;
((EMFormatClass *)klass)->find_handler = emf_find_handler;
((EMFormatClass *)klass)->format_clone = emf_format_clone;
+ ((EMFormatClass *)klass)->format_prefix = emf_format_prefix;
((EMFormatClass *)klass)->busy = emf_busy;
emf_signals[EMF_COMPLETE] =
@@ -565,6 +567,12 @@ emf_format_clone(EMFormat *emf, CamelFolder *folder, const char *uid, CamelMimeM
g_string_append_printf(emf->part_id, ".%s", uid);
}
+static void
+emf_format_prefix(EMFormat *emf, CamelStream *stream)
+{
+ /* NOOP */
+}
+
static gboolean
emf_busy(EMFormat *emf)
{