src/Builder4/MainWindow.bjs
authorAlan Knowles <alan@roojs.com>
Fri, 15 May 2015 08:10:21 +0000 (16:10 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 15 May 2015 08:10:21 +0000 (16:10 +0800)
src/Builder4/MainWindow.vala

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

index b8c9702..bfd0c51 100644 (file)
          "ulong handler_id" : "-1",
          "* init" : "{\n     this.handler_id = Resources.singleton().updateProgress.connect((pos) => {\n        if (pos < 1) {\n            this.el.hide();\n            _this.mainpane.el.set_sensitive(true);\n            \n            return;\n        }\n         _this.mainpane.el.set_sensitive(false);\n           \n        this.el.show();\n        var cid = this.el.get_context_id(\"resources\");\n        this.el.remove_all(cid);\n        this.el.push(cid,\"Fetching Resource : %s/7\".printf(pos.to_string()));\n     });\n}\n",
          "xtype" : "ProgressBar",
-         "* pack" : "pack_end,false,true,0",
+         "* pack" : "pack_start,true,true,0",
          "$ xns" : "Gtk"
         }
        ]
index 1adef98..7b1e6e3 100644 (file)
@@ -2143,7 +2143,7 @@ public class Xcls_MainWindow : Object
             // set gobject values
             var child_0 = new Xcls_statusbar( _this );
             child_0.ref();
-            this.el.pack_end (  child_0.el , false,true,0 );
+            this.el.pack_start (  child_0.el , true,true,0 );
         }
 
         // user defined functions