From 62b9f90a36d1a791f3c783264a6191a0ff7a1ae0 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Wed, 6 Oct 2004 02:18:53 +0000 Subject: [PATCH] * src/docgen/PdfDoc.py: fixed regsiter_book_doc call svn: r3598 --- gramps2/src/docgen/PdfDoc.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gramps2/src/docgen/PdfDoc.py b/gramps2/src/docgen/PdfDoc.py index 1ae9b74d5..3403f1f6d 100644 --- a/gramps2/src/docgen/PdfDoc.py +++ b/gramps2/src/docgen/PdfDoc.py @@ -34,7 +34,6 @@ from gettext import gettext as _ _H = 'Helvetica' _HB = 'Helvetica-Bold' -_HO = 'Helvetica-Oblique' _HBO = 'Helvetica-BoldOblique' _T = 'Times-Roman' _TB = 'Times-Bold' @@ -592,7 +591,7 @@ try: print_label=None Plugins.register_text_doc(mtype, PdfDoc, 1, 0, 1, ".pdf", print_label) Plugins.register_draw_doc(mtype, PdfDoc, 1, 1, ".pdf", print_label) - Plugins.register_book_doc(mtype,classref=PdfDoc,table=1,paper=1,style=1,ext=".pdf",print_label) + Plugins.register_book_doc(mtype,classref=PdfDoc,table=1,paper=1,style=1,ext=".pdf") except: Plugins.register_text_doc(_('PDF document'), PdfDoc, 1, 0, 1,".pdf", None) Plugins.register_draw_doc(_('PDF document'), PdfDoc, 1, 1, ".pdf", None)