Make use of new module constfunc.

svn: r14281
This commit is contained in:
Peter Landgren 2010-02-08 17:17:46 +00:00
parent 932eeac2d7
commit ee18fd7c69

View File

@ -57,6 +57,7 @@ from _ReportDialog import ReportDialog
from _PaperMenu import PaperFrame
from gen.plug.menu import NumberOption, TextOption, EnumeratedListOption, \
BooleanOption
import constfunc
#-------------------------------------------------------------------------------
#
@ -88,7 +89,7 @@ _RATIO = [ { 'name' : _("Minimal size"), 'value': "compress" },
_NOTELOC = [ { 'name' : _("Top"), 'value' : "t" },
{ 'name' : _("Bottom"), 'value' : "b" }]
if os.sys.platform == "win32":
if constfunc.win():
_DOT_FOUND = Utils.search_for("dot.exe")
if Utils.search_for("gswin32c.exe") == 1: