summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-19 18:37:27 -0600
committerJeff Carr <[email protected]>2024-01-19 18:37:27 -0600
commitdb36cef85a81d1978f5fe1d3bf46698547afd088 (patch)
tree92bea64224a34cc00a22f73d67ebcc3cb32a1d70 /main.go
parentfa56bf146b80c84eea6f7cd46a589634a69aabef (diff)
more more into repostatus package
better working labels autotypist auto hides hide unmodified repos works again go build args out of order download the toolkits first auto rebuild of autotypist Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
-rw-r--r--main.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/main.go b/main.go
index 706b778..89ad900 100644
--- a/main.go
+++ b/main.go
@@ -25,7 +25,7 @@ func main() {
me.myGui.Default()
autotypistWindow()
- // repoworld()
+ repoworld()
log.Sleep(.3)
// hidePerfect()
gui.Watchdog()
@@ -60,7 +60,7 @@ func addRepo(grid *gui.Node, path string, master string, devel string, user stri
return
}
log.Warn("status window exists. trying TestDraw() here")
- newRepo.status.Show()
+ newRepo.status.Toggle()
newRepo.status.Update()
})
if path == "" {
@@ -68,9 +68,9 @@ func addRepo(grid *gui.Node, path string, master string, devel string, user stri
newRepo.pButton.Hide()
}
newRepo.status = repostatus.New(me.myGui, newRepo.path)
- newRepo.status.SetMasterName(master)
- newRepo.status.SetDevelName(devel)
- newRepo.status.SetUserName(user)
+ newRepo.status.SetMasterBranchName(master)
+ newRepo.status.SetDevelBranchName(devel)
+ newRepo.status.SetUserBranchName(user)
newRepo.hidden = false
newRepo.status.Update()
newRepo.newScan()