From 49d7ae1fad3acc3359b3575bf693ed3d7de46ca2 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Thu, 4 Aug 2011 22:54:14 +0200 Subject: [PATCH] Disable Netscape plugin preference on Windows They are not supported by Windows builds of WebKitGTK+. --- midori/midori-websettings.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/midori/midori-websettings.c b/midori/midori-websettings.c index b882f53a..73d1aa04 100644 --- a/midori/midori-websettings.c +++ b/midori/midori-websettings.c @@ -715,8 +715,13 @@ midori_web_settings_class_init (MidoriWebSettingsClass* class) "enable-plugins", _("Enable Netscape plugins"), _("Enable embedded Netscape plugin objects"), + #ifdef G_OS_WIN32 + FALSE, + G_PARAM_READABLE)); + #else TRUE, flags)); + #endif /* Override properties to override defaults */ g_object_class_install_property (gobject_class, PROP_ENABLE_DEVELOPER_EXTRAS, -- 2.39.5