<oaf_info>
-<oaf_server iid="OAFIID:GNOME_XPDF_ComponentFactory"
+<oaf_server iid="OAFIID:GNOME_PDF_Factory"
type="exe"
- location="bonobo-application-x-pdf">
+ location="gnome-pdf-viewer">
<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"/>
+ value="Gnome PDF viewer factory"/>
<oaf_attribute name="name" type="string"
value="PDF document viewer factory"/>
</oaf_server>
-<oaf_server iid="OAFIID:GNOME_XPDF_Embeddable"
+ <oaf_server iid="OAFIID:GNOME_PDF_Control"
+ type="factory"
+ location="OAFIID:GNOME_PDF_Factory">
+
+ <oaf_attribute name="repo_ids" type="stringv">
+ <item value="IDL:Bonobo/Control:1.0"/>
+ <item value="IDL:Bonobo/PersistStream:1.0"/>
+ <item value="IDL:Bonobo/Persist:1.0"/>
+ <item value="IDL:Bonobo/Unknown:1.0"/>
+ </oaf_attribute>
+
+ <oaf_attribute name="description" type="string" value="Gnome PDF Viewer"/>
+ <oaf_attribute name="name" type="string" value="Gnome PDF Viewer"/>
+ <oaf_attribute name="bonobo:editable" type="boolean" value="false"/>
+ <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_server iid="OAFIID:GNOME_PDF_Embeddable"
type="factory"
- location="OAFIID:GNOME_XPDF_ComponentFactory">
+ location="OAFIID:GNOME_PDF_Factory">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/Embeddable:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string"
- value="application/x-pdf bonobo object"/>
+ value="Embeddable Gnome PDF document"/>
<oaf_attribute name="name" type="string"
- value="PDF document viewer"/>
+ value="Embeddable PDF document"/>
<oaf_attribute name="bonobo:editable" type="boolean" value="true"/>
<oaf_attribute name="bonobo:supported_mime_types" type="stringv">
<item value="application/pdf"/>
</oaf_attribute>
- <oaf_attribute name="nautilus:view_as_name" type="string"
- value="PDF Document"/>
-
</oaf_server>
</oaf_info>
+++ /dev/null
-<oaf_info>
-
-<oaf_server iid="OAFIID:GNOME_XPDF_ComponentFactory"
- 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:GNOME_XPDF_Embeddable"
- type="factory"
- location="OAFIID:GNOME_XPDF_ComponentFactory">
-
- <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>
gui = xpdf
endif
-bin_PROGRAMS = $(gui) bonobo-application-x-pdf
+bin_PROGRAMS = $(gui) gnome-pdf-viewer
# pdftops pdftotext
# pdfinfo pdftopbm
# pdfimages
XRef.cc \
XRef.h
-bonobo_application_x_pdf_SOURCES = \
+gnome_pdf_viewer_SOURCES = \
$(common_sources) \
BonoboStream.h \
BonoboStream.cc \
GOutputDev.h \
bonobo-application-x-pdf.cc \
bonobo-application-x-pdf.h \
+ gpdf-control.cc \
+ gpdf-control.h \
gpdf-embeddable.cc \
gpdf-embeddable.h \
gpdf-embeddable-view.cc \
pdf-view.cc \
pdf-view.h
-bonobo_application_x_pdf_LDADD = \
+gnome_pdf_viewer_LDADD = \
../goo/libgoo.a \
$(GTK_LIBS) \
$(GNOME_LIBDIR) \
xpdf.ltk
oafdir = $(datadir)/oaf
-oaf_DATA = GNOME_XPDF.oafinfo
+oaf_DATA = GNOME_PDF.oafinfo
XML_FILES = \
gpdf-ui.xml \
EXTRA_DIST = $(stock_DATA) ChangeLog $(ltk) \
$(oaf_DATA) config.h $(XML_FILES)
-
-