aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/em-subscribe-editor.c4
2 files changed, 10 insertions, 1 deletions
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 <jjohnny@novell.com>
+
+ ** Fix for #364431.
+
+ * em-subscribe-editor.c : (sub_editor_refresh) : Wait for thread
+ to finish before refreshing.
+
2007-08-16 Milan Crha <mcrha@redhat.com>
** 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));