aboutsummaryrefslogtreecommitdiffstats
path: root/mail/component-factory.c
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-01-26 08:03:53 +0800
committerIain Holmes <iain@src.gnome.org>2001-01-26 08:03:53 +0800
commit75bb2f48a52ea7891195e89091df68c46a7db514 (patch)
tree5daa6818bc5f278c4e4a6c5c9ad25c08b05ae1ff /mail/component-factory.c
parent5ccced69c1e12d19fb65071f0d8c707669802371 (diff)
downloadgsoc2013-evolution-75bb2f48a52ea7891195e89091df68c46a7db514.tar
gsoc2013-evolution-75bb2f48a52ea7891195e89091df68c46a7db514.tar.gz
gsoc2013-evolution-75bb2f48a52ea7891195e89091df68c46a7db514.tar.bz2
gsoc2013-evolution-75bb2f48a52ea7891195e89091df68c46a7db514.tar.lz
gsoc2013-evolution-75bb2f48a52ea7891195e89091df68c46a7db514.tar.xz
gsoc2013-evolution-75bb2f48a52ea7891195e89091df68c46a7db514.tar.zst
gsoc2013-evolution-75bb2f48a52ea7891195e89091df68c46a7db514.zip
Neater importer stuff.
svn path=/trunk/; revision=7828
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r--mail/component-factory.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c
index 38a71b8596..89c29bc2d3 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -41,6 +41,7 @@
#include "mail-local.h"
#include "mail-session.h"
#include "mail-mt.h"
+#include "mail-importer.h"
#include "openpgp-utils.h"
#include <gal/widgets/e-gui-utils.h>
@@ -267,6 +268,8 @@ component_fn (BonoboGenericFactory *factory, void *closure)
GTK_SIGNAL_FUNC (owner_set_cb), NULL);
gtk_signal_connect (GTK_OBJECT (shell_component), "owner_unset",
GTK_SIGNAL_FUNC (owner_unset_cb), NULL);
+ gtk_signal_connect (GTK_OBJECT (shell_component), "destroy",
+ GTK_SIGNAL_FUNC (owner_unset_cb), NULL);
return BONOBO_OBJECT (shell_component);
}
@@ -285,6 +288,7 @@ component_factory_init (void)
component_fn, NULL);
summary_factory = bonobo_generic_factory_new (SUMMARY_FACTORY_ID,
summary_fn, NULL);
+ mail_importer_init ();
if (component_factory == NULL || summary_factory == NULL) {
e_notice (NULL, GNOME_MESSAGE_BOX_ERROR,