diff options
author | Not Zed <NotZed@Ximian.com> | 2001-01-16 11:57:24 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-01-16 11:57:24 +0800 |
commit | 67be94cbd50f1cb4baa3db10e3d8ee3914b11057 (patch) | |
tree | 212e2aae36faddf9305a559fcb9ab885d3af20dd /mail/mail-callbacks.h | |
parent | e3a451cb33cad9dada930fd5111bcc6c341d5a2b (diff) | |
download | gsoc2013-evolution-67be94cbd50f1cb4baa3db10e3d8ee3914b11057.tar.gz 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.h')
-rw-r--r-- | mail/mail-callbacks.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/mail-callbacks.h b/mail/mail-callbacks.h index d529600ceb..0d9ccd2183 100644 --- a/mail/mail-callbacks.h +++ b/mail/mail-callbacks.h @@ -71,6 +71,8 @@ void manage_subscriptions (BonoboUIComponent *uih, void *user_data, const char void configure_folder (BonoboUIComponent *uih, void *user_data, const char *path); +void stop_threads (BonoboUIComponent *uih, void *user_data, const char *path); + void mail_reply (CamelFolder *folder, CamelMimeMessage *msg, const char *uid, gboolean to_all); void composer_send_cb (EMsgComposer *composer, gpointer data); void composer_postpone_cb (EMsgComposer *composer, gpointer data); |