diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-09-21 20:30:29 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-09-21 20:30:29 +0000 |
| commit | c154af7e843861ae9e826f4d46c08799cfef5ff4 (patch) | |
| tree | d274d5c056039d7127fa8a16540d06e083325f5b /lib | |
| parent | 79cab0403882bf14a34828b75f50a34d445851a6 (diff) | |
| download | enigma2-c154af7e843861ae9e826f4d46c08799cfef5ff4.tar.gz enigma2-c154af7e843861ae9e826f4d46c08799cfef5ff4.zip | |
small fixes for PIG
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/python/Components/GUISkin.py | 4 |
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): |
