initial hide conditional widgets
[enigma2.git] / lib / python / Components / GUISkin.py
index 9f65025deef3f1c236df5a0268a39337afb1b52f..39499c77ef16f9feac914f7a7f159fce889c990b 100644 (file)
@@ -1,7 +1,6 @@
 from GUIComponent import GUIComponent
 from skin import applyAllAttributes
 from Tools.CList import CList
-from Sources.Source import Source
 
 class GUISkin:
        __module__ = __name__
@@ -36,15 +35,9 @@ class GUISkin:
                                f()
 
        def deleteGUIScreen(self):
-               seenFakeSource = False
                for (name, val) in self.items():
-                       if name == "fake" and isinstance(val, Source):
-                               seenFakeSource = True
                        if isinstance(val, GUIComponent):
                                val.GUIdelete()
-               if seenFakeSource:
-                       print "DEL FAKE SOURCE"
-                       del self["fake"]
 
        def close(self):
                self.deleteGUIScreen()