aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens/Screen.py
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2005-11-18 16:08:53 +0000
committerFelix Domke <tmbinc@elitedvb.net>2005-11-18 16:08:53 +0000
commitb44c3ff96ad305e2d5c0eb87ce3aa4a9abe3cb77 (patch)
treede3294e8aa5e2a810f2cef9fda7220fb7e33c3f1 /lib/python/Screens/Screen.py
parent8ee7d300073658cd0bd64d2ce5165a5a742e2b80 (diff)
downloadenigma2-b44c3ff96ad305e2d5c0eb87ce3aa4a9abe3cb77.tar.gz
enigma2-b44c3ff96ad305e2d5c0eb87ce3aa4a9abe3cb77.zip
hide Timer: delete onClose
Diffstat (limited to 'lib/python/Screens/Screen.py')
-rw-r--r--lib/python/Screens/Screen.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/python/Screens/Screen.py b/lib/python/Screens/Screen.py
index e9f9affd..b1e5a51e 100644
--- a/lib/python/Screens/Screen.py
+++ b/lib/python/Screens/Screen.py
@@ -11,6 +11,8 @@ class Screen(dict, HTMLSkin, GUISkin):
self.session = session
GUISkin.__init__(self)
+ self.onClose = [ ]
+
# in order to support screens *without* a help,
# we need the list in every screen. how ironic.
self.helpList = [ ]
@@ -29,6 +31,9 @@ class Screen(dict, HTMLSkin, GUISkin):
# never call this directly - it will be called from the session!
def doClose(self):
+ for x in self.onClose:
+ x()
+
# fixup circular references
del self.helpList
GUISkin.close(self)