diff options
Diffstat (limited to 'src/tab-chrome.c')
-rw-r--r-- | src/tab-chrome.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tab-chrome.c b/src/tab-chrome.c index b92b17a..5eb913f 100644 --- a/src/tab-chrome.c +++ b/src/tab-chrome.c @@ -325,7 +325,8 @@ static void zoom_reset_clicked_cb(GtkButton __attribute__((unused)) *button, MqTabChrome *chrome) { - webkit_web_view_set_zoom_level(chrome->web_view, 1.0); + webkit_web_view_set_zoom_level(chrome->web_view, + mq_config_get_double(chrome->config, "zoom.default")); } static void @@ -542,6 +543,7 @@ mq_tab_chrome_new(MqTab *tab, const gchar *uri) MqTabChrome *chrome; chrome = malloc(sizeof(*chrome)); + chrome->config = mq_application_get_config(mq_tab_get_application(tab)); chrome->tab = tab; chrome->container = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); |