]> spindle.queued.net Git - midori/commitdiff
Disable Netscape plugin preference on Windows
authorChristian Dywan <christian@twotoasts.de>
Thu, 4 Aug 2011 20:54:14 +0000 (22:54 +0200)
committerChristian Dywan <christian@twotoasts.de>
Thu, 4 Aug 2011 20:54:14 +0000 (22:54 +0200)
They are not supported by Windows builds of WebKitGTK+.

midori/midori-websettings.c

index b882f53a23635e5408334ea5f4e70bf5316d3a81..73d1aa04a456c8d0afdcd15ac926affe0fbd4e33 100644 (file)
@@ -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,