diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-component-factory.c | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 0075a5a909..56ef39a245 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2004-01-23 Larry Ewing <lewing@ximian.com> + + * mail-component-factory.c (factory): add the control id to the + factory. + 2004-01-23 Jeffrey Stedfast <fejj@ximian.com> * em-migrate.c (upgrade_xml_uris_1_4): Handle where the file: url diff --git a/mail/mail-component-factory.c b/mail/mail-component-factory.c index d2130ef7ce..3b156e1394 100644 --- a/mail/mail-component-factory.c +++ b/mail/mail-component-factory.c @@ -1,4 +1,4 @@ -/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ +got t/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ /* mail-component-factory.c * * Authors: Ettore Perazzoli <ettore@ximian.com> @@ -44,9 +44,9 @@ #define FACTORY_ID "OAFIID:GNOME_Evolution_Mail_Factory:" BASE_VERSION - #define COMPONENT_ID "OAFIID:GNOME_Evolution_Mail_Component:" BASE_VERSION #define COMPOSER_ID "OAFIID:GNOME_Evolution_Mail_Composer:" BASE_VERSION +#define MAIL_CONTROL_ID "OAFIID:GNOME_Evolution_Mail_Control:" BASE_VERSION #define FOLDER_INFO_ID "OAFIID:GNOME_Evolution_FolderInfo:" BASE_VERSION #define MAIL_CONFIG_ID "OAFIID:GNOME_Evolution_MailConfig:" BASE_VERSION #define WIZARD_ID "OAFIID:GNOME_Evolution_Mail_Wizard:" BASE_VERSION @@ -65,6 +65,8 @@ factory (BonoboGenericFactory *factory, bonobo_object_ref (BONOBO_OBJECT (component)); return BONOBO_OBJECT (component); + } else if (strcmp(component_id, MAIL_CONTROL_ID) == 0) { + return (BonoboObject *) mail_control_new (); } else if (strcmp(component_id, MAIL_CONFIG_ID) == 0) { return (BonoboObject *)g_object_new (evolution_mail_config_get_type (), NULL); } else if (strcmp(component_id, WIZARD_ID) == 0) { |