X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/b091da4dc002ef1b8c830dd7d307be349c414d7a..06eb60f4ae989bba30dd94c1f9fe9934a9237416:/skin.py diff --git a/skin.py b/skin.py index 9eb5d4f5..a7824f91 100644 --- a/skin.py +++ b/skin.py @@ -237,7 +237,7 @@ def loadSingleSkinData(desktop, skin, path_prefix): 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) @@ -256,6 +256,7 @@ def loadSingleSkinData(desktop, skin, path_prefix): #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