diff options
| author | Jeff Carr <[email protected]> | 2025-02-22 13:40:30 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-22 13:50:27 -0600 |
| commit | 49d2653fd41b1d3caa54950892a3a6d11a5abfff (patch) | |
| tree | 4f1f4bcb25dc650b640334b36ef241b927525ce0 /tableWindow.go | |
| parent | e9f7b99846f6afa0ccdf0f026476b367dc7cfcec (diff) | |
convert to pb grid
Diffstat (limited to 'tableWindow.go')
| -rw-r--r-- | tableWindow.go | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/tableWindow.go b/tableWindow.go index 5d64bac..089a7dc 100644 --- a/tableWindow.go +++ b/tableWindow.go @@ -98,41 +98,3 @@ func makeTableWindow() *tableWindow { // pw.addPatchset(grid, pset) return pw } - -/* -func (r *tableWindow) addPatchset(grid *gui.Node, pset *forgepb.Patchset) { - - all := pset.Patches.SortByFilename() - for all.Scan() { - p := all.Next() - // for repo, patches := range repomap { - rn := p.RepoNamespace - repo := me.forge.FindByGoPath(rn) - if repo == nil { - log.Info("Could not figure out repo path", rn) - rn += " bad repo" - } - log.Info("Adding patches for", rn) - grid.NewLabel(rn) - - // hash := repohash[repo] - grid.NewLabel(p.StartHash) - grid.NewLabel(p.Filename) - - if repo == nil { - continue - } - grid.NewButton("apply", func() { - filename, _ := savePatch(p) - if err := applyPatch(repo, filename); err != nil { - log.Info("warn user of git am error", err) - } - }) - grid.NewCheckbox("").SetChecked(true) - grid.NewCheckbox("").SetChecked(true) - grid.NewButton("save patch to /tmp", func() { - }) - grid.NextRow() - } -} -*/ |
