Uncommited changes synced
authorAlan Knowles <alan@roojs.com>
Mon, 17 Dec 2018 07:59:41 +0000 (15:59 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 17 Dec 2018 07:59:41 +0000 (15:59 +0800)
NewBranch.bjs
NewBranch.vala
RepoStatusPopover.bjs
RepoStatusPopover.vala

index 5bc0316..300f28d 100644 (file)
         },
         {
          "listeners" : {
-          "clicked" : "() => {\n\tTicket.singleton().show(_this.repo);\n\n}"
+          "clicked" : "() => {\n    _this.el.response(-1);\n\tTicket.singleton().show(_this.repo);\n\n}"
          },
          "bool expand" : false,
          "* pack" : "attach_defaults,4,5,1,2",
index c25a2db..e516aa5 100644 (file)
@@ -604,6 +604,7 @@ public class NewBranch : Object
 
             //listeners
             this.el.clicked.connect( () => {
+                _this.el.response(-1);
                Ticket.singleton().show(_this.repo);
             
             });
index 5952a64..8fb4899 100644 (file)
         },
         {
          "listeners" : {
-          "button_press_event" : "() => {\n   var oldq = new Gee.ArrayList<GitMonitorQueue>();  \n\t_this.el.hide();\n\tClones.singleton().el.hide();\n\tNewBranch.singleton().show(_this.repo, oldq);\n\n    return false;\n}"
+          "button_press_event" : "() => {\n   var oldq = new Gee.ArrayList<GitMonitorQueue>();  \n\n\tClones.singleton().el.response(-1);\n\tNewBranch.singleton().show(_this.repo, oldq);\n\n    return false;\n}"
          },
          "label" : "Create Branch",
          "* pack" : "add",
index d9e384e..e98c999 100644 (file)
@@ -466,8 +466,8 @@ public class RepoStatusPopover : Object
             //listeners
             this.el.button_press_event.connect( () => {
                var oldq = new Gee.ArrayList<GitMonitorQueue>();  
-               _this.el.hide();
-               Clones.singleton().el.hide();
+            
+               Clones.singleton().el.response(-1);
                NewBranch.singleton().show(_this.repo, oldq);
             
                 return false;