summaryrefslogtreecommitdiff
path: root/plugins/common/WebAuthenticationPane.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2020-12-04 18:47:49 +0100
committerJörg Frings-Fürst <debian@jff.email>2020-12-04 18:47:49 +0100
commit62419f2d51a3a9dda833aaeeb9e5bc7c4af547d6 (patch)
tree1bb32d37b9b733f071280a9ec6b0fcd7188a182f /plugins/common/WebAuthenticationPane.vala
parentc3b87b404d803e2eaa6bf179b2bb370c874ffa75 (diff)
New upstream version 0.30.11upstream/0.30.11
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;