make use of new module constfunc.

svn: r14284
This commit is contained in:
Peter Landgren 2010-02-08 17:23:48 +00:00
parent c9e7e6e5e4
commit 39ba257b49

View File

@ -46,6 +46,7 @@ from gen.plug.docgen import PAPER_PORTRAIT
import libcairodoc
import Errors
from glade import Glade
#import constfunc
#------------------------------------------------------------------------
#
@ -581,7 +582,7 @@ class GtkPrint(libcairodoc.CairoDoc):
def on_preview(self, operation, preview, context, parent):
"""Implement custom print preview functionality.
"""
##if os.sys.platform == 'win32':
##if constfunc.win()':
##return False
self.preview = PrintPreview(operation, preview, context, parent)