From c9e7e6e5e48bfc4213f926caf3a719075eab64d1 Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Mon, 8 Feb 2010 17:20:57 +0000 Subject: [PATCH] Make use of new module constfunc. svn: r14283 --- src/gui/widgets/labels.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/widgets/labels.py b/src/gui/widgets/labels.py index eacc6c80b..3d146d391 100644 --- a/src/gui/widgets/labels.py +++ b/src/gui/widgets/labels.py @@ -47,6 +47,7 @@ import pango # Gramps modules # #------------------------------------------------------------------------- +import constfunc #------------------------------------------------------------------------- # @@ -206,7 +207,7 @@ class GenderLabel(gtk.Label): def __init__(self, text): gtk.Label.__init__(self, text) self.set_alignment(0, 0.5) - if os.sys.platform == "win32": + if constfunc.win(): pangoFont = pango.FontDescription('Arial') self.modify_font(pangoFont) self.show()