diff options
| author | Jeff Carr <[email protected]> | 2024-01-23 15:20:54 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-23 15:20:54 -0600 |
| commit | dae15b593174ed82ac0f5f8c7250cb765a2b7f64 (patch) | |
| tree | 8a826a328b34035805bb48218d12bb82a6697966 /new.go | |
| parent | 2f4cba36dddaf1b0cfeabb875527b03bdb75036b (diff) | |
Scan() everything functions
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'new.go')
| -rw-r--r-- | new.go | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -45,6 +45,7 @@ func NewRepoStatusWindow(path string) *RepoStatus { } rs := New(gui.TreeRoot(), path) + rs.draw(goSrcDir, realpath) // save ~/go/src & the whole path strings rs.goSrcPath.SetValue(goSrcDir) @@ -61,17 +62,15 @@ func NewRepoStatusWindow(path string) *RepoStatus { func New(p *gui.Node, path string) *RepoStatus { rs := &RepoStatus{ - hidden: true, - ready: false, - parent: p, - repopath: path, + hidden: true, + ready: false, + parent: p, } rs.tags = make(map[string]string) rs.window = gadgets.NewBasicWindow(p, "GO Repo Details "+path) rs.window.Horizontal() rs.window.Make() rs.ready = true - rs.draw() rs.window.Custom = func() { // rs.hidden = true rs.Hide() |
