summaryrefslogtreecommitdiff
path: root/plugins/common/WebAuthenticationPane.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2020-12-04 18:48:24 +0100
committerJörg Frings-Fürst <debian@jff.email>2020-12-04 18:48:24 +0100
commit11f4c6bc7fe2bb27181a9e4cd63c9124712aa749 (patch)
tree01539557ed2aa1b262232f85190f8ad3ce000e0e /plugins/common/WebAuthenticationPane.vala
parentbc5a1f54de14f594cea13662c34080b7623e0e2e (diff)
parent912b239812e80b9c4c8e65985d3749f8b7e2be64 (diff)
Merge branch 'feature/upstream' into develop
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;