diff options
| author | Jeff Carr <[email protected]> | 2024-12-17 06:36:45 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-17 06:36:45 -0600 |
| commit | 93e9e4e43b964210e53e8f9455e44886dd6b2574 (patch) | |
| tree | 4e38f11de5e61067577def4517ffd78aa56e602f | |
| parent | 54cdb3fbec0fc6336917702326a56816436f2d21 (diff) | |
changes in gitpb
| -rw-r--r-- | new.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -39,7 +39,7 @@ func SetWorkPath(path string) { // don't worry, you can think of it like Sierpinski carpet // it's doesn't need to be displayed so it'll work fine even in an embedded space func NewRepoStatusWindow(repo *gitpb.Repo) (*RepoStatus, error) { - path := repo.GoPath + path := repo.GetGoPath() if windowMap[path] == nil { log.Log(INFO, "NewRepoStatusWindow() adding new", path) } else { @@ -103,11 +103,11 @@ func NewRepoStatusWindow(repo *gitpb.Repo) (*RepoStatus, error) { rs.userWorkingName.SetText(rs.pb.GetUserBranchName()) rs.userBranchVersion.SetLabel(rs.pb.GetUserBranchName()) - if rs.pb.GoPath == "" { + if rs.pb.GetGoPath ()== "" { // not golang repo } else { rs.isGoLang.SetText("true") - rs.goPath.SetText(rs.pb.GoPath) + rs.goPath.SetText(rs.pb.GetGoPath()) } windowMap[path] = rs return rs, nil |
