aboutsummaryrefslogtreecommitdiffstats
path: root/mail
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
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')
-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),