From: Christian Dywan Date: Thu, 18 Nov 2010 19:52:53 +0000 (+0100) Subject: Enable or disable Java applet tag with plugins X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=211e5314fbd356803dc1f19e187edea7caaf7a0d;p=midori Enable or disable Java applet tag with plugins --- diff --git a/midori/midori-websettings.c b/midori/midori-websettings.c index 4aa20e72..068624cc 100644 --- a/midori/midori-websettings.c +++ b/midori/midori-websettings.c @@ -1438,8 +1438,12 @@ midori_web_settings_set_property (GObject* object, g_value_get_boolean (value), NULL); break; case PROP_ENABLE_PLUGINS: - g_object_set (web_settings, "WebKitWebSettings::enable-plugins", - g_value_get_boolean (value), NULL); + g_object_set (web_settings, + "WebKitWebSettings::enable-plugins", g_value_get_boolean (value), + #if WEBKIT_CHECK_VERSION (1, 1, 22) + "enable-java-applet", g_value_get_boolean (value), + #endif + NULL); break; case PROP_ENABLE_DEVELOPER_EXTRAS: g_object_set (web_settings, "WebKitWebSettings::enable-developer-extras",