From ab302b46738904feddfe9392d6728df898a39f80 Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Thu, 29 Oct 2009 21:56:31 +0000 Subject: [PATCH] Use Utils to check for Windows instead of string compare svn: r13459 --- src/gui/grampsgui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/grampsgui.py b/src/gui/grampsgui.py index 1100e8802..7969cc4b5 100644 --- a/src/gui/grampsgui.py +++ b/src/gui/grampsgui.py @@ -30,7 +30,6 @@ import sys import os import const from gettext import gettext as _ -import platform import logging LOG = logging.getLogger(".grampsgui") @@ -61,6 +60,7 @@ import gobject #------------------------------------------------------------------------- from QuestionDialog import ErrorDialog import config +import Utils #------------------------------------------------------------------------- # @@ -75,7 +75,7 @@ def register_stock_icons (): """ #iconpath to the base image. The front of the list has highest priority - if platform.system() == "Windows": + if Utils.win(): iconpaths = [ (os.path.join(const.IMAGE_DIR, '48x48'), '.png'), (const.IMAGE_DIR, '.png'),