src/Builder4/DialogPluginWebkit.bjs
authorAlan Knowles <alan@roojs.com>
Mon, 18 May 2015 09:03:21 +0000 (17:03 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 18 May 2015 09:03:21 +0000 (17:03 +0800)
src/Builder4/DialogPluginWebkit.vala

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

index 88759fd..6e9549a 100644 (file)
@@ -29,6 +29,7 @@
      "$ pack" : "get_content_area().add",
      "gboolean homogeneous" : false,
      "$ xns" : "Gtk",
+     "Gtk.Orientation orientation" : "Gtk.Orientation.VERTICAL",
      "items" : [
       {
        "* init" : "  this.el.set_policy(Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC);\n \n",
index 8913a25..fd72619 100644 (file)
@@ -197,7 +197,7 @@ public class Xcls_DialogPluginWebkit : Object
         public Xcls_Box2(Xcls_DialogPluginWebkit _owner )
         {
             _this = _owner;
-            this.el = new Gtk.Box( null, 0 );
+            this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
 
             // my vars (dec)