git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
many changes for better CI handling
[enigma2.git]
/
lib
/
python
/
Tools
/
Notifications.py
diff --git
a/lib/python/Tools/Notifications.py
b/lib/python/Tools/Notifications.py
index b547639beb20f7910ff3ea0a0bfc96b71a3a3b64..3cb107cc4dc58575bac5cab5d1bc8bb4ed6339d1 100644
(file)
--- a/
lib/python/Tools/Notifications.py
+++ b/
lib/python/Tools/Notifications.py
@@
-3,11
+3,10
@@
notifications = [ ]
notificationAdded = [ ]
notificationAdded = [ ]
-def AddNotification(screen, *args):
- AddNotificationWithCallback(None, screen, *args)
+def AddNotification(screen, *args
, **kwargs
):
+ AddNotificationWithCallback(None, screen, *args
, **kwargs
)
-def AddNotificationWithCallback(fnc, screen, *args):
- notifications.append((fnc, screen
) + args
)
+def AddNotificationWithCallback(fnc, screen, *args
, **kwargs
):
+ notifications.append((fnc, screen
, args, kwargs)
)
for x in notificationAdded:
x()
for x in notificationAdded:
x()
-