set 'close on any key' for popups
[enigma2.git] / lib / python / Tools / Notifications.py
index 85452e11a3301d3b3b6a4cf3aac9e03180fa5c89..26c2a607f98aa85135784346599c025fc6bc997f 100644 (file)
@@ -42,4 +42,4 @@ def AddPopup(text, type, timeout, id = None):
                RemovePopup(id)
        from Screens.MessageBox import MessageBox
        print "AddPopup, id =", id
-       AddNotificationWithID(id, MessageBox, text = text, type = type, timeout = timeout)
+       AddNotificationWithID(id, MessageBox, text = text, type = type, timeout = timeout, close_on_any_key = True)