From 0dbb36049c5f14bbabc4596448dc148f108a2137 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Fri, 12 Jan 2007 01:56:51 +0000 Subject: get rid of unneede global keywords fix non working shutdown after timerevent when the box is in standby --- lib/python/Screens/InfoBarGenerics.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/python') diff --git a/lib/python/Screens/InfoBarGenerics.py b/lib/python/Screens/InfoBarGenerics.py index 08ccade1..31108c8a 100644 --- a/lib/python/Screens/InfoBarGenerics.py +++ b/lib/python/Screens/InfoBarGenerics.py @@ -1609,6 +1609,11 @@ class InfoBarNotifications: Notifications.notifications = Notifications.notifications[1:] cb = n[0] + + if n[3].has_key("onSessionOpenCallback"): + n[3]["onSessionOpenCallback"]() + del n[3]["onSessionOpenCallback"] + if cb is not None: dlg = self.session.openWithCallback(cb, n[1], *n[2], **n[3]) else: -- cgit v1.2.3