From 15f334b2d2eab816b31e7f3a35e172e598bd5c19 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 17 Feb 2024 14:20:37 -0600 Subject: using repolist --- main.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index ab412e8..f8450b7 100644 --- a/main.go +++ b/main.go @@ -6,7 +6,6 @@ import ( "strings" "go.wit.com/lib/debugger" - "go.wit.com/lib/gui/repolist" "go.wit.com/lib/gui/repostatus" "go.wit.com/log" @@ -41,7 +40,7 @@ func main() { globalResetOptions(me.mainbox) - me.repoView = repolist.AutotypistView() + me.repos = makeRepoView() usr, _ := user.Current() if args.OnlyMe { @@ -53,19 +52,19 @@ func main() { path = strings.TrimPrefix(path, me.goSrcPwd.String()) path = strings.Trim(path, "/") log.Info("addRepo()", i, path) - me.repoView.AddRepo(path, "master", "devel", usr.Username) + me.repos.View.AddRepo(path, "master", "devel", usr.Username) } } // process everything on the command line handleCmdLine() - repolist.ScanRepositories() + me.repos.View.ScanRepositories() me.Enable() // processing is done. update the repo summary box me.summary.Update() // intermittently scans the status indefinitly - repolist.Watchdog() + me.repos.View.Watchdog() } -- cgit v1.2.3