aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-08-05 12:31:02 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-08-05 12:31:02 +0800
commit3b8842db31f90aecfdbc59afd931b3291bed3968 (patch)
tree32fe608d1c77c6b39e8884673371273a0e065e83 /mail
parentd682c4f31ee76d09bb11cc06a79aa4522a35f229 (diff)
downloadgsoc2013-evolution-3b8842db31f90aecfdbc59afd931b3291bed3968.tar
gsoc2013-evolution-3b8842db31f90aecfdbc59afd931b3291bed3968.tar.gz
gsoc2013-evolution-3b8842db31f90aecfdbc59afd931b3291bed3968.tar.bz2
gsoc2013-evolution-3b8842db31f90aecfdbc59afd931b3291bed3968.tar.lz
gsoc2013-evolution-3b8842db31f90aecfdbc59afd931b3291bed3968.tar.xz
gsoc2013-evolution-3b8842db31f90aecfdbc59afd931b3291bed3968.tar.zst
gsoc2013-evolution-3b8842db31f90aecfdbc59afd931b3291bed3968.zip
Use `e_bonobo_generic_factory_multi_display_new()' instead of just
* component-factory.c (component_factory_init): Use `e_bonobo_generic_factory_multi_display_new()' instead of just `bonobo_generic_factory_new()'. (component_fn): Added @component_id arg. svn path=/trunk/; revision=11687
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/component-factory.c13
2 files changed, 15 insertions, 5 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index d5d35c1074..6bd05edb52 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,10 @@
+2001-08-04 Ettore Perazzoli <ettore@ximian.com>
+
+ * component-factory.c (component_factory_init): Use
+ `e_bonobo_generic_factory_multi_display_new()' instead of just
+ `bonobo_generic_factory_new()'.
+ (component_fn): Added @component_id arg.
+
2001-08-04 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (mail_part_is_inline): Add yet another
diff --git a/mail/component-factory.c b/mail/component-factory.c
index 4c947c1fa1..f7394796c3 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -33,6 +33,8 @@
#include "Evolution.h"
#include "evolution-storage.h"
+#include "e-util/e-bonobo-factory-util.h"
+
#include "folder-browser-factory.h"
#include "evolution-shell-component.h"
#include "evolution-shell-component-dnd.h"
@@ -46,12 +48,11 @@
#include "mail-session.h"
#include "mail-mt.h"
#include "mail-importer.h"
+#include "mail-send-recv.h"
#include "mail-vfolder.h" /* vfolder_create_storage */
#include "component-factory.h"
-#include "mail-send-recv.h"
-
char *default_drafts_folder_uri;
CamelFolder *drafts_folder = NULL;
char *default_sent_folder_uri;
@@ -704,7 +705,9 @@ handle_external_uri_cb (EvolutionShellComponent *shell_component,
}
static BonoboObject *
-component_fn (BonoboGenericFactory *factory, void *closure)
+component_fn (BonoboGenericFactory *factory,
+ const char *component_id,
+ void *closure)
{
EvolutionShellComponentDndDestinationFolder *destination_interface;
MailOfflineHandler *offline_handler;
@@ -746,8 +749,8 @@ component_fn (BonoboGenericFactory *factory, void *closure)
void
component_factory_init (void)
{
- component_factory = bonobo_generic_factory_new (COMPONENT_FACTORY_ID,
- component_fn, NULL);
+ component_factory = e_bonobo_generic_factory_multi_display_new (COMPONENT_FACTORY_ID,
+ component_fn, NULL);
evolution_mail_config_factory_init ();
evolution_folder_info_factory_init ();