summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tab-body.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tab-body.c b/src/tab-body.c
index 85f7e45..229e303 100644
--- a/src/tab-body.c
+++ b/src/tab-body.c
@@ -512,6 +512,10 @@ mq_tab_body_new(MqTab *tab, const gchar *uri)
}
}
+ webkit_web_view_set_zoom_level(body->web_view, mq_config_get_double(
+ mq_application_get_config(mq_tab_get_application(tab)),
+ "zoom.default"));
+
body->container = GTK_WIDGET(body->web_view);
gtk_widget_set_vexpand(body->container, TRUE);
/* FIXME: This doesn't seem to be working. */