aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-tree-model.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-12-11 02:36:13 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-12-11 02:36:13 +0800
commite3262cdc7e24aece3074a0c92ce3e529acf3568e (patch)
treedc850b54b73d9a9b448158e4da830699c1142136 /mail/em-folder-tree-model.h
parent82bfd7cc1cc8f00cd86c87a6132678145bfa0776 (diff)
downloadgsoc2013-evolution-e3262cdc7e24aece3074a0c92ce3e529acf3568e.tar
gsoc2013-evolution-e3262cdc7e24aece3074a0c92ce3e529acf3568e.tar.gz
gsoc2013-evolution-e3262cdc7e24aece3074a0c92ce3e529acf3568e.tar.bz2
gsoc2013-evolution-e3262cdc7e24aece3074a0c92ce3e529acf3568e.tar.lz
gsoc2013-evolution-e3262cdc7e24aece3074a0c92ce3e529acf3568e.tar.xz
gsoc2013-evolution-e3262cdc7e24aece3074a0c92ce3e529acf3568e.tar.zst
gsoc2013-evolution-e3262cdc7e24aece3074a0c92ce3e529acf3568e.zip
Update the unread count in the model if the folder got new mail.
2003-12-10 Jeffrey Stedfast <fejj@ximian.com> * mail-folder-cache.c (real_flush_updates): Update the unread count in the model if the folder got new mail. * em-folder-selection.c (em_select_folder): Updated. * em-folder-selection-button.c (em_folder_selection_button_clicked): Updated. * em-folder-tree-model.c (em_folder_tree_model_set_unread_count): New function to update the unread count for a folder. * mail-component.c (mail_component_peek_tree_model): Don't ref the model. Also renamed s/get/peek/ svn path=/trunk/; revision=23910
Diffstat (limited to 'mail/em-folder-tree-model.h')
-rw-r--r--mail/em-folder-tree-model.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/em-folder-tree-model.h b/mail/em-folder-tree-model.h
index 3296af1ed1..fd49bb2f3c 100644
--- a/mail/em-folder-tree-model.h
+++ b/mail/em-folder-tree-model.h
@@ -114,6 +114,8 @@ gboolean em_folder_tree_model_get_expanded (EMFolderTreeModel *model, const char
void em_folder_tree_model_set_expanded (EMFolderTreeModel *model, const char *key, gboolean expanded);
void em_folder_tree_model_save_expanded (EMFolderTreeModel *model);
+void em_folder_tree_model_set_unread_count (EMFolderTreeModel *model, CamelStore *store, const char *path, int unread);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */