remove unneeded code
[enigma2.git] / lib / python / Components / GUISkin.py
index b7cfb430bf7eff2d8f14321beb23a54b84c66ca4..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,14 +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:
-                       del self["fake"]
 
        def close(self):
                self.deleteGUIScreen()