summaryrefslogtreecommitdiff
path: root/repolist.go
diff options
context:
space:
mode:
Diffstat (limited to 'repolist.go')
-rw-r--r--repolist.go14
1 files changed, 8 insertions, 6 deletions
diff --git a/repolist.go b/repolist.go
index 60500c0..fdcbb81 100644
--- a/repolist.go
+++ b/repolist.go
@@ -82,12 +82,13 @@ func repoworld() {
}
reposgroup = reposbox.NewGroup("go repositories (read from ~/.config/myrepolist)")
- reposgrid = reposgroup.NewGrid("test", 6, 1)
+ reposgrid = reposgroup.NewGrid("test", 7, 1)
reposgrid.NewLabel("") // path goes here
- reposgrid.NewLabel("last tag").SetProgName("last tag")
- reposgrid.NewLabel("Current Version").SetProgName("Current Version")
+ reposgrid.NewLabel("last tag")
+ reposgrid.NewLabel("Current Ver")
+ reposgrid.NewLabel("Target Ver")
reposgrid.NewLabel("Status")
reposgrid.NewLabel("go.sum")
@@ -144,10 +145,11 @@ func addRepo(grid *gui.Node, path string, master string, devel string, user stri
}
newRepo.path = path
- newRepo.pLabel = grid.NewLabel(path).SetProgName("path")
+ newRepo.pLabel = grid.NewLabel(path)
- newRepo.lastTag = grid.NewLabel("").SetProgName("lastTag")
- newRepo.vLabel = grid.NewLabel("").SetProgName("current")
+ newRepo.lastTag = grid.NewLabel("")
+ newRepo.vLabel = grid.NewLabel("")
+ newRepo.targetVersion = grid.NewLabel("")
newRepo.dirtyLabel = grid.NewLabel("")
newRepo.goSumStatus = grid.NewLabel("?")