src/Builder4/DialogPluginWebkit.bjs
authorAlan Knowles <alan@roojs.com>
Thu, 16 Apr 2015 08:41:22 +0000 (16:41 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 16 Apr 2015 08:41:22 +0000 (16:41 +0800)
src/Builder4/DialogPluginWebkit.vala

src/Builder4/DialogPluginWebkit.bjs
src/Builder4/DialogPluginWebkit.vala

index fb8863e..62eca88 100644 (file)
@@ -13,6 +13,7 @@
    "xtype" : "Dialog",
    "$ xns" : "Gtk",
    "gint default_width" : 500,
+   "gboolean modal" : true,
    "items" : [
     {
      "xtype" : "VBox",
index ff4f075..cf1b04e 100644 (file)
@@ -28,6 +28,7 @@ public class Xcls_DialogPluginWebkit : Object
         this.el.default_height = 500;
         this.el.default_width = 500;
         this.el.deletable = true;
+        this.el.modal = true;
         var child_0 = new Xcls_VBox2( _this );
         child_0.ref();
         this.el.get_content_area().add (  child_0.el  );