summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-06 04:38:14 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-06 04:38:14 (EDT)
commitdd7765bf2afb30abc9100ad21cfe2deed79fce48 (patch)
treeeca67dddba16c47a0fde859516a733c8966f8658 /src
parent3d8df928846c75f3717d65c1656da91b2c178f2d (diff)
downloadmarquee-dd7765bf2afb30abc9100ad21cfe2deed79fce48.zip
marquee-dd7765bf2afb30abc9100ad21cfe2deed79fce48.tar.gz
marquee-dd7765bf2afb30abc9100ad21cfe2deed79fce48.tar.bz2
mq_tab_body_new(): Use WebKitSettings from MqApplication
This is the final step of making (most) preferences effective.
Diffstat (limited to 'src')
-rw-r--r--src/tab-body.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tab-body.c b/src/tab-body.c
index 91fb490..1bdcebb 100644
--- a/src/tab-body.c
+++ b/src/tab-body.c
@@ -484,7 +484,9 @@ mq_tab_body_new(MqTab *tab, const gchar *uri)
body = malloc(sizeof(*body));
body->tab = tab;
- body->web_view = WEBKIT_WEB_VIEW(webkit_web_view_new());
+ body->web_view = WEBKIT_WEB_VIEW(webkit_web_view_new_with_settings(
+ mq_application_get_webkit_settings(
+ mq_tab_get_application(tab))));
if (uri && g_str_has_prefix(uri, "about:")) {
rw_uri = g_strconcat("mq-about:", uri + strlen("about:"), NULL);