diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/folder-browser.c | 4 | ||||
-rw-r--r-- | mail/mail-callbacks.c | 6 |
3 files changed, 10 insertions, 5 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index a7ccac55fd..ba09dd6f11 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,10 @@ 2001-03-08 Jeffrey Stedfast <fejj@ximian.com> + * folder-browser.c (on_double_click): Call open_msg here so that + it does the Right Thing (tm). + +2001-03-08 Jeffrey Stedfast <fejj@ximian.com> + * mail-local.c (mail_local_store_class_init): Override the default init_trash() with the our custom one (since MailLocalStore doesn't let the CamelStore keep a hash of opened folders and instead diff --git a/mail/folder-browser.c b/mail/folder-browser.c index 42fa8d35fa..f082ad18f1 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -786,8 +786,8 @@ on_double_click (ETable *table, gint row, gint col, GdkEvent *event, FolderBrows */ if (MESSAGE_LIST_COLUMN_IS_ACTIVE (col)) return; - - view_msg (NULL, fb); + + open_msg (NULL, fb); } static void 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; |