diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-05-11 04:55:47 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-05-11 04:55:47 +0800 |
commit | ebed39b9e394c8495c07073b930015ff6288972d (patch) | |
tree | be2b1f5186c4806e61808ba1ec7542bb815e99ed /mail/message-browser.h | |
parent | efc1f91b20f0a5913ce0834190138f75b521bc06 (diff) | |
download | gsoc2013-evolution-ebed39b9e394c8495c07073b930015ff6288972d.tar.gz gsoc2013-evolution-ebed39b9e394c8495c07073b930015ff6288972d.tar.zst gsoc2013-evolution-ebed39b9e394c8495c07073b930015ff6288972d.zip |
Update for the new message-browser api.
2002-05-10 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (do_view_message): Update for the new
message-browser api.
* message-browser.c (message_browser_new): A brand new
implementation that just shows the message, none of that next/prev
crap that always caused problems anyway.
svn path=/trunk/; revision=16759
Diffstat (limited to 'mail/message-browser.h')
-rw-r--r-- | mail/message-browser.h | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/mail/message-browser.h b/mail/message-browser.h index d9a54b0900..ddc9f55292 100644 --- a/mail/message-browser.h +++ b/mail/message-browser.h @@ -20,8 +20,8 @@ * */ -#ifndef _MESSAGE_BROWSER_H_ -#define _MESSAGE_BROWSER_H_ +#ifndef __MESSAGE_BROWSER_H__ +#define __MESSAGE_BROWSER_H__ #include <gnome.h> #include <bonobo/bonobo-win.h> @@ -38,24 +38,19 @@ #define IS_MESSAGE_BROWSER_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), MESSAGE_BROWSER_TYPE)) struct _MessageBrowser { - BonoboWindow parent; + GtkWindow parent; - /* - * The current URI being displayed by the MessageBrowser - */ - FolderBrowser *fb; }; typedef struct { - BonoboWindowClass parent_class; + GtkWindowClass parent_class; } MessageBrowserClass; -GtkType message_browser_get_type (void); +GtkType message_browser_get_type (void); -GtkWidget *message_browser_new (const GNOME_Evolution_Shell shell, - const char *uri, const char *uid); +GtkWidget *message_browser_new (CamelMimeMessage *message); -#endif /* _MESSAGE_BROWSER_H_ */ +#endif /* __MESSAGE_BROWSER_H__ */ |