[ScanSetup] Fix error on complete scan with T2 tuners.
[vuplus_dvbapp] / skin.py
diff --git a/skin.py b/skin.py
index b490f73..a0190f1 100755 (executable)
--- a/skin.py
+++ b/skin.py
@@ -140,6 +140,17 @@ def applySingleAttribute(guiObject, desktop, attrib, value, scale = ((1,1),(1,1)
                        guiObject.move(parsePosition(value, scale, desktop, guiObject.csize()))
                elif attrib == 'size':
                        guiObject.resize(parseSize(value, scale))
+               elif attrib == 'animationPaused':
+                       pass
+               elif attrib == 'animationMode':
+                       guiObject.setAnimationMode(
+                               { "disable": 0x00,
+                                       "off": 0x00,
+                                       "offshow": 0x10,
+                                       "offhide": 0x01,
+                                       "onshow": 0x01,
+                                       "onhide": 0x10,
+                               }[value])
                elif attrib == 'title':
                        guiObject.setTitle(_(value))
                elif attrib == 'text':
@@ -284,8 +295,8 @@ def loadSingleSkinData(desktop, skin, path_prefix):
                                else:
                                        bpp = 32
                                #print "Resolution:", xres,yres,bpp
-                               from enigma import gFBDC
-                               gFBDC.getInstance().setResolution(xres, yres)
+                               from enigma import gMainDC
+                               gMainDC.getInstance().setResolution(xres, yres)
                                desktop.resize(eSize(xres, yres))
                                if bpp != 32:
                                        # load palette (not yet implemented)