more accurate name
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
464dcfa28e
commit
e4c3aafb7b
2
main.go
2
main.go
|
@ -33,7 +33,7 @@ func main() {
|
|||
|
||||
vbox2 := box.NewVerticalBox("BOX2")
|
||||
globalBuildOptions(vbox2)
|
||||
me.summary = summaryBox(vbox2)
|
||||
me.summary = submitPatchesBox(vbox2)
|
||||
|
||||
globalResetOptions(box)
|
||||
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"path/filepath"
|
||||
|
||||
"go.wit.com/gui"
|
||||
"go.wit.com/log"
|
||||
"go.wit.com/lib/gui/shell"
|
||||
"go.wit.com/log"
|
||||
)
|
||||
|
||||
func docsBox(vbox *gui.Node) {
|
||||
|
|
|
@ -23,9 +23,9 @@ type develSummary struct {
|
|||
allp []*patch
|
||||
}
|
||||
|
||||
func summaryBox(box *gui.Node) *develSummary {
|
||||
func submitPatchesBox(box *gui.Node) *develSummary {
|
||||
s := new(develSummary)
|
||||
group1 := box.NewGroup("Development Branch Summary")
|
||||
group1 := box.NewGroup("Submit Patches Summary")
|
||||
s.grid = group1.RawGrid()
|
||||
|
||||
s.updateB = s.grid.NewButton("Update Stats", func() {
|
||||
|
@ -40,6 +40,13 @@ func summaryBox(box *gui.Node) *develSummary {
|
|||
}
|
||||
})
|
||||
|
||||
s.updateB = s.grid.NewButton("Check repos are working", func() {
|
||||
for _, repo := range me.allrepos {
|
||||
log.Info("Check repo here:", repo.String())
|
||||
return
|
||||
}
|
||||
})
|
||||
|
||||
s.grid.NextRow()
|
||||
|
||||
s.totalOL = gadgets.NewOneLiner(s.grid, "Total")
|
Loading…
Reference in New Issue