From 9a1cc5839fb087cadfa02e00a9131dc5c73818c0 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 5 Nov 2024 01:42:35 -0600 Subject: [PATCH] testing gui commit --- viewTempWindow.go | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/viewTempWindow.go b/viewTempWindow.go index cdd1080..bd27506 100644 --- a/viewTempWindow.go +++ b/viewTempWindow.go @@ -18,13 +18,12 @@ func TempWindowView(parent *gui.Node) *RepoList { tmp.reposgrid = tmp.reposgroup.NewGrid("mergegrid", 0, 0) tmp.reposgrid.NewLabel("") // path goes here - tmp.reposgrid.NewLabel("last tag").SetProgName("last tag") - tmp.reposgrid.NewLabel("master version") - tmp.reposgrid.NewLabel("devel version") - tmp.reposgrid.NewLabel("user version") - tmp.reposgrid.NewLabel("Status") - tmp.reposgrid.NewLabel("Current").SetProgName("CurrentName") - tmp.reposgrid.NewLabel("Version").SetProgName("CurrentVersion") + tmp.reposgrid.NewLabel("Current Branch") + tmp.reposgrid.NewLabel("last tag") + tmp.reposgrid.NewLabel("master") + tmp.reposgrid.NewLabel("devel") + tmp.reposgrid.NewLabel("user") + tmp.reposgrid.NewLabel("?") tmp.reposgrid.NextRow() @@ -43,17 +42,15 @@ func (r *RepoList) ShowRepo(repo *RepoRow) error { newRow.Status = repo.Status newRow.pLabel = grid.NewLabel(repo.Status.Path()) - newRow.targetV = grid.NewLabel(repo.Status.GetTargetVersion()) - newRow.lastTag = grid.NewLabel(repo.Status.LastTag()) - newRow.currentName = grid.NewLabel(repo.Status.GetCurrentBranchName()) - newRow.currentVersion = grid.NewLabel(repo.Status.GetCurrentVersion()) - newRow.gitState = grid.NewLabel(repo.Status.GitState()) + newRow.lastTag = grid.NewLabel(repo.Status.LastTag()) newRow.masterVersion = grid.NewLabel(repo.Status.GetMasterVersion()) newRow.develVersion = grid.NewLabel(repo.Status.GetDevelVersion()) newRow.userVersion = grid.NewLabel(repo.Status.GetUserVersion()) + newRow.gitState = grid.NewLabel(repo.Status.GitState()) + newRow.endBox = grid.NewHorizontalBox("HBOX") newRow.endBox.NewButton("Repo Window", func() { newRow.Status.Toggle()