From c5de08e9579c4a38aa00b649333f16f38b538a6e Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Mon, 15 Mar 2004 23:00:36 +0000 Subject: [PATCH] * src/docgen/LPRDoc.py (do_print): Typos. svn: r3012 --- gramps2/ChangeLog | 3 +++ gramps2/src/docgen/LPRDoc.py | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 5d6b86267..77838a386 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2004-03-15 Alex Roitman + * src/docgen/LPRDoc.py (do_print): Typos. + 2004-03-12 Alex Roitman * src/docgen/LPRDoc.py: Add number of copies and page range selection options to a dialog. Remove all these "__" from var names. diff --git a/gramps2/src/docgen/LPRDoc.py b/gramps2/src/docgen/LPRDoc.py index ac8cda07e..18b12953e 100644 --- a/gramps2/src/docgen/LPRDoc.py +++ b/gramps2/src/docgen/LPRDoc.py @@ -1119,9 +1119,9 @@ class LPRDoc(BaseDoc.BaseDoc): #function to print text to a printer def do_print(self,dialog,job): - ggpc = gnomeprint.Context(dialog.get_config()) - job.render(ggpc) - gpc.close() + self.gpc = gnomeprint.Context(dialog.get_config()) + job.render(self.gpc) + self.gpc.close() #I believe this is a print preview def show_preview(self,dialog):