From 3d2a46877e96d740891e7f717d1f882e27506cdf Mon Sep 17 00:00:00 2001 From: Karl Relton Date: Fri, 1 Jun 2007 21:53:26 +0000 Subject: ** Fix for bug #311512 2007-06-01 Karl Relton ** Fix for bug #311512 * mail-folder-cache.c (folder_changed): Check the added uids for messages which are not seen/deleted/junk and compare their received date with the timestamp of the last new-mail notification - if any are more recent than that, notify the user. svn path=/trunk/; revision=33614 --- mail/mail-folder-cache.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mail/mail-folder-cache.h') diff --git a/mail/mail-folder-cache.h b/mail/mail-folder-cache.h index 875579ad67..79d59c1a71 100644 --- a/mail/mail-folder-cache.h +++ b/mail/mail-folder-cache.h @@ -25,6 +25,9 @@ #ifndef _MAIL_FOLDER_CACHE_H #define _MAIL_FOLDER_CACHE_H +/* min no. seconds between newmail notifications */ +#define NOTIFY_THROTTLE 30 + #include /* Add a store whose folders should appear in the shell -- cgit v1.2.3