diff options
Diffstat (limited to 'doGui.go')
| -rw-r--r-- | doGui.go | 21 |
1 files changed, 5 insertions, 16 deletions
@@ -90,22 +90,11 @@ func doGui() { patchButton.SetLabel("not safe yet") return } - // patchesWin = makePatchesWin(me.forge.Patchsets) - notdone := new(forgepb.Patches) - - all := me.forge.Patchsets.All() - for all.Scan() { - pset := all.Next() - if pset.State == "DONE" { - // skip old patchsets - continue - } - AddAllPatches(notdone, pset, false) - // AddNotDonePatches(notdone, pset, false) - } - notdone.PrintTable() - - patchesWin = makePatchesWin(notdone) + curpatches := forgepb.NewPatches() + curpatches.Filename = "/tmp/curpatches.pb" + curpatches.Load() + curpatches.Save() + patchesWin = makePatchesWin(curpatches) }) var pubWin *gadgets.GenericWindow |
