aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog4
-rw-r--r--mail/em-folder-browser.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 54ef0fc7d3..da35a82333 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,7 @@
+2007-01-24 Wang Xin <jedy.wang@sun.com>
+
+ * em-folder-browser.c: Fixes 397195.
+
2007-01-22 Raghavendran R <raghavguru7@gmail.com>
* em-event.[c,h]: (em_event_target_new_composer):
diff --git a/mail/em-folder-browser.c b/mail/em-folder-browser.c
index 114bc32f36..e176c27d80 100644
--- a/mail/em-folder-browser.c
+++ b/mail/em-folder-browser.c
@@ -1836,7 +1836,7 @@ emfb_set_folder(EMFolderView *emfv, CamelFolder *folder, const char *uri)
emfb->priv->idle_scroll_id = 0;
}
- if (emfb->view.folder) {
+ if (emfb->view.folder && emfb->priv->folder_changed_id) {
camel_object_remove_event(emfb->view.folder, emfb->priv->folder_changed_id);
emfb->priv->folder_changed_id = 0;
}