From 5d297a7ac9855e46e1792096698fa3091754ccc1 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 9 Aug 2000 19:14:59 +0000 Subject: Set the UID of the message that is being displayed 2000-08-09 Jeffrey Stedfast * mail-ops.c (real_view_msg): Set the UID of the message that is being displayed svn path=/trunk/; revision=4655 --- mail/ChangeLog | 5 +++++ mail/mail-config-gui.c | 10 +++++----- mail/mail-ops.c | 3 ++- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index d68b4cb735..6de61ce4ce 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2000-08-09 Jeffrey Stedfast + + * mail-ops.c (real_view_msg): Set the UID of the message that is + being displayed + 2000-08-09 Ettore Perazzoli * folder-browser-factory.c (control_activate): Use diff --git a/mail/mail-config-gui.c b/mail/mail-config-gui.c index 87f81cd457..12d944e4e3 100644 --- a/mail/mail-config-gui.c +++ b/mail/mail-config-gui.c @@ -732,18 +732,18 @@ service_acceptable (MailDialogServicePage *page) char *url = NULL; CamelService *service; CamelException *ex; - + url = service_page_get_url (page); - + ex = camel_exception_new (); camel_exception_clear (ex); service = camel_session_get_service (session, url, page->spitem->type, ex); g_free (url); - + if (camel_exception_get_id (ex) != CAMEL_EXCEPTION_NONE) goto error; - + if (camel_service_connect (service, ex)) { camel_service_disconnect (service, ex); gtk_object_unref (GTK_OBJECT (service)); @@ -759,7 +759,7 @@ service_acceptable (MailDialogServicePage *page) error: error_dialog (page->vbox, camel_exception_get_description (ex)); camel_exception_free (ex); - + return FALSE; } diff --git a/mail/mail-ops.c b/mail/mail-ops.c index 355493d97e..cd6f10f760 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -1094,7 +1094,8 @@ real_view_msg (MessageList *ml, const char *uid, gpointer user_data) return; msg = camel_folder_get_message (ml->folder, uid, data->ex); - + + data->fb->message_list->cursor_uid = uid; view = mail_view_create (msg, data->fb); gtk_widget_show (view); -- cgit