diff options
author | Karl Relton <karllinuxtest.relton@ntlworld.com> | 2007-06-02 05:53:26 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2007-06-02 05:53:26 +0800 |
commit | 3d2a46877e96d740891e7f717d1f882e27506cdf (patch) | |
tree | 93b7608dad5bd58bccfa3d3b28ffbac586cb8656 /mail/mail-folder-cache.h | |
parent | 068e5e40b09717f630f6bb12bc199d6a739db4e3 (diff) | |
download | gsoc2013-evolution-3d2a46877e96d740891e7f717d1f882e27506cdf.tar.gz gsoc2013-evolution-3d2a46877e96d740891e7f717d1f882e27506cdf.tar.zst gsoc2013-evolution-3d2a46877e96d740891e7f717d1f882e27506cdf.zip |
** Fix for bug #311512
2007-06-01 Karl Relton <karllinuxtest.relton@ntlworld.com>
** 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
Diffstat (limited to 'mail/mail-folder-cache.h')
-rw-r--r-- | mail/mail-folder-cache.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 <camel/camel-store.h> /* Add a store whose folders should appear in the shell |