Alert (set urgency hint) on new messages

This commit is contained in:
miruka
2019-08-16 14:27:25 -04:00
parent da4bb55f43
commit 1061498160
3 changed files with 44 additions and 1 deletions

View File

@@ -6,6 +6,11 @@ function onExitRequested(exitCode) {
}
function onAlertRequested(msec) {
window.alert(msec)
}
function onCoroutineDone(uuid, result) {
py.pendingCoroutines[uuid](result)
delete pendingCoroutines[uuid]