From 47d864c709acf663365af2dd539cbc88bfb87a86 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 11 Jan 2001 22:04:29 +0000 Subject: New function to check for added/deleted messages when re-selecting a * providers/imap/camel-imap-folder.c (camel_imap_folder_selected): New function to check for added/deleted messages when re-selecting a folder. (imap_refresh_info, imap_rescan, imap_update_summary): Various locking tweaks that turn out to be irrelevant since command_lock is recursive, but whatever. * providers/imap/camel-imap-command.c (camel_imap_command): When selecting a new folder, call camel_imap_folder_selected on it. svn path=/trunk/; revision=7410 --- camel/providers/imap/camel-imap-folder.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'camel/providers/imap/camel-imap-folder.h') diff --git a/camel/providers/imap/camel-imap-folder.h b/camel/providers/imap/camel-imap-folder.h index 6863782c8a..a943189f5a 100644 --- a/camel/providers/imap/camel-imap-folder.h +++ b/camel/providers/imap/camel-imap-folder.h @@ -66,6 +66,10 @@ CamelFolder *camel_imap_folder_new (CamelStore *parent, const char *summary_file, CamelException *ex); +void camel_imap_folder_selected (CamelFolder *folder, + CamelImapResponse *response, + CamelException *ex); + void camel_imap_folder_changed (CamelFolder *folder, int exists, GArray *expunged, CamelException *ex); -- cgit v1.2.3