aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohnny Jacob <jjohnny@src.gnome.org>2007-08-16 16:08:17 +0800
committerJohnny Jacob <jjohnny@src.gnome.org>2007-08-16 16:08:17 +0800
commitd51a74a2ecefaa8622745c33c288916c4940504f (patch)
tree975ade752f4a22998b02966c54796843f8834b8a
parent8492646796594a34e126c6f63aea9f24140b8f74 (diff)
downloadgsoc2013-evolution-d51a74a2ecefaa8622745c33c288916c4940504f.tar
gsoc2013-evolution-d51a74a2ecefaa8622745c33c288916c4940504f.tar.gz
gsoc2013-evolution-d51a74a2ecefaa8622745c33c288916c4940504f.tar.bz2
gsoc2013-evolution-d51a74a2ecefaa8622745c33c288916c4940504f.tar.lz
gsoc2013-evolution-d51a74a2ecefaa8622745c33c288916c4940504f.tar.xz
gsoc2013-evolution-d51a74a2ecefaa8622745c33c288916c4940504f.tar.zst
gsoc2013-evolution-d51a74a2ecefaa8622745c33c288916c4940504f.zip
Fix for #364431.
svn path=/trunk/; revision=34012
-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));