From: Felix Domke Date: Sat, 9 Dec 2006 14:32:35 +0000 (+0000) Subject: set 'close on any key' for popups X-Git-Tag: 2.6.0~2614 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/b6824cea2e7d16cff119966b040aa61b2d9b1505 set 'close on any key' for popups --- diff --git a/lib/python/Tools/Notifications.py b/lib/python/Tools/Notifications.py index 85452e11..26c2a607 100644 --- a/lib/python/Tools/Notifications.py +++ b/lib/python/Tools/Notifications.py @@ -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)