From d51a74a2ecefaa8622745c33c288916c4940504f Mon Sep 17 00:00:00 2001 From: Johnny Jacob Date: Thu, 16 Aug 2007 08:08:17 +0000 Subject: Fix for #364431. svn path=/trunk/; revision=34012 --- mail/ChangeLog | 7 +++++++ mail/em-subscribe-editor.c | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 6c47451d97..40b73a1225 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,10 @@ +2007-08-16 Johnny Jacob + + ** Fix for #364431. + + * em-subscribe-editor.c : (sub_editor_refresh) : Wait for thread + to finish before refreshing. + 2007-08-16 Milan Crha ** Fix for bug #466548 diff --git a/mail/em-subscribe-editor.c b/mail/em-subscribe-editor.c index 0f63800efa..fc52d1e80d 100644 --- a/mail/em-subscribe-editor.c +++ b/mail/em-subscribe-editor.c @@ -684,8 +684,10 @@ sub_editor_refresh(GtkWidget *w, EMSubscribeEditor *se) sub->seq++; /* drop any currently pending */ - if (sub->pending_id != -1) + if (sub->pending_id != -1) { mail_msg_cancel(sub->pending_id); + mail_msg_wait(sub->pending_id); + } gtk_tree_store_clear((GtkTreeStore *)gtk_tree_view_get_model(sub->tree)); -- cgit v1.2.3