Make use of new module constfunc.

svn: r14283
This commit is contained in:
Peter Landgren 2010-02-08 17:20:57 +00:00
parent 99b95c547d
commit c9e7e6e5e4

View File

@ -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()