old stuff gone

This commit is contained in:
Jeff Carr 2025-01-07 06:46:39 -06:00
parent 1966246169
commit e579b7ca26
1 changed files with 11 additions and 15 deletions

View File

@ -104,14 +104,23 @@ func (r *repoWindow) repoMenu() *gui.Node {
me.repos = makeRepoView()
me.repos.Show()
*/
// update the protobuf pointers
loop := me.forge.Repos.All()
for loop.Scan() {
repo := loop.Next()
vrepo := me.repos.View.FindByPath(repo.GetGoPath())
if vrepo != nil {
vrepo.NewScan3(repo)
vrepo.UpdatePb(repo)
}
}
// now update the gui
vloop := me.repos.View.ReposSortByName()
for vloop.Scan() {
var repo *repolist.RepoRow
repo = vloop.Repo()
repo.NewScan()
}
r.Enable()
})
@ -178,20 +187,7 @@ func (r *repoWindow) mergeAllDevelToMain() bool {
return true
/*
loop1 := me.forge.Repos.All()
for loop1.Scan() {
repo := loop1.Next()
vrepo := me.repos.View.FindByPath(repo.GetGoPath())
vrepo.NewScan3(repo)
}
// remap the repo.pb
loop := me.repos.View.ReposSortByName()
for loop.Scan() {
var repo *repolist.RepoRow
repo = loop.Repo()
repo.NewScan2()
}
// remap the repo.pb
*/
// continue
} else {