[evolution-rss] respect java/script webkit options



commit d4b475196d67727dadbe252260507a511c345160
Author: Lucian Langa <lucilanga gnome org>
Date:   Sun Jun 20 21:27:10 2010 +0300

    respect java/script webkit options

 src/rss.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/rss.c b/src/rss.c
index 4be00c6..480e3ae 100644
--- a/src/rss.c
+++ b/src/rss.c
@@ -1137,6 +1137,12 @@ webkit_set_preferences(void)
 	g_object_set (settings, "enable-plugins",
 		gconf_client_get_bool(rss_gconf, GCONF_KEY_EMBED_PLUGIN, NULL),
 		NULL);
+	g_object_set (settings, "enable-java-applet",
+		gconf_client_get_bool(rss_gconf, GCONF_KEY_HTML_JAVA, NULL),
+		NULL);
+	g_object_set (settings, "enable-scripts",
+		gconf_client_get_bool(rss_gconf, GCONF_KEY_HTML_JS, NULL),
+		NULL);
 #endif
 	webkit_web_view_set_full_content_zoom(
 		(WebKitWebView *)rf->mozembed, TRUE);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]