fix data type
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Fri, 25 Nov 2005 01:43:58 +0000 (01:43 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Fri, 25 Nov 2005 01:43:58 +0000 (01:43 +0000)
skin.py

diff --git a/skin.py b/skin.py
index cf22967f42bb8a2fbf588a05845727b9a630204e..dc78c1980b952c8e83baa9ee2b0c53916eb12ace 100644 (file)
--- a/skin.py
+++ b/skin.py
@@ -72,7 +72,7 @@ def applySingleAttribute(guiObject, desktop, attrib, value):
                elif attrib == 'font':
                        guiObject.setFont(parseFont(value))
                elif attrib == 'zPosition':
-                       guiObject.setZPosition(value)
+                       guiObject.setZPosition(int(value))
                elif attrib == "pixmap":
                        ptr = gPixmapPtr()
                        if loadPNG(ptr, value):