From b55ef8b5232d98892526560ac2c974e1a3f8adee Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 8 Mar 2001 21:52:27 +0000 Subject: Call open_msg here so that it does the Right Thing (tm). 2001-03-08 Jeffrey Stedfast * folder-browser.c (on_double_click): Call open_msg here so that it does the Right Thing (tm). svn path=/trunk/; revision=8600 --- mail/mail-callbacks.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mail/mail-callbacks.c') diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index dd7c629b0f..b4356d05e5 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -974,7 +974,7 @@ edit_msg (GtkWidget *widget, gpointer user_data) uids = g_ptr_array_new (); message_list_foreach (fb->message_list, enumerate_msg, uids); - mail_get_messages(fb->folder, uids, do_edit_messages, fb); + mail_get_messages (fb->folder, uids, do_edit_messages, fb); } static void @@ -1305,7 +1305,7 @@ do_view_message(CamelFolder *folder, char *uid, CamelMimeMessage *message, void { /*FolderBrowser *fb = data;*/ GtkWidget *view; - + if (message) { view = mail_view_create(folder, uid, message); gtk_widget_show(view); @@ -1318,7 +1318,7 @@ view_msg (GtkWidget *widget, gpointer user_data) FolderBrowser *fb = user_data; GPtrArray *uids; int i; - + if (!fb->folder) return; -- cgit