set 'close on any key' for popups
authorFelix Domke <tmbinc@elitedvb.net>
Sat, 9 Dec 2006 14:32:35 +0000 (14:32 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Sat, 9 Dec 2006 14:32:35 +0000 (14:32 +0000)
lib/python/Tools/Notifications.py

index 85452e1..26c2a60 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)