NewBranch.bjs
[gitlive] / NewBranch.vala
index 9ad41ca..6fb86f4 100644 (file)
@@ -204,7 +204,9 @@ public class NewBranch : Object
             this.el.append_page (  child_5.el , _this.label_quick_commit.el );
 
             //listeners
-            this.el.switch_page.connect( );
+            this.el.switch_page.connect( (page, page_num) => {
+               GLib.debug("Switch to page: %d", page_num);
+            });
         }
 
         // user defined functions