diff options
author | Not Zed <NotZed@Ximian.com> | 2003-03-10 14:38:56 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2003-03-10 14:38:56 +0800 |
commit | 63a340aa632110022e3974d2f342221f50e9851b (patch) | |
tree | 3bdec3b4e53694a654a3a41ca56a3263928a6066 /mail | |
parent | 4e9884119183fa0f869979b98b834680e7f092a2 (diff) | |
download | gsoc2013-evolution-63a340aa632110022e3974d2f342221f50e9851b.tar gsoc2013-evolution-63a340aa632110022e3974d2f342221f50e9851b.tar.gz gsoc2013-evolution-63a340aa632110022e3974d2f342221f50e9851b.tar.bz2 gsoc2013-evolution-63a340aa632110022e3974d2f342221f50e9851b.tar.lz gsoc2013-evolution-63a340aa632110022e3974d2f342221f50e9851b.tar.xz gsoc2013-evolution-63a340aa632110022e3974d2f342221f50e9851b.tar.zst gsoc2013-evolution-63a340aa632110022e3974d2f342221f50e9851b.zip |
Removed the debug printf. Added a case for the composer. Part of fixing
2003-03-10 Not Zed <NotZed@Ximian.com>
* component-factory.c
(factory): Removed the debug printf. Added a case for the
composer. Part of fixing #39256.
svn path=/trunk/; revision=20228
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 3 | ||||
-rw-r--r-- | mail/component-factory.c | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index c38e76e916..5cb92e31bf 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -5,7 +5,8 @@ * component-factory.c (component_factory_init): Remove, not used anymore, causes linking problems some places. - (factory): Removed the debug printf. + (factory): Removed the debug printf. Added a case for the + composer. Part of fixing #39256. 2003-03-07 Jeffrey Stedfast <fejj@ximian.com> diff --git a/mail/component-factory.c b/mail/component-factory.c index 854d57d682..5592c4e0a0 100644 --- a/mail/component-factory.c +++ b/mail/component-factory.c @@ -41,6 +41,7 @@ #include "Evolution.h" #include "evolution-storage.h" #include "evolution-wizard.h" +#include "evolution-composer.h" #include "folder-browser-factory.h" #include "evolution-shell-component.h" @@ -1370,7 +1371,6 @@ add_storage (const char *name, const char *uri, CamelService *store, } } - void mail_add_storage (CamelStore *store, const char *name, const char *uri) { @@ -1586,6 +1586,7 @@ mail_storages_foreach (GHFunc func, gpointer data) #define MAIL_CONFIG_IID "OAFIID:GNOME_Evolution_MailConfig" #define WIZARD_IID "OAFIID:GNOME_Evolution_Mail_Wizard" #define FOLDER_INFO_IID "OAFIID:GNOME_Evolution_FolderInfo" +#define COMPOSER_IID "OAFIID:GNOME_Evolution_Mail_Composer" static BonoboObject * factory (BonoboGenericFactory *factory, @@ -1609,6 +1610,8 @@ factory (BonoboGenericFactory *factory, || strcmp (component_id, MAIL_COMPOSER_PREFS_CONTROL_ID) == 0 /* || strcmp (component_id, MAIL_FONT_PREFS_CONTROL_ID) == 0 */) return mail_config_control_factory_cb (factory, component_id, evolution_shell_client_corba_objref (global_shell_client)); + else if (strcmp(component_id, COMPOSER_IID) == 0) + return (BonoboObject *)evolution_composer_new(composer_send_cb, composer_save_draft_cb); g_warning (FACTORY_ID ": Don't know what to do with %s", component_id); return NULL; |