diff options
Diffstat (limited to 'windowPatches.go')
| -rw-r--r-- | windowPatches.go | 39 |
1 files changed, 17 insertions, 22 deletions
diff --git a/windowPatches.go b/windowPatches.go index 169f230..b347e05 100644 --- a/windowPatches.go +++ b/windowPatches.go @@ -87,17 +87,17 @@ func (r *patchesWindow) initWindow() { } type patchSummary struct { - grid *gui.Node - updateB *gui.Node - docsB *gui.Node - gitPushB *gui.Node - gitPullB *gui.Node - checkB *gui.Node - totalOL *gadgets.OneLiner - dirtyOL *gadgets.OneLiner - readonlyOL *gadgets.OneLiner - rw *gadgets.OneLiner - totalPatchesOL *gadgets.OneLiner + grid *gui.Node + updateB *gui.Node + docsB *gui.Node + gitPushB *gui.Node + gitPullB *gui.Node + checkB *gui.Node + totalOL *gadgets.OneLiner + dirtyOL *gadgets.OneLiner + readonlyOL *gadgets.OneLiner + rw *gadgets.OneLiner + // totalPatchesOL *gadgets.OneLiner // totalUserRepos *gui.Node // totalDevelRepos *gui.Node // totalMasterRepos *gui.Node @@ -105,10 +105,10 @@ type patchSummary struct { // totalDevelPatches *gui.Node // totalMasterPatches *gui.Node // fileCount *gui.Node - unknownOL *gadgets.BasicEntry - unknownSubmitB *gui.Node - reason *gadgets.BasicEntry - submitB *gui.Node + // unknownOL *gadgets.BasicEntry + // unknownSubmitB *gui.Node + reason *gadgets.BasicEntry + submitB *gui.Node // allp []*repolist.Patch } @@ -117,22 +117,17 @@ func (r *patchesWindow) submitPatchesBox(box *gui.Node) *patchSummary { group1 := box.NewGroup("Repo Summary") s.grid = group1.RawGrid() + // make the header table for repo stats s.totalOL = gadgets.NewOneLiner(s.grid, "Total") s.grid.NextRow() - s.dirtyOL = gadgets.NewOneLiner(s.grid, "dirty") - // _ = s.grid.NewLabel("") // skip a column - // s.totalUserRepos = s.grid.NewLabel("x go repos") s.grid.NextRow() - s.readonlyOL = gadgets.NewOneLiner(s.grid, "read-only") - // _ = s.grid.NewLabel("") // skip a column s.grid.NextRow() - s.rw = gadgets.NewOneLiner(s.grid, "r/w") - // _ = s.grid.NewLabel("") // skip a column s.grid.NextRow() + // make the 'widget group' for the buttons at the bottom of the window group1 = box.NewGroup("Patchset Create") s.grid = group1.RawGrid() |
