diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-12-30 15:07:29 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-12-30 15:07:29 +0000 |
| commit | 7c8c2b339b747763eede225a0ca554a405e5ac7b (patch) | |
| tree | 650d0706842e04353db797b8630deb15b38f9ee4 /lib/python/Tools | |
| parent | 5cb2d3d4e46a40693cee0173425f8bc2ade2f09b (diff) | |
| download | enigma2-7c8c2b339b747763eede225a0ca554a405e5ac7b.tar.gz enigma2-7c8c2b339b747763eede225a0ca554a405e5ac7b.zip | |
send evStart before tuneFailed Events..
fix evNoResources
fix some bluescreens caused by notification handling
Diffstat (limited to 'lib/python/Tools')
| -rw-r--r-- | lib/python/Tools/Notifications.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Tools/Notifications.py b/lib/python/Tools/Notifications.py index 26c2a607..0410a4e2 100644 --- a/lib/python/Tools/Notifications.py +++ b/lib/python/Tools/Notifications.py @@ -3,7 +3,6 @@ notifications = [ ] notificationAdded = [ ] - # notifications which are currently on screen (and might be closed by similiar notifications) current_notifications = [ ] @@ -37,9 +36,10 @@ def RemovePopup(id): print "(found in current notifications)" x[1].close() +from Screens.MessageBox import MessageBox + def AddPopup(text, type, timeout, id = None): if id is not None: RemovePopup(id) - from Screens.MessageBox import MessageBox print "AddPopup, id =", id AddNotificationWithID(id, MessageBox, text = text, type = type, timeout = timeout, close_on_any_key = True) |
