git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add a "Picture in Graphics" source.. its usable to show a small embedded tv
[enigma2.git]
/
lib
/
python
/
Components
/
GUISkin.py
diff --git
a/lib/python/Components/GUISkin.py
b/lib/python/Components/GUISkin.py
index 39499c77ef16f9feac914f7a7f159fce889c990b..0cf4d02753b7c436679851a64348091bb703ab0a 100644
(file)
--- a/
lib/python/Components/GUISkin.py
+++ b/
lib/python/Components/GUISkin.py
@@
-35,9
+35,14
@@
class GUISkin:
f()
def deleteGUIScreen(self):
f()
def deleteGUIScreen(self):
+ seenFakeSource = False
for (name, val) in self.items():
for (name, val) in self.items():
+ if name == "fake":
+ seenFakeSource = True
if isinstance(val, GUIComponent):
val.GUIdelete()
if isinstance(val, GUIComponent):
val.GUIdelete()
+ if seenFakeSource:
+ del self["fake"]
def close(self):
self.deleteGUIScreen()
def close(self):
self.deleteGUIScreen()