NewBranch.bjs
authorAlan Knowles <alan@roojs.com>
Thu, 21 Mar 2019 05:57:00 +0000 (13:57 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 21 Mar 2019 05:57:00 +0000 (13:57 +0800)
NewBranch.vala

NewBranch.bjs
NewBranch.vala

index 28405ae..5530b9e 100644 (file)
@@ -25,6 +25,9 @@
    "bool modal" : true,
    "items" : [
     {
+     "listeners" : {
+      "switch_page" : ""
+     },
      "* pack" : "get_content_area().add",
      "xtype" : "Notebook",
      "$ xns" : "Gtk",
index d9c9f4a..9ad41ca 100644 (file)
@@ -202,6 +202,9 @@ public class NewBranch : Object
             var child_5 = new Xcls_quick_commit_tab( _this );
             child_5.ref();
             this.el.append_page (  child_5.el , _this.label_quick_commit.el );
+
+            //listeners
+            this.el.switch_page.connect( );
         }
 
         // user defined functions