aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-callbacks.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2001-01-16 11:57:24 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-01-16 11:57:24 +0800
commit67be94cbd50f1cb4baa3db10e3d8ee3914b11057 (patch)
tree212e2aae36faddf9305a559fcb9ab885d3af20dd /mail/mail-callbacks.c
parente3a451cb33cad9dada930fd5111bcc6c341d5a2b (diff)
downloadgsoc2013-evolution-67be94cbd50f1cb4baa3db10e3d8ee3914b11057.tar
gsoc2013-evolution-67be94cbd50f1cb4baa3db10e3d8ee3914b11057.tar.gz
gsoc2013-evolution-67be94cbd50f1cb4baa3db10e3d8ee3914b11057.tar.bz2
gsoc2013-evolution-67be94cbd50f1cb4baa3db10e3d8ee3914b11057.tar.lz
gsoc2013-evolution-67be94cbd50f1cb4baa3db10e3d8ee3914b11057.tar.xz
gsoc2013-evolution-67be94cbd50f1cb4baa3db10e3d8ee3914b11057.tar.zst
gsoc2013-evolution-67be94cbd50f1cb4baa3db10e3d8ee3914b11057.zip
Setup a cancellation handle. (do_fetch_mail): REgister for cancellation
2001-01-16 Not Zed <NotZed@Ximian.com> * mail-ops.c (mail_do_fetch_mail): Setup a cancellation handle. (do_fetch_mail): REgister for cancellation here. (cleanup_fetch_mail): And unregister for cancellation here. (mail_get_message): Add a cancel handle. (get_message_get): Register/deregister for cancel. (get_message_free): & clean up. * mail-mt.c (mail_msg_received): Removed debuggng. * mail-callbacks.c (stop_threads): Callback for stopping. * folder-browser-factory.c: Add a stop button verb thingy. (control_activate): Disable the stop button by default. svn path=/trunk/; revision=7527
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r--mail/mail-callbacks.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index c5472d961b..9dada3f929 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -1139,3 +1139,11 @@ edit_message (BonoboUIComponent *uih, void *user_data, const char *path)
{
edit_msg (NULL, user_data);
}
+
+
+void
+stop_threads(BonoboUIComponent *uih, void *user_data, const char *path)
+{
+ camel_cancel_cancel(NULL);
+}
+