+2000-12-21 Michael Meeks <michael@helixcode.com>
+
+ * bonobo-application-x-pdf.cc: Kill mutex / thread init code,
+ it screws gtk.
+
+ * gpdf.cc: update the IID naming scheme.
+
+ * bonobo-application-x-pdf.cc (init_bonobo_application_x_pdf_factory):
+ ditto. (init_server_factory): setup ORB properly.
+
+ * Makefile.am: De-goadize; update oafinfo fnames.
+
2000-11-16 Ramiro Estrugo <ramiro@eazel.com>
* bonobo-application-x-pdf.cc:
<oaf_info>
-<oaf_server iid="OAFIID:gpdf_component_factory:5d6d2e89-b73a-4898-b24a-79b896926f12"
+<oaf_server iid="OAFIID:GNOME_XPDF_ComponentFactory"
type="exe"
location="bonobo-application-x-pdf">
</oaf_server>
-<oaf_server iid="OAFIID:gpdf_component:892f2727-e2ec-423c-91ad-6f7b75fec6c8"
+<oaf_server iid="OAFIID:GNOME_XPDF_Embeddable"
type="factory"
- location="OAFIID:gpdf_component_factory:5d6d2e89-b73a-4898-b24a-79b896926f12">
+ location="OAFIID:GNOME_XPDF_ComponentFactory">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Embeddable:1.0"/>
<oaf_info>
-<oaf_server iid="OAFIID:gpdf_component_factory:5d6d2e89-b73a-4898-b24a-79b896926f12"
+<oaf_server iid="OAFIID:GNOME_XPDF_ComponentFactory"
type="exe"
location="bonobo-application-x-pdf">
</oaf_server>
-<oaf_server iid="OAFIID:gpdf_component:892f2727-e2ec-423c-91ad-6f7b75fec6c8"
+<oaf_server iid="OAFIID:GNOME_XPDF_Embeddable"
type="factory"
- location="OAFIID:gpdf_component_factory:5d6d2e89-b73a-4898-b24a-79b896926f12">
+ location="OAFIID:GNOME_XPDF_ComponentFactory">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Embeddable:1.0"/>
-if USING_OAF
-OBJECT_DIRECTORY_LIBS=$(OAF_LIBS) $(GNOMEUI_LIBS)
-else
-OBJECT_DIRECTORY_LIBS=$(GNOMEGNORBA_LIBS)
-endif
-
INCLUDES = \
-I$(top_srcdir)/goo \
-I$(top_srcdir)/ltk \
gui = xpdf
endif
-bin_PROGRAMS = pdftops pdftotext pdfinfo pdftopbm pdfimages $(gui) bonobo-application-x-pdf
+bin_PROGRAMS = \
+ pdftops pdftotext \
+ pdfinfo pdftopbm \
+ pdfimages $(gui) \
+ bonobo-application-x-pdf
common_sources = \
Array.cc \
gpdf_LDADD = \
$(GTK_LIBS) \
$(GNOME_LIBDIR) \
- $(OBJECT_DIRECTORY_LIBS) \
$(EXTRA_GNOME_LIBS) \
$(INTLLIBS)
../goo/libgoo.a \
$(GTK_LIBS) \
$(GNOME_LIBDIR) \
- $(OBJECT_DIRECTORY_LIBS) \
$(EXTRA_GNOME_LIBS) \
$(EXTRA_GLIB_LIBS) \
$(INTLLIBS)
xpdf-top.ltk \
xpdf.ltk
-goaddir = $(sysconfdir)/CORBA/servers
oafdir = $(datadir)/oaf
-
-if USING_OAF
-oaf_DATA = $(OAF_FILES)
-else
-goad_DATA = $(GOAD_FILES)
-endif
-
-GOAD_FILES = application-x-pdf.gnorba
-OAF_FILES = application-x-pdf.oafinfo
+oaf_DATA = GNOME_XPDF.oafinfo
XML_FILES = \
gpdf-ui.xml \
uidir = $(datadir)/gnome/ui
ui_DATA = $(XML_FILES)
-EXTRA_DIST = $(bitmaps) ChangeLog $(ltk) $(GOAD_FILES) \
- $(OAF_FILES) config.h $(XML_FILES)
+EXTRA_DIST = $(bitmaps) ChangeLog $(ltk) \
+ $(oaf_DATA) config.h $(XML_FILES)
+++ /dev/null
-[bonobo-object-factory:application-x-pdf]
-type=exe
-repo_id=IDL:Bonobo/EmbeddableFactory:1.0 IDL:Bonobo/GenericFactory:1.0
-description=application/x-pdf bonobo object factory
-location_info=bonobo-application-x-pdf
-
-[bonobo-object:application-x-pdf]
-type=factory
-repo_id=IDL:BonoboObject/application-x-pdf:1.0 IDL:Bonobo/Embeddable:1.0
-description=application/x-pdf bonobo object
-location_info=bonobo-object-factory:application-x-pdf
+++ /dev/null
-<oaf_info>
-
-<oaf_server iid="OAFIID:gpdf_component_factory:5d6d2e89-b73a-4898-b24a-79b896926f12"
- type="exe"
- location="bonobo-application-x-pdf">
-
- <oaf_attribute name="repo_ids" type="stringv">
- <item value="IDL:GNOME/GenericFactory:1.0"/>
- </oaf_attribute>
-
- <oaf_attribute name="description" type="string"
- value="application/x-pdf bonobo object factory"/>
- <oaf_attribute name="name" type="string"
- value="PDF document viewer factory"/>
-
-</oaf_server>
-
-<oaf_server iid="OAFIID:gpdf_component:892f2727-e2ec-423c-91ad-6f7b75fec6c8"
- type="factory"
- location="OAFIID:gpdf_component_factory:5d6d2e89-b73a-4898-b24a-79b896926f12">
-
- <oaf_attribute name="repo_ids" type="stringv">
- <item value="IDL:Bonobo/Embeddable:1.0"/>
- <item value="IDL:Bonobo/Unknown:1.0"/>
- <item value="IDL:Bonobo/PersistStream:1.0"/>
- <item value="IDL:Bonobo/Persist:1.0"/>
- </oaf_attribute>
-
- <oaf_attribute name="description" type="string"
- value="application/x-pdf bonobo object"/>
- <oaf_attribute name="name" type="string"
- value="PDF document viewer"/>
-
- <oaf_attribute name="bonobo:editable" type="boolean" value="true"/>
- <oaf_attribute name="bonobo:supported_mime_types" type="stringv">
- <item value="application/x-pdf"/>
- <item value="application/pdf"/>
- </oaf_attribute>
-
- <oaf_attribute name="nautilus:view_as_name" type="string"
- value="PDF Document"/>
-
-</oaf_server>
-
-</oaf_info>
g_return_val_if_fail (container->view_widget == NULL, FALSE);
comp = container_activate_component (
- container, "OAFIID:gpdf_component:892f2727-e2ec-423c-91ad-6f7b75fec6c8");
+ container, "OAFIID:GNOME_XPDF_Embeddable");
if (!comp || !(object = comp->server)) {
gnome_error_dialog (_("Could not launch bonobo object."));