diff options
| author | Jeff Carr <[email protected]> | 2024-11-05 03:14:27 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-05 03:14:27 -0600 |
| commit | 44d221697fa9e5edd81ec99a7041c726d42ba034 (patch) | |
| tree | d3861d29d9494c19b460b430bb22e60104af5596 /viewTempWindow.go | |
| parent | 9a1cc5839fb087cadfa02e00a9131dc5c73818c0 (diff) | |
show target version in the stdout report
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'viewTempWindow.go')
| -rw-r--r-- | viewTempWindow.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/viewTempWindow.go b/viewTempWindow.go index bd27506..402393c 100644 --- a/viewTempWindow.go +++ b/viewTempWindow.go @@ -32,6 +32,13 @@ func TempWindowView(parent *gui.Node) *RepoList { return tmp } +func (r *RepoList) ListRows() { + for i, row := range r.rows { + log.Warn("i, row:", i, row.Status.Name(), "curname", row.Status.GetCurrentBranchName()) + row.currentName.SetLabel(row.Status.GetCurrentBranchName()) + } +} + func (r *RepoList) ShowRepo(repo *RepoRow) error { // this is the gui grid. all the widgets get added here // at the end we tell the grid go to NextRow() @@ -84,5 +91,6 @@ func (r *RepoList) ShowRepo(repo *RepoRow) error { newRow.hidden = false r.reposgrid.NextRow() + r.rows = append(r.rows, newRow) return nil } |
