self.msg = message
def __str__(self):
- return "{%s}: %s" % (config.skin.primary_skin, self.msg)
+ return "{%s}: %s" % (config.skin.primary_skin.value, self.msg)
dom_skins = [ ]
value = resolveFilename(SCOPE_SKIN_IMAGE, value, path_prefix=skin_path_prefix)
if attrib not in ignore:
- skinAttributes.append((attrib, value))
+ skinAttributes.append((attrib, value.encode("utf-8")))
def loadPixmap(path, desktop):
cached = False
guiObject.setFont(parseFont(value, scale))
elif attrib == 'zPosition':
guiObject.setZPosition(int(value))
+ elif attrib == 'itemHeight':
+ guiObject.setItemHeight(int(value))
elif attrib in ("pixmap", "backgroundPixmap", "selectionPixmap"):
ptr = loadPixmap(value, desktop) # this should already have been filename-resolved.
if attrib == "pixmap":