might work?
This commit is contained in:
parent
6b8cd96636
commit
6b424b0e89
8
main.go
8
main.go
|
@ -6,7 +6,6 @@ import (
|
||||||
|
|
||||||
"go.wit.com/lib/debugger"
|
"go.wit.com/lib/debugger"
|
||||||
"go.wit.com/lib/protobuf/forgepb"
|
"go.wit.com/lib/protobuf/forgepb"
|
||||||
"go.wit.com/lib/gui/repolist"
|
|
||||||
"go.wit.com/log"
|
"go.wit.com/log"
|
||||||
|
|
||||||
"go.wit.com/gui"
|
"go.wit.com/gui"
|
||||||
|
@ -56,13 +55,6 @@ func main() {
|
||||||
|
|
||||||
me.repos = makeRepoView()
|
me.repos = makeRepoView()
|
||||||
|
|
||||||
me.repos.View = repolist.Init(me.forge, me.myGui)
|
|
||||||
me.repos.View.Enable()
|
|
||||||
|
|
||||||
// reads in the State of all the repos
|
|
||||||
// TODO: should not really be necessary directly after init()
|
|
||||||
me.repos.View.ScanRepositories()
|
|
||||||
|
|
||||||
// process everything on the command line
|
// process everything on the command line
|
||||||
// may exit here
|
// may exit here
|
||||||
handleCmdLine()
|
handleCmdLine()
|
||||||
|
|
|
@ -56,6 +56,11 @@ func makeRepoView() *repoWindow {
|
||||||
|
|
||||||
r.topbox = r.repoMenu()
|
r.topbox = r.repoMenu()
|
||||||
|
|
||||||
|
r.View = repolist.InitBox(me.forge, r.box)
|
||||||
|
r.View.Enable()
|
||||||
|
|
||||||
|
r.View.ScanRepositories()
|
||||||
|
|
||||||
/*
|
/*
|
||||||
r.View = repolist.AutotypistView(r.box)
|
r.View = repolist.AutotypistView(r.box)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue