stub in a button for this
This commit is contained in:
parent
5f5f23643a
commit
8af6410978
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue