-from Tools.Profile import profile, profile_final
+from Tools.Profile import profile
profile("LOAD:ElementTree")
import xml.etree.cElementTree
from os import path
from Tools.Import import my_import
from Tools.LoadPixmap import LoadPixmap
-from Tools.XMLTools import elementsWithTag, mergeText
+from Tools.XMLTools import mergeText
colorNames = dict()
id = 0
if id == 0: # framebuffer
for res in c.findall("resolution"):
- get_attr = c.attrib.get
+ get_attr = res.attrib.get
xres = get_attr("xres")
if xres:
xres = int(xres)
#print "Resolution:", xres,yres,bpp
from enigma import gFBDC
gFBDC.getInstance().setResolution(xres, yres)
+ desktop.resize(eSize(xres, yres))
if bpp != 32:
# load palette (not yet implemented)
pass