From: Christian Dywan Date: Thu, 4 Aug 2011 20:54:14 +0000 (+0200) Subject: Disable Netscape plugin preference on Windows X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49d7ae1fad3acc3359b3575bf693ed3d7de46ca2;p=midori Disable Netscape plugin preference on Windows They are not supported by Windows builds of WebKitGTK+. --- 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,