diff options
| author | Jeff Carr <[email protected]> | 2025-10-07 01:46:47 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-07 01:46:47 -0500 |
| commit | 217499af46a060341d7e91ee208182531a796a94 (patch) | |
| tree | 45be1009c07539a76d3b6c8c429b49e165cf790a /doGui.go | |
| parent | f6e7c333effa3d599a4b6d973dd919023acd9252 (diff) | |
attempt to ressurrect a patches table in the GUI
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 |
