aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWang Xin <jedy.wang@sun.com>2007-01-24 13:34:52 +0800
committerJedy Jedy Wang <jedywang@src.gnome.org>2007-01-24 13:34:52 +0800
commit85dbf92af062b338cb855b878c75a7caff0c3cec (patch)
treedd1db2511c1b6e15cc05c0b75e6a39e41ecb8efb
parent9716926d37c4ca57ae228a3b4e0dfe12ba5ba87c (diff)
downloadgsoc2013-evolution-85dbf92af062b338cb855b878c75a7caff0c3cec.tar.gz
gsoc2013-evolution-85dbf92af062b338cb855b878c75a7caff0c3cec.tar.zst
gsoc2013-evolution-85dbf92af062b338cb855b878c75a7caff0c3cec.zip
Fixes 397195.
2007-01-24 Wang Xin <jedy.wang@sun.com> * em-folder-browser.c: Fixes 397195. svn path=/trunk/; revision=33144
-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;
}