summaryrefslogtreecommitdiff
path: root/src/html.c
diff options
context:
space:
mode:
authorportix <none@none>2013-03-02 22:15:50 +0100
committerportix <none@none>2013-03-02 22:15:50 +0100
commit220aaa71156bbe581b8a27d8c01def3b806b1305 (patch)
tree6e39d25f8fe760a3bf45f3135327ee918ab16011 /src/html.c
parent10f942333d27b8c14b653ad614ea2128c155adfb (diff)
downloaddwb-220aaa71156bbe581b8a27d8c01def3b806b1305.zip
Use m4 for generating keys and settings; move util to m4; move util/src to src/util; mv api to doc/api; adding bash-completion
--HG-- rename : api/Makefile => doc/api/Makefile rename : api/jsapi.7.txt => doc/api/jsapi.7.txt rename : api/jsapi.txt => doc/api/jsapi.txt rename : util/Makefile => m4/Makefile
Diffstat (limited to 'src/html.c')
-rw-r--r--src/html.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/html.c b/src/html.c
index 26acb2a8..b4519b98 100644
--- a/src/html.c
+++ b/src/html.c
@@ -290,7 +290,9 @@ html_settings_fill(char *key, WebSettings *s, WebKitWebView *wv)
//WebKitDOMDOMWindow *win = webkit_dom_document_get_default_view(doc);
WebKitDOMElement *e = webkit_dom_document_get_element_by_id(doc, key);
if (s->type == BOOLEAN)
+ {
webkit_dom_html_input_element_set_checked(WEBKIT_DOM_HTML_INPUT_ELEMENT(e), s->arg.b);
+ }
else if (WEBKIT_DOM_IS_HTML_INPUT_ELEMENT(e))
webkit_dom_html_input_element_set_value(WEBKIT_DOM_HTML_INPUT_ELEMENT(e), value ? value : "");
else if (WEBKIT_DOM_IS_HTML_SELECT_ELEMENT(e))