aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail.h
diff options
context:
space:
mode:
authorPeter Williams <peterw@src.gnome.org>2000-08-25 01:22:12 +0800
committerPeter Williams <peterw@src.gnome.org>2000-08-25 01:22:12 +0800
commit0b9b384a2bbd6257dae54ed1b5ee08f100fa32aa (patch)
tree321d35a22258b0f74f6dd7d5e3e0f069e80696a6 /mail/mail.h
parent64342afba2c9e747549746548a20b0f29e813189 (diff)
downloadgsoc2013-evolution-0b9b384a2bbd6257dae54ed1b5ee08f100fa32aa.tar.gz
gsoc2013-evolution-0b9b384a2bbd6257dae54ed1b5ee08f100fa32aa.tar.zst
gsoc2013-evolution-0b9b384a2bbd6257dae54ed1b5ee08f100fa32aa.zip
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
Diffstat (limited to 'mail/mail.h')
-rw-r--r--mail/mail.h16
1 files changed, 13 insertions, 3 deletions
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);
+