aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-08-10 03:14:59 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-08-10 03:14:59 +0800
commit5d297a7ac9855e46e1792096698fa3091754ccc1 (patch)
tree0c7851c4dc5c1301bb1dad1aec32848fb6d00203
parentb3d0e151a2aaf59c8150d184cdec56db6caa2b11 (diff)
downloadgsoc2013-evolution-5d297a7ac9855e46e1792096698fa3091754ccc1.tar
gsoc2013-evolution-5d297a7ac9855e46e1792096698fa3091754ccc1.tar.gz
gsoc2013-evolution-5d297a7ac9855e46e1792096698fa3091754ccc1.tar.bz2
gsoc2013-evolution-5d297a7ac9855e46e1792096698fa3091754ccc1.tar.lz
gsoc2013-evolution-5d297a7ac9855e46e1792096698fa3091754ccc1.tar.xz
gsoc2013-evolution-5d297a7ac9855e46e1792096698fa3091754ccc1.tar.zst
gsoc2013-evolution-5d297a7ac9855e46e1792096698fa3091754ccc1.zip
Set the UID of the message that is being displayed
2000-08-09 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (real_view_msg): Set the UID of the message that is being displayed svn path=/trunk/; revision=4655
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-config-gui.c10
-rw-r--r--mail/mail-ops.c3
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 <fejj@helixcode.com>
+
+ * mail-ops.c (real_view_msg): Set the UID of the message that is
+ being displayed
+
2000-08-09 Ettore Perazzoli <ettore@helixcode.com>
* 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);