autogenpb improvements
This commit is contained in:
parent
b00584213d
commit
fb792e13a7
4
init.go
4
init.go
|
@ -21,7 +21,7 @@ func Init(f *forgepb.Forge, g *gui.Node) *RepoList {
|
|||
|
||||
me.viewName = "autotypist"
|
||||
|
||||
repos := me.forge.Repos.SortByPath()
|
||||
repos := me.forge.Repos.SortByGoPath()
|
||||
for repos.Scan() {
|
||||
repo := repos.Next()
|
||||
if me.forge.IsReadOnly(repo.GoPath) {
|
||||
|
@ -47,7 +47,7 @@ func InitBox(f *forgepb.Forge, newbox *gui.Node) *RepoList {
|
|||
|
||||
me.viewName = "autotypist"
|
||||
|
||||
repos := me.forge.Repos.SortByPath()
|
||||
repos := me.forge.Repos.SortByGoPath()
|
||||
for repos.Scan() {
|
||||
repo := repos.Next()
|
||||
if me.forge.IsReadOnly(repo.GoPath) {
|
||||
|
|
4
scan.go
4
scan.go
|
@ -36,7 +36,7 @@ func (r *RepoList) ScanRepositories() (int, string) {
|
|||
me.shownCount.SetText(tmp)
|
||||
me.duration.SetText(s)
|
||||
|
||||
log.Info("Scanned", i, "repositories.", total, "changes in", s)
|
||||
log.Info("repolist Scanned", i, "repositories.", total, "changes in", s)
|
||||
return i, s
|
||||
}
|
||||
|
||||
|
@ -73,6 +73,8 @@ func (r *RepoRow) NewScan() int {
|
|||
|
||||
if r.Status.GitState() == "PERFECT" {
|
||||
r.Hide()
|
||||
} else {
|
||||
r.Show()
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue