aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/component-factory.c
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2003-01-10 03:17:01 +0800
committerChris Toshok <toshok@src.gnome.org>2003-01-10 03:17:01 +0800
commit52bf62c8226956d81e0d58133de32139800acbb5 (patch)
tree5919cb13931776b036d04d95e4ed04b8ee05972b /addressbook/gui/component/component-factory.c
parentfef77b9924ba63a06e57b596c00dd7b92be276f5 (diff)
downloadgsoc2013-evolution-52bf62c8226956d81e0d58133de32139800acbb5.tar
gsoc2013-evolution-52bf62c8226956d81e0d58133de32139800acbb5.tar.gz
gsoc2013-evolution-52bf62c8226956d81e0d58133de32139800acbb5.tar.bz2
gsoc2013-evolution-52bf62c8226956d81e0d58133de32139800acbb5.tar.lz
gsoc2013-evolution-52bf62c8226956d81e0d58133de32139800acbb5.tar.xz
gsoc2013-evolution-52bf62c8226956d81e0d58133de32139800acbb5.tar.zst
gsoc2013-evolution-52bf62c8226956d81e0d58133de32139800acbb5.zip
comment out the factory oaf_server, and change the location of the
2003-01-09 Chris Toshok <toshok@ximian.com> * gui/component/select-names/GNOME_Evolution_Addressbook_SelectNames.server.in.in: comment out the factory oaf_server, and change the location of the SelectNames controls to be OAFIID:GNOME_Evolution_Addressbook_Factory so the normal addressbook.so will create them. * gui/component/select-names/Makefile.am (libeselectnames_la_SOURCES): remove the e-select-names-factory.[ch] stuff for the time being. * gui/component/component-factory.c (factory): we're now (for the time being) the factory for the select names control. svn path=/trunk/; revision=19369
Diffstat (limited to 'addressbook/gui/component/component-factory.c')
-rw-r--r--addressbook/gui/component/component-factory.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/addressbook/gui/component/component-factory.c b/addressbook/gui/component/component-factory.c
index eed681c844..b1b911566e 100644
--- a/addressbook/gui/component/component-factory.c
+++ b/addressbook/gui/component/component-factory.c
@@ -28,6 +28,7 @@
#include "e-address-popup.h"
#include "e-address-widget.h"
#include "e-minicard-control.h"
+#include "select-names/e-select-names-bonobo.h"
#include <bonobo/bonobo-shlib-factory.h>
@@ -39,6 +40,7 @@
#define SHELL_COMPONENT_ID "OAFIID:GNOME_Evolution_Addressbook_ShellComponent"
#define ADDRESS_WIDGET_ID "OAFIID:GNOME_Evolution_Addressbook_AddressWidget"
#define ADDRESS_POPUP_ID "OAFIID:GNOME_Evolution_Addressbook_AddressPopup"
+#define SELECT_NAMES_ID "OAFIID:GNOME_Evolution_Addressbook_SelectNames"
#define LDAP_STORAGE_CONFIG_CONTROL_ID "OAFIID:GNOME_Evolution_LDAPStorage_ConfigControl"
@@ -59,6 +61,8 @@ factory (BonoboGenericFactory *factory,
return BONOBO_OBJECT (e_address_popup_new_control ());
if (strcmp (component_id, LDAP_STORAGE_CONFIG_CONTROL_ID) == 0)
return BONOBO_OBJECT (addressbook_config_control_new ());
+ if (strcmp (component_id, SELECT_NAMES_ID) == 0)
+ return BONOBO_OBJECT (e_select_names_bonobo_new ());
g_warning (FACTORY_ID ": Don't know what to do with %s", component_id);
return NULL;