diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2000-11-22 06:09:51 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-11-22 06:09:51 +0800 |
commit | 0fa1b87e9ee6b947b2706a44fc7429730655b3f9 (patch) | |
tree | 186d98fc1423fdd9d86a85a251c78230a2c3060c /mail/mail-display.h | |
parent | fb92b831ae35b70f52a9792422f610defa56517b (diff) | |
download | gsoc2013-evolution-0fa1b87e9ee6b947b2706a44fc7429730655b3f9.tar.gz gsoc2013-evolution-0fa1b87e9ee6b947b2706a44fc7429730655b3f9.tar.zst gsoc2013-evolution-0fa1b87e9ee6b947b2706a44fc7429730655b3f9.zip |
New function to return if user wants to view message source.
2000-11-21 Jeffrey Stedfast <fejj@helixcode.com>
* mail-config.c (mail_config_view_source): New function to return
if user wants to view message source.
(mail_config_set_view_source): New function to set whether the
view wants to view source.
* mail-ops.c (mail_do_view_message_sources): Removed. We're not
gonna view-source this way anymore.
* folder-browser-factory.c: Removed the ViewSource bonobo verb
from the Message menu.
(control_activate): Added ViewSource.
* folder-browser.c (on_right_click): Removed Message menu item to
view message source.
(folder_browser_toggle_view_source): New callback to set whether
or not the MailDisplay shows the raw message or the pretty-ified
message.
* mail-callbacks.c: Removed view_source.
* mail-display.c (redisplay): If toggle_raw is set then display
the raw message else display the pretty formatted message.
(mail_display_redisplay): New function to force the redisplay of a
message.
* mail-format.c (mail_format_raw_message): New function to
write the raw message data.
svn path=/trunk/; revision=6639
Diffstat (limited to 'mail/mail-display.h')
-rw-r--r-- | mail/mail-display.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mail/mail-display.h b/mail/mail-display.h index 9f2d8a2620..c4eac5f145 100644 --- a/mail/mail-display.h +++ b/mail/mail-display.h @@ -27,7 +27,7 @@ struct _MailDisplay { GtkHTML *html; GtkHTMLStream *stream; guint idle_id; - + CamelMimeMessage *current_message; GData **data; }; @@ -39,9 +39,14 @@ typedef struct { GtkType mail_display_get_type (void); GtkWidget * mail_display_new (void); +void mail_display_redisplay (MailDisplay *mail_display, gboolean unscroll); + void mail_display_set_message (MailDisplay *mail_display, CamelMedium *medium); +void mail_display_toggle_raw (MailDisplay *mail_display, + gboolean toggle); + #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" |