summaryrefslogtreecommitdiff
path: root/plugins/common/WebAuthenticationPane.vala
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/common/WebAuthenticationPane.vala')
-rw-r--r--plugins/common/WebAuthenticationPane.vala4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/common/WebAuthenticationPane.vala b/plugins/common/WebAuthenticationPane.vala
index 669e339..02cffb2 100644
--- a/plugins/common/WebAuthenticationPane.vala
+++ b/plugins/common/WebAuthenticationPane.vala
@@ -30,6 +30,10 @@ namespace Shotwell.Plugins.Common {
public override void constructed () {
base.constructed ();
+ var ctx = WebKit.WebContext.get_default();
+ if (!ctx.get_sandbox_enabled()) {
+ ctx.set_sandbox_enabled(true);
+ }
var box = new Gtk.Box(Gtk.Orientation.VERTICAL, 4);
this.widget = box;