diff options
author | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-08-10 04:03:05 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-08-10 04:03:05 +0800 |
commit | 75ea4d8ae17c07430ee8e2bd4882e0dec385488b (patch) | |
tree | e0d6cea56224efc1df2415e3fc97ec65e927c708 | |
parent | 747b818cbd6175971c494748a6b87201c80317ee (diff) | |
download | gsoc2013-evolution-75ea4d8ae17c07430ee8e2bd4882e0dec385488b.tar gsoc2013-evolution-75ea4d8ae17c07430ee8e2bd4882e0dec385488b.tar.gz gsoc2013-evolution-75ea4d8ae17c07430ee8e2bd4882e0dec385488b.tar.bz2 gsoc2013-evolution-75ea4d8ae17c07430ee8e2bd4882e0dec385488b.tar.lz gsoc2013-evolution-75ea4d8ae17c07430ee8e2bd4882e0dec385488b.tar.xz gsoc2013-evolution-75ea4d8ae17c07430ee8e2bd4882e0dec385488b.tar.zst gsoc2013-evolution-75ea4d8ae17c07430ee8e2bd4882e0dec385488b.zip |
eek! okay, we can't just point to a mail_display apparently...
so we're back to creating a new one for the purpose of displaying it
svn path=/trunk/; revision=4664
-rw-r--r-- | mail/mail-view.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/mail-view.c b/mail/mail-view.c index 54861f7649..266df872cb 100644 --- a/mail/mail-view.c +++ b/mail/mail-view.c @@ -89,9 +89,8 @@ mail_view_create (FolderBrowser *folder_browser) GtkWidget *toolbar; GtkWidget *mail_display; char *subject; - + msg = folder_browser->mail_display->current_message; - subject = (char *) camel_mime_message_get_subject (msg); if (!subject) subject = ""; @@ -123,7 +122,8 @@ mail_view_create (FolderBrowser *folder_browser) mail_view_menubar[1].widget, (GtkDestroyNotify) gtk_widget_unref); - mail_display = folder_browser->mail_display; + mail_display = mail_display_new (folder_browser); + mail_display_set_message (MAIL_DISPLAY (mail_display), CAMEL_MEDIUM (msg)); gtk_widget_set_usize (mail_display, 600, 600); gnome_app_set_contents (GNOME_APP (window), mail_display); |