diff options
-rw-r--r-- | src/tab-body.c | 4 |
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); |