From: Alan Knowles Date: Mon, 17 Dec 2018 07:59:41 +0000 (+0800) Subject: Uncommited changes synced X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=9ec8514427f17cb69fc05eedb0c14185595516bd Uncommited changes synced --- diff --git a/NewBranch.bjs b/NewBranch.bjs index 5bc0316a..300f28d0 100644 --- a/NewBranch.bjs +++ b/NewBranch.bjs @@ -122,7 +122,7 @@ }, { "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", diff --git a/NewBranch.vala b/NewBranch.vala index c25a2dbe..e516aa59 100644 --- a/NewBranch.vala +++ b/NewBranch.vala @@ -604,6 +604,7 @@ public class NewBranch : Object //listeners this.el.clicked.connect( () => { + _this.el.response(-1); Ticket.singleton().show(_this.repo); }); diff --git a/RepoStatusPopover.bjs b/RepoStatusPopover.bjs index 5952a648..8fb48991 100644 --- a/RepoStatusPopover.bjs +++ b/RepoStatusPopover.bjs @@ -121,7 +121,7 @@ }, { "listeners" : { - "button_press_event" : "() => {\n var oldq = new Gee.ArrayList(); \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(); \n\n\tClones.singleton().el.response(-1);\n\tNewBranch.singleton().show(_this.repo, oldq);\n\n return false;\n}" }, "label" : "Create Branch", "* pack" : "add", diff --git a/RepoStatusPopover.vala b/RepoStatusPopover.vala index d9e384ea..e98c9999 100644 --- a/RepoStatusPopover.vala +++ b/RepoStatusPopover.vala @@ -466,8 +466,8 @@ public class RepoStatusPopover : Object //listeners this.el.button_press_event.connect( () => { var oldq = new Gee.ArrayList(); - _this.el.hide(); - Clones.singleton().el.hide(); + + Clones.singleton().el.response(-1); NewBranch.singleton().show(_this.repo, oldq); return false;