summaryrefslogtreecommitdiff
path: root/windowPatches.go
diff options
context:
space:
mode:
Diffstat (limited to 'windowPatches.go')
-rw-r--r--windowPatches.go11
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() {