summaryrefslogtreecommitdiff
path: root/windowPatches.go
diff options
context:
space:
mode:
Diffstat (limited to 'windowPatches.go')
-rw-r--r--windowPatches.go32
1 files changed, 17 insertions, 15 deletions
diff --git a/windowPatches.go b/windowPatches.go
index d68d246..f70ea63 100644
--- a/windowPatches.go
+++ b/windowPatches.go
@@ -58,23 +58,25 @@ func makePatchesWin(patches *forgepb.Patches) *stdPatchTableWin {
grid.NextRow()
grid.NewButton("show all", func() {
- if me.psets == nil {
- log.Info("No Patchsets loaded")
- return
- }
- notdone := new(forgepb.Patches)
+ /*
+ if me.psets == nil {
+ log.Info("No Patchsets loaded")
+ return
+ }
+ notdone := new(forgepb.Patches)
- all := me.psets.All()
- for all.Scan() {
- pset := all.Next()
- AddNotDonePatches(notdone, pset, true)
- }
+ all := me.psets.All()
+ for all.Scan() {
+ pset := all.Next()
+ AddNotDonePatches(notdone, pset, true)
+ }
- for patch := range notdone.IterAll() {
- comment := cleanSubject(patch.Comment)
- log.Info("new patch:", patch.NewHash, "commithash:", patch.CommitHash, patch.Namespace, comment)
- }
- dwin.doPatchesTable(notdone)
+ for patch := range notdone.IterAll() {
+ comment := cleanSubject(patch.Comment)
+ log.Info("new patch:", patch.NewHash, "commithash:", patch.CommitHash, patch.Namespace, comment)
+ }
+ dwin.doPatchesTable(notdone)
+ */
})
grid.NewButton("Update", func() {