From 07c943cc0e9598d8d142011bd25e5232910646f4 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 --- ChangeLog | 3 +++ src/docgen/LPRDoc.py | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5d6b86267..77838a386 100644 --- a/ChangeLog +++ b/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/src/docgen/LPRDoc.py b/src/docgen/LPRDoc.py index ac8cda07e..18b12953e 100644 --- a/src/docgen/LPRDoc.py +++ b/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):