NewBranch.bjs
[gitlive] / NewBranch.vala
index dbb68ee..de313c1 100644 (file)
@@ -476,6 +476,7 @@ public class NewBranch : Object
                
                        var dt = new  DateTime.now_local();
                        _this.name.el.set_text("wip_%s_%s".printf(name,dt.format("%Y_%b_%d")));
+                       _this.view.loadTicket("");              
                        return;
                }
                
@@ -892,6 +893,12 @@ public class NewBranch : Object
             // my vars (dec)
 
             // set gobject values
+
+            //listeners
+            this.el.authenticate.connect( (auth) => {
+            
+            
+            });
         }
 
         // user defined functions
@@ -901,12 +908,12 @@ public class NewBranch : Object
                
                if (tid == "") {
                        _this.scrolled_window.el.hide();
-                       _this.el.resize(w, 300);
+                       _this.el.resize(w, 150);
                } else {
                        _this.scrolled_window.el.show();
                        _this.el.resize(w, 800);
                }
-                this.el.load_uri("http://www.google.com");
+                this.el.load_uri("https://roojs.com/admin.php/MTrack/View/" + tid);
         }
     }