aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-display.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-05-31 22:29:24 +0800
committerDan Winship <danw@src.gnome.org>2000-05-31 22:29:24 +0800
commitae15900672a423ac36ee1830b159a1aa1b5063ed (patch)
treecb933f1508a072bfa3d9a156736fce54bdc2610a /mail/mail-display.h
parente04e6e0dc20289214488363b8c52f14bd71e1958 (diff)
downloadgsoc2013-evolution-ae15900672a423ac36ee1830b159a1aa1b5063ed.tar
gsoc2013-evolution-ae15900672a423ac36ee1830b159a1aa1b5063ed.tar.gz
gsoc2013-evolution-ae15900672a423ac36ee1830b159a1aa1b5063ed.tar.bz2
gsoc2013-evolution-ae15900672a423ac36ee1830b159a1aa1b5063ed.tar.lz
gsoc2013-evolution-ae15900672a423ac36ee1830b159a1aa1b5063ed.tar.xz
gsoc2013-evolution-ae15900672a423ac36ee1830b159a1aa1b5063ed.tar.zst
gsoc2013-evolution-ae15900672a423ac36ee1830b159a1aa1b5063ed.zip
Redo this back to the old way: a single GtkHTML with various things inline
* mail-format.c: Redo this back to the old way: a single GtkHTML with various things inline in it. (Gets rid of flicker, simplifies some scrolling, selecting, and printing issues.) (handle_text_enriched, handle_text_html): Use <iframe>s for these, to protect the rest of the document from their possibily invalid HTML. (handle_via_bonobo): Use (new-and-improved) <object> tags for this, moving most of the work back into mail-display.c * mail-display.c (on_object_requested): Move the Bonobo embedding code back here again (reorganized a bit). (on_url_requested): add x-evolution-data handler, for iframe bodies. (mail_html_new, mail_html_end): removed (mail_display_set_message, mail_display_new): Update for NWO. svn path=/trunk/; revision=3312
Diffstat (limited to 'mail/mail-display.h')
-rw-r--r--mail/mail-display.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/mail/mail-display.h b/mail/mail-display.h
index 0d38d4e432..c2b50e263c 100644
--- a/mail/mail-display.h
+++ b/mail/mail-display.h
@@ -20,7 +20,7 @@ struct _MailDisplay {
GtkVBox parent;
GtkScrolledWindow *scroll;
- GtkBox *inner_box;
+ GtkHTML *html;
FolderBrowser *parent_folder_browser;
CamelMimeMessage *current_message;
@@ -39,16 +39,8 @@ void mail_display_set_message (MailDisplay *mail_display,
#define HTML_HEADER "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 TRANSITIONAL//EN\">\n<HTML>\n<HEAD>\n<META NAME=\"GENERATOR\" CONTENT=\"Evolution Mail Component\">\n</HEAD>\n"
-void mail_html_new (GtkHTML **html,
- GtkHTMLStream **stream,
- CamelMimeMessage *root,
- gboolean init);
void mail_html_write (GtkHTML *html,
GtkHTMLStream *stream,
const char *format, ...);
-void mail_html_end (GtkHTML *html,
- GtkHTMLStream *stream,
- gboolean finish,
- GtkBox *box);
#endif /* _MAIL_DISPLAY_H_ */