aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-html-stream.h
diff options
context:
space:
mode:
authorRadek Doulik <rodo@ximian.com>2004-04-26 23:53:15 +0800
committerRadek Doulik <rodo@src.gnome.org>2004-04-26 23:53:15 +0800
commit45dae27911e7740f339fa00674aa08d904f47041 (patch)
tree6091006f4cf5aa0378cd63fbb1fd3d53b6d5c544 /mail/em-html-stream.h
parent5b3684dd9d164552830d24355d84402f9212898a (diff)
downloadgsoc2013-evolution-45dae27911e7740f339fa00674aa08d904f47041.tar
gsoc2013-evolution-45dae27911e7740f339fa00674aa08d904f47041.tar.gz
gsoc2013-evolution-45dae27911e7740f339fa00674aa08d904f47041.tar.bz2
gsoc2013-evolution-45dae27911e7740f339fa00674aa08d904f47041.tar.lz
gsoc2013-evolution-45dae27911e7740f339fa00674aa08d904f47041.tar.xz
gsoc2013-evolution-45dae27911e7740f339fa00674aa08d904f47041.tar.zst
gsoc2013-evolution-45dae27911e7740f339fa00674aa08d904f47041.zip
set gtk_html_begin's flags to avoid scroll to top of the message and
2004-04-26 Radek Doulik <rodo@ximian.com> * em-format-html.c (efh_format_timeout): set gtk_html_begin's flags to avoid scroll to top of the message and reloading+flickering of images * em-html-stream.c: added GtkHTMLBeginFlags flags field (em_html_stream_set_flags): new helper function to set new flags field (emhs_sync_write): use gtk_html_begin_full with new flags field (em_html_stream_new): zero flags field svn path=/trunk/; revision=25616
Diffstat (limited to 'mail/em-html-stream.h')
-rw-r--r--mail/em-html-stream.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/em-html-stream.h b/mail/em-html-stream.h
index dc4b59cde8..e30c64918b 100644
--- a/mail/em-html-stream.h
+++ b/mail/em-html-stream.h
@@ -44,6 +44,7 @@ typedef struct _EMHTMLStream {
guint destroy_id;
struct _GtkHTML *html;
struct _GtkHTMLStream *html_stream;
+ GtkHTMLBeginFlags flags;
} EMHTMLStream;
typedef struct {
@@ -56,6 +57,7 @@ CamelType em_html_stream_get_type (void);
/* the html_stream is closed when we are finalised (with an error), or closed (ok) */
CamelStream *em_html_stream_new(struct _GtkHTML *html, struct _GtkHTMLStream *html_stream);
+void em_html_stream_set_flags (EMHTMLStream *emhs, GtkHTMLBeginFlags flags);
#ifdef __cplusplus
}