aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
diff options
context:
space:
mode:
authorPeter Williams <peterw@src.gnome.org>2000-08-12 03:07:13 +0800
committerPeter Williams <peterw@src.gnome.org>2000-08-12 03:07:13 +0800
commit4824927269ed26278e9cddc9d523ad813d0fd626 (patch)
tree1ffd8329e68afa96c32149a287ef0742aa03c34d /mail/mail-ops.c
parente7ea4f09d395f5656b959ebc1a0016608fe1b0fd (diff)
downloadgsoc2013-evolution-4824927269ed26278e9cddc9d523ad813d0fd626.tar
gsoc2013-evolution-4824927269ed26278e9cddc9d523ad813d0fd626.tar.gz
gsoc2013-evolution-4824927269ed26278e9cddc9d523ad813d0fd626.tar.bz2
gsoc2013-evolution-4824927269ed26278e9cddc9d523ad813d0fd626.tar.lz
gsoc2013-evolution-4824927269ed26278e9cddc9d523ad813d0fd626.tar.xz
gsoc2013-evolution-4824927269ed26278e9cddc9d523ad813d0fd626.tar.zst
gsoc2013-evolution-4824927269ed26278e9cddc9d523ad813d0fd626.zip
Put the dont-try-to-get-mail-from-imap-sources check into a better spot
svn path=/trunk/; revision=4750
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r--mail/mail-ops.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 06d49d42c9..ce99a75dad 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -110,6 +110,13 @@ do_fetch_mail (gpointer in_data, gpointer op_data, CamelException * ex)
CamelFolder *search_folder = NULL;
+ /* If using IMAP, don't do anything... */
+
+ if (!strncmp (input->source_url, "imap:", 5)) {
+ data->empty = FALSE;
+ return;
+ }
+
if (input->destination == NULL) {
input->destination = mail_tool_get_local_inbox (ex);