diff options
author | Not Zed <NotZed@Ximian.com> | 2004-05-20 10:07:48 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-05-20 10:07:48 +0800 |
commit | 9053f8159f165d59d230f670f6615b907d88e789 (patch) | |
tree | 5be146d0a66f749ac833d7c2ac9a169d99bb2fb9 /mail/mail-send-recv.c | |
parent | 408266b22e32d386d8b2fd5b50117b1755d0e68b (diff) | |
download | gsoc2013-evolution-9053f8159f165d59d230f670f6615b907d88e789.tar.gz gsoc2013-evolution-9053f8159f165d59d230f670f6615b907d88e789.tar.zst gsoc2013-evolution-9053f8159f165d59d230f670f6615b907d88e789.zip |
** See #58693.
2004-05-20 Not Zed <NotZed@Ximian.com>
** See #58693.
* mail-send-recv.c (mail_autoreceive_setup): add bounds checking
so sloppy ui work wont break it again.
* mail-config.glade: put the minimum for autocheck back to 1
minute. Naughty jeff.
2004-05-19 Not Zed <NotZed@Ximian.com>
* mail-ops.c (send_queue_send): set seen when we set deleted. ?
#56549.
svn path=/trunk/; revision=26002
Diffstat (limited to 'mail/mail-send-recv.c')
-rw-r--r-- | mail/mail-send-recv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c index 7d98874bdf..a45290f924 100644 --- a/mail/mail-send-recv.c +++ b/mail/mail-send-recv.c @@ -829,7 +829,7 @@ mail_autoreceive_setup (void) if (info) { info->keep = source->keep_on_server; if (info->period != source->auto_check_time*60) { - info->period = source->auto_check_time*60; + info->period = MAX(source->auto_check_time*60, 60); g_source_remove(info->timeout_id); info->timeout_id = g_timeout_add(info->period*1000, auto_timeout, info); } @@ -837,7 +837,7 @@ mail_autoreceive_setup (void) info = g_malloc0(sizeof(*info)); info->uri = g_strdup(source->url); info->keep = source->keep_on_server; - info->period = source->auto_check_time*60; + info->period = MAX(source->auto_check_time*60, 60); info->timeout_id = g_timeout_add(info->period*1000, auto_timeout, info); g_hash_table_insert(auto_active, info->uri, info); /* If we do this at startup, it can cause the logon dialog to be hidden, |