From 6e9cb1e2bf29610e0d111572e72244b11542cc8d Mon Sep 17 00:00:00 2001 From: Not Zed Date: Thu, 9 Jan 2003 12:17:19 +0000 Subject: Added druidpagestart1 to the pages list. (construct): Change the limits on 2003-01-09 Not Zed * mail-config-druid.c: Added druidpagestart1 to the pages list. (construct): Change the limits on the page initialisation, and widget_show_all on the page rather than the content. * GNOME_Evolution_Mail.server.in.in: Make Mail a shlib component. * folder-info.c (evolution_folder_info_factory_init): Removed. (evolution_folder_info_factory_fn): renamed to evolution_folder_info_new(). * mail-config-druid.c (evolution_mail_config_wizard_factory_fn): Renamed to evolution_mail_config_wizard_new(). (evolution_mail_config_wizard_init): Removed. * mail-config-factory.c (mail_config_register_factory): Remove. (config_control_factory_cb): make this public. * Makefile.am: setup evolution-mail as a shared library. * component-factory.c (make_factory): implement the bonobo-plugin factory for shlib operation. Also, preliminary work to setup mailer-specific (factory): Implement the factory which starts various components. * mail-config.c (xml_get_prop): g_free->xmlFree (account_to_xml): copy xml memory to glib memory when adding the 0 on the end of the string. (accounts_save): Use slightly different logic with appending to the tail of the list, we can't use the &node trick with gslists. (accounts_changed): Same here. svn path=/trunk/; revision=19362 --- mail/mail-config-factory.c | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'mail/mail-config-factory.c') diff --git a/mail/mail-config-factory.c b/mail/mail-config-factory.c index 641dced5d1..c16f70c3ee 100644 --- a/mail/mail-config-factory.c +++ b/mail/mail-config-factory.c @@ -62,7 +62,7 @@ config_control_apply_cb (EvolutionConfigControl *config_control, void *user_data data->apply (data->prefs); } -static BonoboObject * +BonoboObject * config_control_factory_cb (BonoboGenericFactory *factory, const char *component_id, void *user_data) { GNOME_Evolution_Shell shell = (GNOME_Evolution_Shell) user_data; @@ -120,20 +120,3 @@ config_control_factory_cb (BonoboGenericFactory *factory, const char *component_ return BONOBO_OBJECT (control); } - -gboolean -mail_config_register_factory (GNOME_Evolution_Shell shell) -{ - g_return_val_if_fail (shell != CORBA_OBJECT_NIL, FALSE); - - factory = bonobo_generic_factory_new (CONFIG_CONTROL_FACTORY_ID, - config_control_factory_cb, - shell); - - if (factory != NULL) { - return TRUE; - } else { - g_warning ("Cannot register factory %s", CONFIG_CONTROL_FACTORY_ID); - return FALSE; - } -} -- cgit v1.2.3