From e86c8105a747ec3f96a5483d8e57686d5f5826e4 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 11 Jan 2001 23:59:15 +0000 Subject: Connect to folder_changed as well as message_changed for updating unread * folder-browser.c (got_folder): Connect to folder_changed as well as message_changed for updating unread count svn path=/trunk/; revision=7420 --- mail/folder-browser.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mail/folder-browser.c') 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), -- cgit