aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-01-12 07:59:15 +0800
committerDan Winship <danw@src.gnome.org>2001-01-12 07:59:15 +0800
commite86c8105a747ec3f96a5483d8e57686d5f5826e4 (patch)
tree53ad50c084752e040907c9f9d97103fe9ef2576e /mail/folder-browser.c
parent2805b11f123c6dbde4417804fc3d1542b9b87269 (diff)
downloadgsoc2013-evolution-e86c8105a747ec3f96a5483d8e57686d5f5826e4.tar
gsoc2013-evolution-e86c8105a747ec3f96a5483d8e57686d5f5826e4.tar.gz
gsoc2013-evolution-e86c8105a747ec3f96a5483d8e57686d5f5826e4.tar.bz2
gsoc2013-evolution-e86c8105a747ec3f96a5483d8e57686d5f5826e4.tar.lz
gsoc2013-evolution-e86c8105a747ec3f96a5483d8e57686d5f5826e4.tar.xz
gsoc2013-evolution-e86c8105a747ec3f96a5483d8e57686d5f5826e4.tar.zst
gsoc2013-evolution-e86c8105a747ec3f96a5483d8e57686d5f5826e4.zip
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
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),