Enable or disable Java applet tag with plugins
This commit is contained in:
parent
4d422777f7
commit
211e5314fb
1 changed files with 6 additions and 2 deletions
|
@ -1438,8 +1438,12 @@ midori_web_settings_set_property (GObject* object,
|
||||||
g_value_get_boolean (value), NULL);
|
g_value_get_boolean (value), NULL);
|
||||||
break;
|
break;
|
||||||
case PROP_ENABLE_PLUGINS:
|
case PROP_ENABLE_PLUGINS:
|
||||||
g_object_set (web_settings, "WebKitWebSettings::enable-plugins",
|
g_object_set (web_settings,
|
||||||
g_value_get_boolean (value), NULL);
|
"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;
|
break;
|
||||||
case PROP_ENABLE_DEVELOPER_EXTRAS:
|
case PROP_ENABLE_DEVELOPER_EXTRAS:
|
||||||
g_object_set (web_settings, "WebKitWebSettings::enable-developer-extras",
|
g_object_set (web_settings, "WebKitWebSettings::enable-developer-extras",
|
||||||
|
|
Loading…
Reference in a new issue