git.cweiske.de
/
enigma2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add subservice selection to timer (when linkage services are avail for the selected...
[enigma2.git]
/
lib
/
python
/
Tools
/
Notifications.py
1
2
notifications = [ ]
3
4
notificationAdded = [ ]
5
6
def AddNotification(screen, *args):
7
AddNotificationWithCallback(None, screen, *args)
8
9
def AddNotificationWithCallback(fnc, screen, *args):
10
notifications.append((fnc, screen) + args)
11
for x in notificationAdded:
12
x()
13