From 0b9b384a2bbd6257dae54ed1b5ee08f100fa32aa Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Thu, 24 Aug 2000 17:22:12 +0000 Subject: Fix GDK_THREADS_entering and leaving, hopefully once and for all. Genericify the recursive-store-loading. Load stores when they're added to the config page. svn path=/trunk/; revision=5005 --- mail/mail.h | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'mail/mail.h') diff --git a/mail/mail.h b/mail/mail.h index 8a67d745fb..2a3f54530e 100644 --- a/mail/mail.h +++ b/mail/mail.h @@ -26,9 +26,6 @@ extern char *evolution_dir; -/* mail-config */ -void mail_config_druid (void); - /* mail-crypto */ char *mail_crypto_openpgp_decrypt (const char *ciphertext, CamelException *ex); @@ -85,6 +82,11 @@ void run_filter_ondemand (BonoboUIHandler *uih, gpointer user_data, const char * /* mail view */ GtkWidget *mail_view_create (CamelFolder *source, const char *uid, CamelMimeMessage *msg); +/* component factory for lack of a better place */ +/*takes a GSList of MailConfigServices */ +void mail_load_storages (Evolution_Shell corba_shell, GSList *sources); +void mail_add_new_storage (const char *uri, Evolution_Shell corba_shell, CamelException *ex); + /* session */ void session_init (void); char *mail_request_dialog (const char *prompt, gboolean secret, @@ -92,3 +94,11 @@ char *mail_request_dialog (const char *prompt, gboolean secret, void forget_passwords (BonoboUIHandler *uih, void *user_data, const char *path); extern CamelSession *session; + +/* mail-threads */ +/* These are NOT for the async thread. They handle locking + * of GDK, which is a bit wacky when threads are enabled. + */ +gint mail_dialog_run_and_close (GnomeDialog *dlg); +gint mail_dialog_run (GnomeDialog *dlg); + -- cgit v1.2.3