diff options
author | Larry Ewing <lewing@ximian.com> | 2004-01-24 05:32:33 +0800 |
---|---|---|
committer | Larry Ewing <lewing@src.gnome.org> | 2004-01-24 05:32:33 +0800 |
commit | 2653f55b2e560a4fcf230a71072b248fd956d3d6 (patch) | |
tree | 6f2b4e13d9c3a654939e6b0cb0598f4ca16ea620 | |
parent | 5537132932e9cbb71229523c8bafa0051f2ba10d (diff) | |
download | gsoc2013-evolution-2653f55b2e560a4fcf230a71072b248fd956d3d6.tar gsoc2013-evolution-2653f55b2e560a4fcf230a71072b248fd956d3d6.tar.gz gsoc2013-evolution-2653f55b2e560a4fcf230a71072b248fd956d3d6.tar.bz2 gsoc2013-evolution-2653f55b2e560a4fcf230a71072b248fd956d3d6.tar.lz gsoc2013-evolution-2653f55b2e560a4fcf230a71072b248fd956d3d6.tar.xz gsoc2013-evolution-2653f55b2e560a4fcf230a71072b248fd956d3d6.tar.zst gsoc2013-evolution-2653f55b2e560a4fcf230a71072b248fd956d3d6.zip |
add the control id to the factory.
2004-01-23 Larry Ewing <lewing@ximian.com>
* mail-component-factory.c (factory): add the control id to the
factory.
svn path=/trunk/; revision=24390
-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) { |