code cleanup
[enigma2.git] / skin.py
diff --git a/skin.py b/skin.py
index a756db8ab1b384145e9a85f236641601b7884ac1..dc78c1980b952c8e83baa9ee2b0c53916eb12ace 100644 (file)
--- a/skin.py
+++ b/skin.py
@@ -66,11 +66,13 @@ def applySingleAttribute(guiObject, desktop, attrib, value):
                elif attrib == 'size':
                        guiObject.resize(parseSize(value))
                elif attrib == 'title':
-                       guiObject.setTitle(value)
+                       guiObject.setTitle(_(value))
                elif attrib == 'text':
                        guiObject.setText(value)
                elif attrib == 'font':
                        guiObject.setFont(parseFont(value))
+               elif attrib == 'zPosition':
+                       guiObject.setZPosition(int(value))
                elif attrib == "pixmap":
                        ptr = gPixmapPtr()
                        if loadPNG(ptr, value):