aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-send-recv.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-05-10 06:01:42 +0800
committerDan Winship <danw@src.gnome.org>2001-05-10 06:01:42 +0800
commit72be879a2786d992936b8195b328dfca75b22919 (patch)
treedfe94a8ecaf416ebf13c3c109d9bbd3b4ad389be /mail/mail-send-recv.c
parent630241d74b1a6dede97380c8ed70c74641399e0f (diff)
downloadgsoc2013-evolution-72be879a2786d992936b8195b328dfca75b22919.tar
gsoc2013-evolution-72be879a2786d992936b8195b328dfca75b22919.tar.gz
gsoc2013-evolution-72be879a2786d992936b8195b328dfca75b22919.tar.bz2
gsoc2013-evolution-72be879a2786d992936b8195b328dfca75b22919.tar.lz
gsoc2013-evolution-72be879a2786d992936b8195b328dfca75b22919.tar.xz
gsoc2013-evolution-72be879a2786d992936b8195b328dfca75b22919.tar.zst
gsoc2013-evolution-72be879a2786d992936b8195b328dfca75b22919.zip
New file, started by Ettore, finished by me, to implement the
* mail-offline-handler.c: New file, started by Ettore, finished by me, to implement the GNOME_Evolution_Offline interface. * Makefile.am (evolution_mail_SOURCES): Add mail-offline-handler.[ch] * mail-ops.c (mail_store_set_offline): Set a store online or offline. * mail-send-recv.c (auto_timeout): Don't run auto-check-for-mail while the session is offline. * component-factory.c (component_fn): Set up offline handler. svn path=/trunk/; revision=9739
Diffstat (limited to 'mail/mail-send-recv.c')
-rw-r--r--mail/mail-send-recv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c
index ded42cb6ff..f59f322a3d 100644
--- a/mail/mail-send-recv.c
+++ b/mail/mail-send-recv.c
@@ -647,7 +647,8 @@ auto_timeout(void *data)
{
struct _auto_data *info = data;
- mail_receive_uri(info->uri, info->keep);
+ if (camel_session_is_online(session))
+ mail_receive_uri(info->uri, info->keep);
return TRUE;
}
@@ -784,4 +785,3 @@ void mail_receive_uri(const char *uri, int keep)
}
gtk_object_unref((GtkObject *)fc);
}
-