aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-09-21 20:30:29 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-09-21 20:30:29 +0000
commitc154af7e843861ae9e826f4d46c08799cfef5ff4 (patch)
treed274d5c056039d7127fa8a16540d06e083325f5b /lib/python/Components
parent79cab0403882bf14a34828b75f50a34d445851a6 (diff)
downloadenigma2-c154af7e843861ae9e826f4d46c08799cfef5ff4.tar.gz
enigma2-c154af7e843861ae9e826f4d46c08799cfef5ff4.zip
small fixes for PIG
Diffstat (limited to 'lib/python/Components')
-rw-r--r--lib/python/Components/GUISkin.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/python/Components/GUISkin.py b/lib/python/Components/GUISkin.py
index 0cf4d027..9f65025d 100644
--- a/lib/python/Components/GUISkin.py
+++ b/lib/python/Components/GUISkin.py
@@ -1,6 +1,7 @@
from GUIComponent import GUIComponent
from skin import applyAllAttributes
from Tools.CList import CList
+from Sources.Source import Source
class GUISkin:
__module__ = __name__
@@ -37,11 +38,12 @@ class GUISkin:
def deleteGUIScreen(self):
seenFakeSource = False
for (name, val) in self.items():
- if name == "fake":
+ 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):