diff options
| author | Jeff Carr <[email protected]> | 2025-01-05 02:01:15 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-05 02:01:15 -0600 |
| commit | 026e0cde90ed89a51b97d163ba63339439cbe999 (patch) | |
| tree | bbfc62800fa58286f706cd630be235a1c5e800d1 /windowPatches.go | |
| parent | 18ee541f89be2e9f9a91c54873da87885e8ffdf5 (diff) | |
button to dump last patch info
Diffstat (limited to 'windowPatches.go')
| -rw-r--r-- | windowPatches.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/windowPatches.go b/windowPatches.go index f0e5d6d..e153553 100644 --- a/windowPatches.go +++ b/windowPatches.go @@ -163,9 +163,20 @@ func submitPatchesBox(box *gui.Node) *patchSummary { log.Info("sent patch set ok") } }) + s.grid.NewButton("Show Patchsets", func() { listPatches() }) + + s.grid.NewButton("Get Latest Patchset", func() { + lastp := lastPatch() + pset, err := getPatch(lastp) + if err != nil { + return + } + dumpPatchset(pset) + }) + s.grid.NewButton("Show Repos", func() { s.Update() if me.repos.Hidden() { |
