aboutsummaryrefslogtreecommitdiffstats
path: root/mail/component-factory.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r--mail/component-factory.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c
index 791faf201b..a2f32c56b3 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -271,6 +271,14 @@ owner_unset_cb (EvolutionShellComponent *shell_component, gpointer user_data)
g_idle_add_full (G_PRIORITY_LOW, idle_quit, NULL, NULL);
}
+static void
+debug_cb (EvolutionShellComponent *shell_component, gpointer user_data)
+{
+ extern gboolean camel_verbose_debug;
+
+ camel_verbose_debug = 1;
+}
+
static const EvolutionShellComponentFolderType folder_types[] = {
{ "mail", "evolution-inbox.png" },
{ "mailstorage", "evolution-inbox.png" },
@@ -296,6 +304,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), "debug",
+ GTK_SIGNAL_FUNC (debug_cb), NULL);
gtk_signal_connect (GTK_OBJECT (shell_component), "destroy",
GTK_SIGNAL_FUNC (owner_unset_cb), NULL);