Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
1 files changed, 3 insertions, 0 deletions
-rw-r--r--badwolf.c3
diff --git a/badwolf.c b/badwolf.c
index 5ea0e5b..2919780 100644
--- a/badwolf.c
+++ b/badwolf.c
@@ -706,6 +706,9 @@ new_browser(struct Window *window, gchar *target_url, WebKitWebView *related_web
WebKitSettings *settings = webkit_settings_new_with_settings(BADWOLF_WEBKIT_SETTINGS);
+ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(browser->javascript),
+ webkit_settings_get_enable_javascript(settings));
+
browser->webView = WEBKIT_WEB_VIEW(g_object_new(WEBKIT_TYPE_WEB_VIEW,
"web-context",
web_context,