summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorportix <none@none>2012-12-19 18:32:40 +0100
committerportix <none@none>2012-12-19 18:32:40 +0100
commit992d7456cbc3b8e1c7fc1d29310b404ddcb378a4 (patch)
tree9099933dff7b445e630962a5654bf55514e5f50e /scripts
parent6e20ff1abc60aeca0eed71a60033f0ccef1f0997 (diff)
downloaddwb-992d7456cbc3b8e1c7fc1d29310b404ddcb378a4.zip
New commands reload_bookmarks, reload_quickmarks; new signal function connectWebView; new signal tabButtonPress
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/signals.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/lib/signals.js b/scripts/lib/signals.js
index 3de9e8f1..952f2dde 100644
--- a/scripts/lib/signals.js
+++ b/scripts/lib/signals.js
@@ -81,6 +81,15 @@
};
})()
},
+ "connectWebView" :
+ {
+ value : function(name, callback)
+ {
+ this.connect("createTab", function(wv) {
+ wv.connect(name, function() { callback.apply(null, arguments);});
+ });
+ }
+ },
"disconnect" :
{
value : _disconnectByProp.bind(this, "id")