diff options
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() { |
