aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-callbacks.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-05-31 04:03:11 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-05-31 04:03:11 +0800
commit364b63a5e7fb988a42a808030dd565d4cb51c06c (patch)
tree7681548d3bbe716eaad09b82899e91f3e7767e08 /mail/mail-callbacks.c
parent81864caca687b4a9ec08c61699a3608691f364ab (diff)
downloadgsoc2013-evolution-364b63a5e7fb988a42a808030dd565d4cb51c06c.tar.gz
gsoc2013-evolution-364b63a5e7fb988a42a808030dd565d4cb51c06c.tar.zst
gsoc2013-evolution-364b63a5e7fb988a42a808030dd565d4cb51c06c.zip
Oops, create a message-browser window here, not a folder-browser-window
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. svn path=/trunk/; revision=17047
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r--mail/mail-callbacks.c6
1 files changed, 4 insertions, 2 deletions
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);
}
}