aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-display.h
diff options
context:
space:
mode:
authorJon Trowbridge <trow@ximian.com>2001-12-12 07:07:22 +0800
committerJon Trowbridge <trow@src.gnome.org>2001-12-12 07:07:22 +0800
commitd91cf0898122e1bac8742665b439fd98ceaa015f (patch)
tree69ecba04eb25889d89e0c2f5ef85824a288bc4f9 /mail/mail-display.h
parent3e70bbe666c1ea68383315c0659aee3757f18cd3 (diff)
downloadgsoc2013-evolution-d91cf0898122e1bac8742665b439fd98ceaa015f.tar.gz
gsoc2013-evolution-d91cf0898122e1bac8742665b439fd98ceaa015f.tar.zst
gsoc2013-evolution-d91cf0898122e1bac8742665b439fd98ceaa015f.zip
Fixed for mail_content_loaded's new signature.
2001-12-11 Jon Trowbridge <trow@ximian.com> * mail-identify.c (mail_identify_mime_part): Fixed for mail_content_loaded's new signature. * mail-format.c (attachment_header): Don't convert URLs, etc. if we are printing. (write_address): Don't convert addresses to mailto: links if we are printing. (write_one_text_plain_chunk): Add a printing flag, that we pass along to mail_text_write. (handle_text_plain): Pass our printing flag to write_one_text_plain_chunk. (mail_get_message_rfc822): Don't unneccesarily convert URLs. (mail_content_loaded): Add a GtkHTML parameter. * mail-display.c (mail_display_initialize_gtkhtml): Added. Breaks all of the signal hookups out of mail_display_new. (mail_display_new): Call mail_display_initialize_gtkhtml. (mail_text_write): Don't convert URLs, etc., if we are printing. Lots of other changes to pass around GtkHTML/GtkHTMLStream objects. * mail-callbacks.c (do_mail_print): Call mail_display_initialize_gtkhtml on our GtkHTML object. * folder-browser.c (update_status_bar): Make the status bar more useful when you have a large number of hidden messages. svn path=/trunk/; revision=14997
Diffstat (limited to 'mail/mail-display.h')
-rw-r--r--mail/mail-display.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/mail-display.h b/mail/mail-display.h
index 1555405519..0d6d855105 100644
--- a/mail/mail-display.h
+++ b/mail/mail-display.h
@@ -55,17 +55,21 @@ typedef struct {
GtkType mail_display_get_type (void);
GtkWidget * mail_display_new (void);
+void mail_display_initialize_gtkhtml (MailDisplay *mail_display, GtkHTML *html);
+
void mail_display_queue_redisplay (MailDisplay *mail_display);
void mail_display_render (MailDisplay *mail_display, GtkHTML *html);
void mail_display_redisplay (MailDisplay *mail_display, gboolean unscroll);
void mail_display_redisplay_when_loaded (MailDisplay *md,
gconstpointer key,
void (*callback)(MailDisplay *, gpointer),
+ GtkHTML *html,
gpointer data);
void mail_display_stream_write_when_loaded (MailDisplay *md,
gconstpointer key,
const gchar *url,
void (*callback)(MailDisplay *, gpointer),
+ GtkHTML *html,
GtkHTMLStream *handle,
gpointer data);
@@ -82,6 +86,7 @@ void mail_display_load_images (MailDisplay *mail_display);
void mail_text_write (GtkHTML *html,
GtkHTMLStream *stream,
+ gboolean printing,
const char *text);
void mail_error_printf (GtkHTML *html,
GtkHTMLStream *stream,