diff options
author | Dan Winship <danw@src.gnome.org> | 2001-03-31 00:44:22 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-03-31 00:44:22 +0800 |
commit | c2f952971ba1362587fa6b9ed5e4b916e14d13ab (patch) | |
tree | c6b281fb8f3d9e7b1b7ca4858a02759ad2c28ac6 | |
parent | bfdcfc7949e01f47ee4d39de425a993033c413b0 (diff) | |
download | gsoc2013-evolution-c2f952971ba1362587fa6b9ed5e4b916e14d13ab.tar.gz gsoc2013-evolution-c2f952971ba1362587fa6b9ed5e4b916e14d13ab.tar.zst gsoc2013-evolution-c2f952971ba1362587fa6b9ed5e4b916e14d13ab.zip |
If the EvolutionShellComponent emits a "debug" signal, turn on
* component-factory.c (debug_cb): If the EvolutionShellComponent
emits a "debug" signal, turn on camel_verbose_debug.
svn path=/trunk/; revision=9047
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/component-factory.c | 10 |
2 files changed, 15 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index ac4a47b3c6..3a755a64ac 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2001-03-30 Dan Winship <danw@ximian.com> + + * component-factory.c (debug_cb): If the EvolutionShellComponent + emits a "debug" signal, turn on camel_verbose_debug. + 2001-03-30 Radek Doulik <rodo@ximian.com> * mail-display.c (mail_display_redisplay): reset last_active 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); |