diff options
author | Dan Winship <danw@src.gnome.org> | 2001-01-26 01:07:23 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-01-26 01:07:23 +0800 |
commit | 54a2910f896626046666ffa8d88f052acdb5c201 (patch) | |
tree | eef885546b87b45417383993478c60ef6363b516 /mail/mail-display.h | |
parent | 9100d6bcdd7928ddd74587ba58367658816bffe5 (diff) | |
download | gsoc2013-evolution-54a2910f896626046666ffa8d88f052acdb5c201.tar.gz gsoc2013-evolution-54a2910f896626046666ffa8d88f052acdb5c201.tar.zst gsoc2013-evolution-54a2910f896626046666ffa8d88f052acdb5c201.zip |
Check if a message part's content is available, and if it's not, queue a
* mail-format.c (mail_content_loaded): Check if a message part's
content is available, and if it's not, queue a thread that will
load it and then queue an idle-handler redisplay of the message.
(call_handler_function): Call mail_content_loaded() on the part
and don't try to display it if it's currently offline.
(get_data_wrapper_text): Simplify a bit
* mail-display.c (mail_display_queue_redisplay): rename and make
non-static.
(mail_display_redisplay): Use a "new and improved" way of
preserving the GtkHTML scroll location. ("new and improved" is
code for "gross and hackish", but there should be a real interface
for this eventually.)
(on_url_requested): Use mail_content_loaded() and don't write out
offline cid: URLs
* mail-identify.c (mail_identify_mime_part): Use
mail_content_loaded and don't try to identify the data if it's
offline.
svn path=/trunk/; revision=7813
Diffstat (limited to 'mail/mail-display.h')
-rw-r--r-- | mail/mail-display.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/mail-display.h b/mail/mail-display.h index c7c45c9bdf..4334d7dfad 100644 --- a/mail/mail-display.h +++ b/mail/mail-display.h @@ -40,6 +40,7 @@ typedef struct { GtkType mail_display_get_type (void); GtkWidget * mail_display_new (void); +void mail_display_queue_redisplay (MailDisplay *mail_display); void mail_display_redisplay (MailDisplay *mail_display, gboolean unscroll); void mail_display_set_message (MailDisplay *mail_display, |