aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r--mail/folder-browser.c2
1 files changed, 2 insertions, 0 deletions
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),