aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-mt.h
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-06-16 15:11:20 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-06-16 15:11:20 +0800
commita2d2fa53ef98e33fb45aeda6be10189f0ac298a9 (patch)
treea817a356c80b64646236b4c7b156f089324c7e6c /mail/mail-mt.h
parentd60e4144e5c756e478e0b09e3e22596e9d397527 (diff)
downloadgsoc2013-evolution-a2d2fa53ef98e33fb45aeda6be10189f0ac298a9.tar
gsoc2013-evolution-a2d2fa53ef98e33fb45aeda6be10189f0ac298a9.tar.gz
gsoc2013-evolution-a2d2fa53ef98e33fb45aeda6be10189f0ac298a9.tar.bz2
gsoc2013-evolution-a2d2fa53ef98e33fb45aeda6be10189f0ac298a9.tar.lz
gsoc2013-evolution-a2d2fa53ef98e33fb45aeda6be10189f0ac298a9.tar.xz
gsoc2013-evolution-a2d2fa53ef98e33fb45aeda6be10189f0ac298a9.tar.zst
gsoc2013-evolution-a2d2fa53ef98e33fb45aeda6be10189f0ac298a9.zip
** See #56479.
2004-06-16 Not Zed <NotZed@Ximian.com> ** See #56479. * em-utils.c (em_utils_in_addressbook): use the main thread to setup the addressbook list. (em_utils_in_addressbook): only check against the "completion" sources, not all of them. 2004-06-15 Not Zed <NotZed@Ximian.com> * em-folder-browser.c (emfb_mail_stop): call mail_cancel_all to implement the stop button. * em-utils.c (emu_addr_sources_refresh): don't unref the group list, otherwise the sources become broken now (?). (em_utils_in_addressbook): add some locking. add cancellation. this is almost certainly going to cause issues. * mail-mt.c (mail_cancel_hook_add, mail_cancel_hook_remove) (mail_cancel_all): new functions to implement a global mailer stop button. svn path=/trunk/; revision=26363
Diffstat (limited to 'mail/mail-mt.h')
-rw-r--r--mail/mail-mt.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/mail-mt.h b/mail/mail-mt.h
index b6d402199f..23baf60a56 100644
--- a/mail/mail-mt.h
+++ b/mail/mail-mt.h
@@ -60,6 +60,11 @@ void mail_msg_wait(unsigned int msgid);
void mail_msg_wait_all(void);
int mail_msg_active(unsigned int msgid);
+/* To implement the stop button */
+void *mail_cancel_hook_add(GDestroyNotify func, void *data);
+void mail_cancel_hook_remove(void *handle);
+void mail_cancel_all(void);
+
/* request a string/password */
char *mail_get_password (CamelService *service, const char *prompt,
gboolean secret, gboolean *cache);