diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2006-07-19 19:30:54 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2006-07-19 19:30:54 +0000 |
| commit | 3c91232d1ade05d5b7bd393ec41c1673c80b8f45 (patch) | |
| tree | 716d2f2b9075546b61e99f853f3820219dd54413 /lib/python/Screens/Screen.py | |
| parent | f3828b4fde4d61d9bb19eee7e92e2f566af6c391 (diff) | |
| download | enigma2-3c91232d1ade05d5b7bd393ec41c1673c80b8f45.tar.gz enigma2-3c91232d1ade05d5b7bd393ec41c1673c80b8f45.zip | |
take setup menu titles optionally from setup.xml, try to make them a bit easier to understand
Diffstat (limited to 'lib/python/Screens/Screen.py')
| -rw-r--r-- | lib/python/Screens/Screen.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/python/Screens/Screen.py b/lib/python/Screens/Screen.py index 5f1cf6d6..060270b1 100644 --- a/lib/python/Screens/Screen.py +++ b/lib/python/Screens/Screen.py @@ -1,5 +1,6 @@ from Components.HTMLSkin import * from Components.GUISkin import * +from Components.Sources.Source import Source import sys @@ -99,7 +100,7 @@ class Screen(dict, HTMLSkin, GUISkin): for x in self.onShow: x() for val in self.values() + self.renderer: - if isinstance(val, GUIComponent): + if isinstance(val, GUIComponent) or isinstance(val, Source): val.onShow() def hide(self): @@ -110,5 +111,5 @@ class Screen(dict, HTMLSkin, GUISkin): for x in self.onHide: x() for val in self.values() + self.renderer: - if isinstance(val, GUIComponent): + if isinstance(val, GUIComponent) or isinstance(val, Source): val.onHide() |
