From ee5671fc1a5e442b677cf73a191c4d34bd99a93a Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 10 Aug 2012 07:42:47 -0400 Subject: Run mbox-to-Maildir conversion before loading modules. Invoke the mbox-to-Maildir conversion directly from main(), just before the call to e_shell_load_modules(). The reason the code is here and not in the mail module is because we inform the user at startup of the impending mail conversion by displaying a popup dialog and waiting for confirmation. This has to be done before we load modules because some of the EShellBackends immediately add GMainContext sources that would otherwise get dispatched during gtk_dialog_run(), and we don't want then dispatched until after the conversion is complete. --- shell/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'shell/Makefile.am') diff --git a/shell/Makefile.am b/shell/Makefile.am index b460d08d43..a01dc7771c 100644 --- a/shell/Makefile.am +++ b/shell/Makefile.am @@ -143,7 +143,8 @@ evolution_CPPFLAGS = \ $(CLUTTER_CFLAGS) evolution_SOURCES = \ - main.c + main.c \ + e-convert-local-mail.c evolution_LDADD = \ libeshell.la \ -- cgit