projects
/
vuplus_dvbapp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use translations in ServiceInfo
[vuplus_dvbapp]
/
lib
/
python
/
Screens
/
Screen.py
diff --git
a/lib/python/Screens/Screen.py
b/lib/python/Screens/Screen.py
index
78a88ad
..
989f90a
100644
(file)
--- a/
lib/python/Screens/Screen.py
+++ b/
lib/python/Screens/Screen.py
@@
-14,6
+14,7
@@
class Screen(dict, HTMLSkin, GUISkin):
GUISkin.__init__(self)
self.onClose = [ ]
GUISkin.__init__(self)
self.onClose = [ ]
+ self.onFirstExecBegin = [ ]
self.onExecBegin = [ ]
self.onShown = [ ]
self.onExecBegin = [ ]
self.onShown = [ ]
@@
-31,7
+32,10
@@
class Screen(dict, HTMLSkin, GUISkin):
def execBegin(self):
self.active_components = [ ]
def execBegin(self):
self.active_components = [ ]
- for x in self.onExecBegin:
+
+ single = self.onFirstExecBegin
+ self.onFirstExecBegin = []
+ for x in self.onExecBegin + single:
x()
if self.session.current_dialog != self:
return
x()
if self.session.current_dialog != self:
return