aboutsummaryrefslogtreecommitdiffstats
path: root/mail/component-factory.c
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2000-10-26 07:03:33 +0800
committerIain Holmes <iain@src.gnome.org>2000-10-26 07:03:33 +0800
commit20394851919f80269d11aa460e60f2bd1e46b7dc (patch)
tree6b3fc7cd84913f288434f58e5a4a9cb86604b073 /mail/component-factory.c
parent8ab09706d1ddaa55f1e76dc395fdee2104e4d105 (diff)
downloadgsoc2013-evolution-20394851919f80269d11aa460e60f2bd1e46b7dc.tar
gsoc2013-evolution-20394851919f80269d11aa460e60f2bd1e46b7dc.tar.gz
gsoc2013-evolution-20394851919f80269d11aa460e60f2bd1e46b7dc.tar.bz2
gsoc2013-evolution-20394851919f80269d11aa460e60f2bd1e46b7dc.tar.lz
gsoc2013-evolution-20394851919f80269d11aa460e60f2bd1e46b7dc.tar.xz
gsoc2013-evolution-20394851919f80269d11aa460e60f2bd1e46b7dc.tar.zst
gsoc2013-evolution-20394851919f80269d11aa460e60f2bd1e46b7dc.zip
Summary is back in :D
Fixed a silly size issue for composer file selectors. svn path=/trunk/; revision=6187
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r--mail/component-factory.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c
index 2bf099a2f2..c1b09fed5e 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -43,10 +43,8 @@
#include "component-factory.h"
-#ifdef WANT_THE_EXECUTIVE_SUMMARY
#include <executive-summary/evolution-services/executive-summary-component.h>
#include "mail-summary.h"
-#endif
CamelFolder *drafts_folder = NULL;
CamelFolder *outbox_folder = NULL;
@@ -182,17 +180,15 @@ factory_destroy (BonoboEmbeddable *embeddable,
gtk_main_quit ();
}
-#ifdef WANT_THE_EXECUTIVE_SUMMARY
static BonoboObject *
summary_fn (BonoboGenericFactory *factory, void *closure)
{
ExecutiveSummaryComponent *summary_component;
- summary_component = executive_summary_component_new (
- NULL, create_summary_view, NULL, NULL);
+ summary_component = executive_summary_component_new (create_summary_view,
+ NULL, NULL);
return BONOBO_OBJECT (summary_component);
}
-#endif
static BonoboObject *
factory_fn (BonoboGenericFactory *factory, void *closure)
@@ -225,9 +221,7 @@ component_factory_init (void)
return;
factory = bonobo_generic_factory_new (COMPONENT_FACTORY_ID, factory_fn, NULL);
-#ifdef WANT_THE_EXECUTIVE_SUMMARY
summary_factory = bonobo_generic_factory_new (SUMMARY_FACTORY_ID, summary_fn, NULL);
-#endif
storages_hash = g_hash_table_new (g_str_hash, g_str_equal);
@@ -237,12 +231,11 @@ component_factory_init (void)
exit (1);
}
-#ifdef WANT_THE_EXECUTIVE_SUMMARY
if (summary_factory == NULL) {
e_notice (NULL, GNOME_MESSAGE_BOX_ERROR,
_("Cannot initialize Evolution's mail summary component."));
}
-#endif
+
if (storages_hash == NULL) {
e_notice (NULL, GNOME_MESSAGE_BOX_ERROR,
_("Cannot initialize Evolution's mail storage hash."));