summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorportix <none@none>2012-10-03 02:01:21 +0200
committerportix <none@none>2012-10-03 02:01:21 +0200
commitfd7edda88b7e13ec36d6fb7faa7f4a823696b767 (patch)
treef2025ccb2995e90da1e40ebc73edc96881936cb8 /api
parentce695d22ee822ad75f7d3c877c3bb8949a763cb1 (diff)
downloaddwb-fd7edda88b7e13ec36d6fb7faa7f4a823696b767.zip
Updated api documentation
Diffstat (limited to 'api')
-rw-r--r--api/dwb-js.76
-rw-r--r--api/jsapi.7.txt4
-rw-r--r--api/jsapi.txt4
3 files changed, 7 insertions, 7 deletions
diff --git a/api/dwb-js.7 b/api/dwb-js.7
index dd810e73..64452177 100644
--- a/api/dwb-js.7
+++ b/api/dwb-js.7
@@ -2,12 +2,12 @@
.\" Title: dwb-js
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.77.1 <http://docbook.sf.net/>
-.\" Date: 10/02/2012
+.\" Date: 10/03/2012
.\" Manual: \ \&
.\" Source: \ \&
.\" Language: English
.\"
-.TH "DWB\-JS" "7" "10/02/2012" "\ \&" "\ \&"
+.TH "DWB\-JS" "7" "10/03/2012" "\ \&" "\ \&"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -2155,7 +2155,7 @@ signals\&.connect("statusBarChange", function(webview, data));
.RE
.\}
.sp
-Emitted before the status bar is updated, return false if dwb should not update the statusbar\&.
+Emitted before the status bar is updated, if the callback returns true dwb will not update the statusbar so it is possible to set the statusbar from the script\&.
.PP
\fIwebview\fR
.RS 4
diff --git a/api/jsapi.7.txt b/api/jsapi.7.txt
index 227342c0..f559304f 100644
--- a/api/jsapi.7.txt
+++ b/api/jsapi.7.txt
@@ -982,8 +982,8 @@ _response_;; The network response
signals.connect("statusBarChange", function(webview, data));
----
-Emitted before the status bar is updated, return false if dwb should not update
-the statusbar.
+Emitted before the status bar is updated, if the callback returns true dwb will
+not update the statusbar so it is possible to set the statusbar from the script.
_webview_;; The focused webview
_data.ssl_;; SSL-State of the page, can either be 'trusted', 'untrusted' or 'none'
diff --git a/api/jsapi.txt b/api/jsapi.txt
index 442d6e33..31f2d1bf 100644
--- a/api/jsapi.txt
+++ b/api/jsapi.txt
@@ -1774,8 +1774,8 @@ _response_;; The network response
Boolean callback(webview, json)
----
-Emitted before the status bar is updated, return +false+ if dwb should not update
-the statusbar.
+Emitted before the status bar is updated, if the callback returns +true+ dwb will
+not update the statusbar so it is possible to set the statusbar from the script.
_webview_;; The focused webview
_data.ssl_;; SSL-State of the page, can either be 'trusted', 'untrusted' or 'none'