stub in a button for this

This commit is contained in:
Jeff Carr 2024-02-23 19:29:43 -06:00
parent 5f5f23643a
commit 8af6410978
1 changed files with 4 additions and 1 deletions

View File

@ -149,7 +149,7 @@ func submitPatchesBox(box *gui.Node) *patchSummary {
s.submitB.Disable()
}
}
s.submitB = s.grid.NewButton("Submit Patches", func() {
s.submitB = s.grid.NewButton("Create Patch Set", func() {
dirname := "submit-patchset.quilt"
patchdir := filepath.Join(me.userHomePwd.String(), dirname)
if shell.Exists(patchdir) {
@ -163,6 +163,9 @@ func submitPatchesBox(box *gui.Node) *patchSummary {
}
me.repos.View.MakePatchset(patchdir)
})
s.submitB = s.grid.NewButton("Submit quilt", func() {
log.Info("do a submit here")
})
// disable these until there are not dirty repos
s.reason.Disable()
s.submitB.Disable()