- fixed lib/Makefile.am for "components" directory
[enigma2.git] / skin.py
diff --git a/skin.py b/skin.py
index 936dcc9..5684c58 100644 (file)
--- a/skin.py
+++ b/skin.py
@@ -94,7 +94,7 @@ def applyGUIskin(screen, parent, skin, name):
                
                # get corresponding gui object
                try:
-                       guiObject = screen.data[wname]["instance"]
+                       guiObject = screen[wname].instance
                except:
                        raise str("component with name '" + wname + "' was not found in skin of screen '" + name + "'!")