aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-callbacks.c6
2 files changed, 9 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 06fe4756d7..a2b7b754d6 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2002-05-30 Jeffrey Stedfast <fejj@ximian.com>
+
+ * mail-callbacks.c (view_msg): Oops, create a message-browser
+ window here, not a folder-browser-window window.
+
2002-05-29 Radek Doulik <rodo@ximian.com>
* mail-composer-prefs.c: moved spell checking options to separate
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index b232813ed3..674877c442 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -517,11 +517,13 @@ composer_send_cb (EMsgComposer *composer, gpointer data)
gtk_object_ref (GTK_OBJECT (composer));
gtk_widget_hide (GTK_WIDGET (composer));
e_msg_composer_set_enable_autosave (composer, FALSE);
+
mail_send_mail (transport->url, message, composer_sent_cb, send);
}
static void
-append_mail_cleanup (CamelFolder *folder, CamelMimeMessage *msg, CamelMessageInfo *info, int ok, char *appended_uid, void *data)
+append_mail_cleanup (CamelFolder *folder, CamelMimeMessage *msg, CamelMessageInfo *info,
+ int ok, char *appended_uid, void *data)
{
camel_message_info_free (info);
if (appended_uid)
@@ -3135,7 +3137,7 @@ do_view_message (CamelFolder *folder, char *uid, CamelMimeMessage *message, void
GtkWidget *mb;
camel_folder_set_message_flags (folder, uid, CAMEL_MESSAGE_SEEN, CAMEL_MESSAGE_SEEN);
- mb = folder_browser_window_new (fb);
+ mb = message_browser_new (fb->shell, fb->uri, uid);
gtk_widget_show (mb);
}
}