From 3f8f228ab0e3a6d8f1445630930ca28eabf1a142 Mon Sep 17 00:00:00 2001 From: Richard Taylor Date: Fri, 5 Jan 2007 16:36:44 +0000 Subject: [PATCH] minor tweeks to gtkprint svn: r7871 --- gramps2/src/docgen/GtkPrint.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/gramps2/src/docgen/GtkPrint.py b/gramps2/src/docgen/GtkPrint.py index 41a8e80ea..d13e9f51c 100644 --- a/gramps2/src/docgen/GtkPrint.py +++ b/gramps2/src/docgen/GtkPrint.py @@ -263,10 +263,7 @@ class PrintFacade(gtk.PrintOperation): def paginate(self, operation, context): return True - def preview(self, preview, preview_again, context, parent, dummy=None): - # It looks like there is a bug in the pygtk bindings that - # passes the preview_opertion in twice. - + def preview(self, operation, preview, context, parent, dummy=None): preview = PreviewWindow(self,preview,context,parent) return True @@ -277,7 +274,7 @@ class PrintFacade(gtk.PrintOperation): """This is the method that actually runs the Gtk Print operation.""" # We need to store the settings somewhere so that they are remembered - # each to the dialog is restarted. + # each time the dialog is restarted. if self._settings != None: self.set_print_settings(self._settings)