Updating branch refs/heads/jeromeg/webkit-thumbnailer
to cd054a39c1953fc3b785530d7fd229f8558213e9 (commit)
from 31bd1c5efc7538a845cd27f139875719e38987ff (commit)
commit cd054a39c1953fc3b785530d7fd229f8558213e9
Author: Jérôme Guelfucci <[email protected]>
Date: Sat Jun 4 11:42:47 2011 +0200
Improve WebView settings.
plugins/webkit-thumbnailer/webkit-thumbnailer.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/plugins/webkit-thumbnailer/webkit-thumbnailer.c
b/plugins/webkit-thumbnailer/webkit-thumbnailer.c
index e30559e..2a73a4e 100644
--- a/plugins/webkit-thumbnailer/webkit-thumbnailer.c
+++ b/plugins/webkit-thumbnailer/webkit-thumbnailer.c
@@ -141,11 +141,14 @@ webkit_thumbnailer_init (WebkitThumbnailer *thumbnailer)
/* disable plugins, javascript, java and html5 local features */
g_object_set (G_OBJECT(settings),
- "enable-scripts", FALSE,
- "enable-plugins", FALSE,
+ "auto-resize-window", FALSE,
"enable-html5-database", FALSE,
"enable-html5-local-storage", FALSE,
"enable-java-applet", FALSE,
+ "enable-plugins", FALSE,
+ "enable-private-browsing", TRUE,
+ "enable-scripts", FALSE,
+ "enable-universal-access-from-file-uris", FALSE,
NULL);
/* apply the result to the web view */
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits