[monkey-bubble: 365/753] New files.
- From: Sven Herzberg <herzi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [monkey-bubble: 365/753] New files.
- Date: Wed, 14 Jul 2010 22:26:20 +0000 (UTC)
commit 795bc488b1cb0cbec159d06a1facce59000e516e
Author: Martin Baulig <baulig suse de>
Date: Sun Jun 3 14:49:26 2001 +0000
New files.
2001-06-03 Martin Baulig <baulig suse de>
* gnome-entry-component.[ch]: New files.
* selector-components.xmldb: New file.
components/ChangeLog | 6 ++++++
components/GNOME_UI_Components.oaf.in | 9 +++++++++
components/Makefile.am | 6 ++++++
components/libgnomeui-components.c | 7 +++++++
4 files changed, 28 insertions(+), 0 deletions(-)
---
diff --git a/components/ChangeLog b/components/ChangeLog
index 95000bc..91400fb 100644
--- a/components/ChangeLog
+++ b/components/ChangeLog
@@ -1,3 +1,9 @@
+2001-06-03 Martin Baulig <baulig suse de>
+
+ * gnome-entry-component.[ch]: New files.
+
+ * selector-components.xmldb: New file.
+
2001-06-01 Martin Baulig <baulig suse de>
* gnome-image-entry-component.c, gnome-icon-selector-component.c:
diff --git a/components/GNOME_UI_Components.oaf.in b/components/GNOME_UI_Components.oaf.in
index fa5b58d..99670cc 100644
--- a/components/GNOME_UI_Components.oaf.in
+++ b/components/GNOME_UI_Components.oaf.in
@@ -8,6 +8,15 @@
<oaf_attribute name="name" type="string" value="GNOME UI Components Factory"/>
</oaf_server>
+<oaf_server iid="OAFIID:GNOME_UI_Component_Entry" type="factory" location="OAFIID:GNOME_UI_Components_Factory">
+ <oaf_attribute name="repo_ids" type="stringv">
+ <item value="IDL:GNOME/SelectorFactory:1.0"/>
+ <item value="IDL:Bonobo/ItemContainer:1.0"/>
+ <item value="IDL:Bonobo/Unknown:1.0"/>
+ </oaf_attribute>
+ <oaf_attribute name="name" type="string" value="GNOME Entry"/>
+</oaf_server>
+
<oaf_server iid="OAFIID:GNOME_UI_Component_IconSelector" type="factory" location="OAFIID:GNOME_UI_Components_Factory">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/SelectorFactory:1.0"/>
diff --git a/components/Makefile.am b/components/Makefile.am
index 31defe3..0a011b0 100644
--- a/components/Makefile.am
+++ b/components/Makefile.am
@@ -19,6 +19,7 @@ INCLUDES = \
-DGNOMEUIBINDIR=\""$(bindir)"\" \
-DGNOMEUILOCALSTATEDIR=\""$(localstatedir)"\" \
-DGNOMEUILOCALEDIR=\""$(gnomelocaledir)"\" \
+ -DGNOMEUIXMLDBFILE=\""$(componentdir)/selector-components.xmldb"\" \
-DG_LOG_DOMAIN=\"GnomeUI-Components\" \
$(WARN_CFLAGS) \
$(LIBGNOME_CFLAGS) \
@@ -37,6 +38,9 @@ GNOME_UI_Components.oaf : $(srcdir)/GNOME_UI_Components.oaf.in $(top_builddir)/c
sed -e "s|\ COMPONENTS_LIBDIR\@|$(componentdir)|" \
$(srcdir)/GNOME_UI_Components.oaf.in > GNOME_UI_Components.oaf
+component_DATA = \
+ selector-components.xmldb
+
clean-local:
-rm -f $(OAF_FILES)
@@ -45,6 +49,8 @@ libgnomeui_components_2_la_SOURCES = \
gnome-icon-selector-component.h \
gnome-image-entry-component.c \
gnome-image-entry-component.h \
+ gnome-entry-component.c \
+ gnome-entry-component.h \
libgnomeui-components.c
libgnomeui_components_2_la_LDFLAGS = \
diff --git a/components/libgnomeui-components.c b/components/libgnomeui-components.c
index 197939a..fc58864 100644
--- a/components/libgnomeui-components.c
+++ b/components/libgnomeui-components.c
@@ -35,6 +35,7 @@
#include <libgnome/gnome-selector-factory.h>
#include "gnome-icon-selector-component.h"
#include "gnome-image-entry-component.h"
+#include "gnome-entry-component.h"
static Bonobo_Unknown
image_entry_get_object_fn (BonoboItemHandler *h, const char *item_name,
@@ -113,6 +114,12 @@ libgnomeui_components_factory (BonoboGenericFactory *this,
item_handler = bonobo_item_handler_new (NULL, image_entry_get_object_fn, NULL);
return BONOBO_OBJECT (item_handler);
+ } else if (!strcmp (object_id, "OAFIID:GNOME_UI_Component_Entry")) {
+ GnomeSelectorFactory *factory;
+
+ factory = gnome_selector_factory_new (gnome_entry_component_get_type ());
+
+ return BONOBO_OBJECT (factory);
} else
g_warning ("Failing to manufacture a '%s'", object_id);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]