X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/3b5048babf7e8df97b8d0267543c7fa47ec7f21d..7b0d371a7bbfb9e8d624eec9ed97e9a835f75ca7:/lib/python/Components/GUISkin.py diff --git a/lib/python/Components/GUISkin.py b/lib/python/Components/GUISkin.py index b7cfb430..39499c77 100644 --- a/lib/python/Components/GUISkin.py +++ b/lib/python/Components/GUISkin.py @@ -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()