X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=NewBranch.vala;h=6347837fba42b0a3b132df01b21178e422bd3970;hb=9af50e3ff6a9804a5e4290384478f09ed11905a2;hp=2fd74e3552a84e2c02b7d79b043333f1ae846bc8;hpb=d14ef3ec7a7151454f751c0e9c9434efd9d81877;p=gitlive diff --git a/NewBranch.vala b/NewBranch.vala index 2fd74e35..6347837f 100644 --- a/NewBranch.vala +++ b/NewBranch.vala @@ -25,8 +25,8 @@ public class NewBranch : Object public Xcls_scrolled_window scrolled_window; public Xcls_view view; public Xcls_label_select_ticket label_select_ticket; - public Xcls_label_select_ticket label_select_ticket; - public Xcls_label_select_ticket label_select_ticket; + public Xcls_label_create_ticket label_create_ticket; + public Xcls_label_quick_commit label_quick_commit; // my vars (def) public GitRepo? repo; @@ -56,6 +56,9 @@ public class NewBranch : Object var child_1 = new Xcls_Notebook22( _this ); child_1.ref(); this.el.add ( child_1.el ); + var child_2 = new Xcls_Box26( _this ); + child_2.ref(); + this.el.composite_name ( child_2.el ); //listeners this.el.delete_event.connect( (self, event) => { @@ -984,9 +987,9 @@ public class NewBranch : Object this.el.vexpand = true; var child_0 = new Xcls_label_select_ticket( _this ); child_0.ref(); - var child_1 = new Xcls_label_select_ticket( _this ); + var child_1 = new Xcls_label_create_ticket( _this ); child_1.ref(); - var child_2 = new Xcls_label_select_ticket( _this ); + var child_2 = new Xcls_label_quick_commit( _this ); child_2.ref(); } @@ -1015,7 +1018,7 @@ public class NewBranch : Object // user defined functions } - public class Xcls_label_select_ticket : Object + public class Xcls_label_create_ticket : Object { public Gtk.Label el; private NewBranch _this; @@ -1024,11 +1027,11 @@ public class NewBranch : Object // my vars (def) // ctor - public Xcls_label_select_ticket(NewBranch _owner ) + public Xcls_label_create_ticket(NewBranch _owner ) { _this = _owner; - _this.label_select_ticket = this; - this.el = new Gtk.Label( "Select Existing Ticket to work on" ); + _this.label_create_ticket = this; + this.el = new Gtk.Label( "Create a new Ticket" ); // my vars (dec) @@ -1038,7 +1041,7 @@ public class NewBranch : Object // user defined functions } - public class Xcls_label_select_ticket : Object + public class Xcls_label_quick_commit : Object { public Gtk.Label el; private NewBranch _this; @@ -1047,11 +1050,11 @@ public class NewBranch : Object // my vars (def) // ctor - public Xcls_label_select_ticket(NewBranch _owner ) + public Xcls_label_quick_commit(NewBranch _owner ) { _this = _owner; - _this.label_select_ticket = this; - this.el = new Gtk.Label( "Select Existing Ticket to work on" ); + _this.label_quick_commit = this; + this.el = new Gtk.Label( "Quick Commit" ); // my vars (dec) @@ -1062,4 +1065,26 @@ public class NewBranch : Object } + public class Xcls_Box26 : Object + { + public Gtk.Box el; + private NewBranch _this; + + + // my vars (def) + + // ctor + public Xcls_Box26(NewBranch _owner ) + { + _this = _owner; + this.el = new Gtk.Box( null, 0 ); + + // my vars (dec) + + // set gobject values + } + + // user defined functions + } + }