Disable Netscape plugin preference on Windows

They are not supported by Windows builds of WebKitGTK+.
This commit is contained in:
Christian Dywan 2011-08-04 22:54:14 +02:00
parent 8175e36e7f
commit 49d7ae1fad

View file

@ -715,8 +715,13 @@ midori_web_settings_class_init (MidoriWebSettingsClass* class)
"enable-plugins", "enable-plugins",
_("Enable Netscape plugins"), _("Enable Netscape plugins"),
_("Enable embedded Netscape plugin objects"), _("Enable embedded Netscape plugin objects"),
#ifdef G_OS_WIN32
FALSE,
G_PARAM_READABLE));
#else
TRUE, TRUE,
flags)); flags));
#endif
/* Override properties to override defaults */ /* Override properties to override defaults */
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_ENABLE_DEVELOPER_EXTRAS, PROP_ENABLE_DEVELOPER_EXTRAS,