except:
None
+from Tools.Directories import resolveFilename, SCOPE_SKIN
+
# read the skin
-try:
- # first we search in the current path
- skinfile = file('data/skin.xml', 'r')
-except:
- # if not found in the current path, we use the global datadir-path
- skinfile = file('/usr/share/enigma2/skin.xml', 'r')
+skinfile = file(resolveFilename(SCOPE_SKIN, 'skin.xml'), 'r')
dom = xml.dom.minidom.parseString(skinfile.read())
skinfile.close()
for windowstyle in elementsWithTag(skin.childNodes, "windowstyle"):
style = eWindowStyleSkinned()
- style.setTitleFont(gFont("Arial", 20));
+ style.setTitleFont(gFont("Regular", 20));
style.setTitleOffset(eSize(20, 5));
for borderset in elementsWithTag(windowstyle.childNodes, "borderset"):