From 54b80a7271e8ce1b2f3ccc68bb553940a24b80e2 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 17 Oct 2008 03:48:03 +0000 Subject: Get the mail folder tree compiling, though I'm not yet sure why it's not showing anything. Probably something stupid. Also enabled the composer. svn path=/branches/kill-bonobo/; revision=36623 --- composer/e-composer-private.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'composer/e-composer-private.c') diff --git a/composer/e-composer-private.c b/composer/e-composer-private.c index 30cdbfab75..c1e463a98b 100644 --- a/composer/e-composer-private.c +++ b/composer/e-composer-private.c @@ -19,6 +19,8 @@ #include "e-composer-private.h" +#include "mail/e-mail-shell-module.h" + static void composer_setup_charset_menu (EMsgComposer *composer) { @@ -144,6 +146,14 @@ e_composer_private_init (EMsgComposer *composer) priv->header_table = g_object_ref (widget); gtk_widget_show (widget); + /* XXX We have to access the mail shell module directly for the + * benefit of other modules that spawn composer windows but + * don't link to the mail module. Need to work out a better + * inter-module messaging system, in lieu of Bonobo. D-Bus? */ + e_composer_header_table_set_folder_tree_model ( + E_COMPOSER_HEADER_TABLE (widget), + e_mail_shell_module_get_folder_tree_model (mail_shell_module)); + /* Construct attachment widgets. * XXX Move this stuff into a new custom widget. */ -- cgit