<body>
<center><h1>cloudeebus</h1></center>
<br>
- <textarea cols="80" rows=24 id="script">
+ <textarea style="width:80%" rows="32" id="script">
var manifest = {
name: "cloudeebus",
key: "secret",
}
function gotNotifProxy(proxy) {
- proxy.Notify("Cloudeebus",0,"","Cloudeebus says:", "Hello, world !", [], {}, 0);
+ for (var ifproxy in proxy.interfaceProxies)
+ cloudeebus.log(ifproxy);
+ proxy.getInterface("org.freedesktop.Notifications").Notify("Cloudeebus",0,"","Cloudeebus says:", "Hello, world !", [], {}, 0);
}
function gotBusProxy(proxy) {
- proxy.ListNames(logCB, errorCB);
+ proxy.ListNames().then(logCB, errorCB);
}
function connectSuccess() {