From: Martin Kretzschmar Date: Wed, 2 Oct 2002 21:21:11 +0000 (+0000) Subject: factory file name is gnome-pdf-viewer, X-Git-Tag: GPDF_FOR_GNOME_1_4~1 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=28efc982987afde802230593bb6ae54c7ab8b87f;p=evince.git factory file name is gnome-pdf-viewer, * xpdf/Makefile.am: factory file name is gnome-pdf-viewer, s/GNOME_XPDF.oafinfo/GNOME_PDF.oafinfo/ * xpdf/GNOME_PDF.oafinfo: s/XPDF/PDF/g, the factory file name is now gnome-pdf-viewer, add oaf_server entry for the control * xpdf/bonobo-application-x-pdf.cc (gpdf_factory): multi factory function, replaces embeddable_factory, creates controls, too * xpdf/gpdf-control.cc, xpdf/gpdf-control.h: new files, first code for PDF viewer bonobo control. * shell/gpdf.c: handle priv field in GPdfWindow, add code for using a control instead of an embeddable (use it when USE_CONTROL != 0) * shell/gpdf-window.h (GPdfWindow): add priv field, kill app field (struct _Component) is private, moved back to gpdf.c * configure.in: PACKAGE and VERSION are set by AM_INIT_AUTOMAKE, kill explicit assignments * xpdf/GNOME_XPDF.oafinfo: remove --- diff --git a/pdf/xpdf/GNOME_PDF.oafinfo b/pdf/xpdf/GNOME_PDF.oafinfo index 0918a158..59f1025c 100644 --- a/pdf/xpdf/GNOME_PDF.oafinfo +++ b/pdf/xpdf/GNOME_PDF.oafinfo @@ -1,23 +1,47 @@ - + location="gnome-pdf-viewer"> + value="Gnome PDF viewer factory"/> - + + + + + + + + + + + + + + + + + + + + + + location="OAFIID:GNOME_PDF_Factory"> @@ -27,9 +51,9 @@ + value="Embeddable Gnome PDF document"/> + value="Embeddable PDF document"/> @@ -37,9 +61,6 @@ - - diff --git a/pdf/xpdf/GNOME_XPDF.oafinfo b/pdf/xpdf/GNOME_XPDF.oafinfo deleted file mode 100644 index 0918a158..00000000 --- a/pdf/xpdf/GNOME_XPDF.oafinfo +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/pdf/xpdf/Makefile.am b/pdf/xpdf/Makefile.am index 549810ef..5965b870 100644 --- a/pdf/xpdf/Makefile.am +++ b/pdf/xpdf/Makefile.am @@ -14,7 +14,7 @@ else gui = xpdf endif -bin_PROGRAMS = $(gui) bonobo-application-x-pdf +bin_PROGRAMS = $(gui) gnome-pdf-viewer # pdftops pdftotext # pdfinfo pdftopbm # pdfimages @@ -99,7 +99,7 @@ common_sources = \ XRef.cc \ XRef.h -bonobo_application_x_pdf_SOURCES = \ +gnome_pdf_viewer_SOURCES = \ $(common_sources) \ BonoboStream.h \ BonoboStream.cc \ @@ -107,6 +107,8 @@ bonobo_application_x_pdf_SOURCES = \ 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 \ @@ -119,7 +121,7 @@ bonobo_application_x_pdf_SOURCES = \ pdf-view.cc \ pdf-view.h -bonobo_application_x_pdf_LDADD = \ +gnome_pdf_viewer_LDADD = \ ../goo/libgoo.a \ $(GTK_LIBS) \ $(GNOME_LIBDIR) \ @@ -203,7 +205,7 @@ ltk = \ xpdf.ltk oafdir = $(datadir)/oaf -oaf_DATA = GNOME_XPDF.oafinfo +oaf_DATA = GNOME_PDF.oafinfo XML_FILES = \ gpdf-ui.xml \ @@ -214,5 +216,3 @@ ui_DATA = $(XML_FILES) EXTRA_DIST = $(stock_DATA) ChangeLog $(ltk) \ $(oaf_DATA) config.h $(XML_FILES) - -