git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
translate config element properly
[enigma2.git]
/
lib
/
python
/
Screens
/
Screen.py
diff --git
a/lib/python/Screens/Screen.py
b/lib/python/Screens/Screen.py
index 6e5ac21de5fb65df6108eb80c915160d8d0857d1..13e31d671113c77bfb587c7dd018c19c469a1b55 100644
(file)
--- a/
lib/python/Screens/Screen.py
+++ b/
lib/python/Screens/Screen.py
@@
-13,6
+13,7
@@
class Screen(dict, HTMLSkin, GUISkin):
self.onClose = [ ]
self.onExecBegin = [ ]
self.onClose = [ ]
self.onExecBegin = [ ]
+ self.onShown = [ ]
# in order to support screens *without* a help,
# we need the list in every screen. how ironic.
# in order to support screens *without* a help,
# we need the list in every screen. how ironic.
@@
-25,6
+26,9
@@
class Screen(dict, HTMLSkin, GUISkin):
# self.session = session
for (name, val) in self.items():
val.execBegin()
# self.session = session
for (name, val) in self.items():
val.execBegin()
+
+ for x in self.onShown:
+ x()
def execEnd(self):
for (name, val) in self.items():
def execEnd(self):
for (name, val) in self.items():