[Xfce4-commits] <midori:master> Disable Netscape plugin preference on Windows
Christian Dywan
noreply at xfce.org
Thu Aug 4 22:56:01 CEST 2011
Updating branch refs/heads/master
to 49d7ae1fad3acc3359b3575bf693ed3d7de46ca2 (commit)
from 8175e36e7fa28bf5ddd4cef838356f0857f83a5c (commit)
commit 49d7ae1fad3acc3359b3575bf693ed3d7de46ca2
Author: Christian Dywan <christian at twotoasts.de>
Date: Thu Aug 4 22:54:14 2011 +0200
Disable Netscape plugin preference on Windows
They are not supported by Windows builds of WebKitGTK+.
midori/midori-websettings.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/midori/midori-websettings.c b/midori/midori-websettings.c
index b882f53..73d1aa0 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,
More information about the Xfce4-commits
mailing list