diff -Nuar pyromaths.orig/pyromaths.py pyromaths/pyromaths.py --- pyromaths.orig/pyromaths.py 2009-05-11 16:36:12.000000000 +0200 +++ pyromaths/pyromaths.py 2009-05-13 13:55:50.000000000 +0200 @@ -43,7 +43,7 @@ ID_EXIT = 101 ID_ABOUT = 102 ID_SITE = 103 - +icondir="/usr/share/pixmaps/pyromaths-banniere.png" LesFiches = [(u'Sixi\xe8me', sixiemes.sixiemes, ( "u'Calcul mental'", "u'\xc9crire un nombre d\xe9cimal'", @@ -393,7 +393,7 @@ # Crée l'icone de l'application if os.name == "posix": if os.path.basename(__file__) == "pyromaths": - self.icon = wx.Icon("/usr/share/pixmaps/pyromaths.png", + self.icon = wx.Icon(icondir, wx.BITMAP_TYPE_PNG) else: pathname = os.path.dirname((sys.argv)[0])