summaryrefslogtreecommitdiff
path: root/plugins/common/WebAuthenticationPane.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2020-12-09 09:11:33 +0100
committerJörg Frings-Fürst <debian@jff.email>2020-12-09 09:11:33 +0100
commitfa96deefd4bc785c2937e40df3eb0742e2353c13 (patch)
treea8f636c992a24fa4e4a840f7302c194425083f3a /plugins/common/WebAuthenticationPane.vala
parenta03d7d2e5151332bbe89e5bc36965956cfa7af35 (diff)
parent382128d06379d486d5373ca1e76983056a52b869 (diff)
Merge branch 'release/debian/0.30.11-1'debian/0.30.11-1
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;