aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/folder-browser.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index e69ebb26d7..5f9a158d19 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2001-01-11 Dan Winship <danw@ximian.com>
+
+ * folder-browser.c (got_folder): Connect to folder_changed as well
+ as message_changed for updating unread count
+
2001-01-10 Miguel de Icaza <miguel@helixcode.com>
* GNOME_Evolution_Mail.oafinfo: Add Bonobo/ItemContainer as the
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index 0fae4cd85d..e3c7c2382a 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -169,6 +169,8 @@ got_folder(char *uri, CamelFolder *folder, void *data)
update_unread_count_main ((CamelObject *)folder, NULL, fb);
camel_object_hook_event ((CamelObject *)folder, "message_changed",
update_unread_count, fb);
+ camel_object_hook_event ((CamelObject *)folder, "folder_changed",
+ update_unread_count, fb);
}
gtk_widget_set_sensitive (GTK_WIDGET (fb->search->entry),