src/Builder4/MainWindow.bjs
authorAlan Knowles <alan@roojs.com>
Thu, 16 Jul 2015 08:37:06 +0000 (16:37 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 16 Jul 2015 08:37:06 +0000 (16:37 +0800)
src/Builder4/MainWindow.vala

src/Builder4/MainWindow.bjs
src/Builder4/MainWindow.vala

index 2d63a06..a36c133 100644 (file)
           "clicked" : "  ( ) => {\n   _this.windowstate.switchState(WindowState.State.FILES);\n      \n\n}"
          },
          "id" : "openbtn",
-         "* pack" : false,
+         "* pack" : "add",
          "xtype" : "Button",
          "width_request" : 50,
          "$ xns" : "Gtk",
          "id" : "openbackbtn",
          "utf8 tooltip_text" : "Back",
          "xtype" : "Button",
-         "* pack" : false,
+         "* pack" : "add",
          "width_request" : 50,
          "$ xns" : "Gtk",
          "height_request" : 50,
index 324e783..e72f506 100644 (file)
@@ -222,8 +222,10 @@ public class Xcls_MainWindow : Object
             this.el.add (  child_0.el  );
             var child_1 = new Xcls_openbtn( _this );
             child_1.ref();
+            this.el.add (  child_1.el  );
             var child_2 = new Xcls_openbackbtn( _this );
             child_2.ref();
+            this.el.add (  child_2.el  );
         }
 
         // user defined functions