aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-component-factory.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-10-25 03:31:22 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-10-25 03:31:22 +0800
commit5ae78b362fa270a49077335c32277ea52779c49a (patch)
tree4a08143be69fbb784ccee2ae4261d078d7c1173a /mail/mail-component-factory.c
parent602ee2f49664f532de6ba5f44b323dcb26192012 (diff)
downloadgsoc2013-evolution-5ae78b362fa270a49077335c32277ea52779c49a.tar
gsoc2013-evolution-5ae78b362fa270a49077335c32277ea52779c49a.tar.gz
gsoc2013-evolution-5ae78b362fa270a49077335c32277ea52779c49a.tar.bz2
gsoc2013-evolution-5ae78b362fa270a49077335c32277ea52779c49a.tar.lz
gsoc2013-evolution-5ae78b362fa270a49077335c32277ea52779c49a.tar.xz
gsoc2013-evolution-5ae78b362fa270a49077335c32277ea52779c49a.tar.zst
gsoc2013-evolution-5ae78b362fa270a49077335c32277ea52779c49a.zip
Re-Namespaced mail-accounts.c
2003-10-24 Jeffrey Stedfast <fejj@ximian.com> * em-account-prefs.[c,h]: Re-Namespaced mail-accounts.c * em-composer-prefs.[c,h]: Re-Namespaced mail-composer-prefs.c * em-mailer-prefs.[c,h]: Re-Namespaced mail-preferences.c * mail-accounts.[c,h]: Removed. * mail-composer-prefs.[c,h]: Removed. * mail-preferences.[c,h]: Removed. * mail-account-editor.c: Updated. * mail-account-gui.c: Updated. * mail-config-factory.c: Updated. * mail-component-factory.c: Updated. svn path=/trunk/; revision=23066
Diffstat (limited to 'mail/mail-component-factory.c')
-rw-r--r--mail/mail-component-factory.c18
1 files changed, 12 insertions, 6 deletions
diff --git a/mail/mail-component-factory.c b/mail/mail-component-factory.c
index 00087b7439..d941e8edbc 100644
--- a/mail/mail-component-factory.c
+++ b/mail/mail-component-factory.c
@@ -20,16 +20,22 @@
* Boston, MA 02111-1307, USA.
*/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "em-utils.h"
#include "evolution-composer.h"
-#include "mail-accounts.h"
#include "mail-component.h"
-#include "mail-composer-prefs.h"
+#include "em-account-prefs.h"
+#include "em-composer-prefs.h"
+#include "em-mailer-prefs.h"
+
#include "mail-config-druid.h"
#include "mail-config-factory.h"
#include "mail-config.h"
#include "mail-mt.h"
-#include "mail-preferences.h"
#include <bonobo-activation/bonobo-activation.h>
#include <bonobo/bonobo-shlib-factory.h>
@@ -67,9 +73,9 @@ factory (BonoboGenericFactory *factory,
return (BonoboObject *)g_object_new (evolution_mail_config_get_type (), NULL);
} else if (strcmp(component_id, WIZARD_ID) == 0) {
return evolution_mail_config_wizard_new();
- } else if (strcmp (component_id, MAIL_ACCOUNTS_CONTROL_ID) == 0
- || strcmp (component_id, MAIL_PREFERENCES_CONTROL_ID) == 0
- || strcmp (component_id, MAIL_COMPOSER_PREFS_CONTROL_ID) == 0) {
+ } else if (strcmp (component_id, EM_ACCOUNT_PREFS_CONTROL_ID) == 0
+ || strcmp (component_id, EM_MAILER_PREFS_CONTROL_ID) == 0
+ || strcmp (component_id, EM_COMPOSER_PREFS_CONTROL_ID) == 0) {
return mail_config_control_factory_cb (factory, component_id, CORBA_OBJECT_NIL);
} else if (strcmp(component_id, COMPOSER_ID) == 0) {
/* FIXME: how to remove need for callbacks, probably make the composer more tightly integrated with mail */