summaryrefslogtreecommitdiff
path: root/windowViewRepoPatches.go
diff options
context:
space:
mode:
Diffstat (limited to 'windowViewRepoPatches.go')
-rw-r--r--windowViewRepoPatches.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/windowViewRepoPatches.go b/windowViewRepoPatches.go
index 325ed1e..425241d 100644
--- a/windowViewRepoPatches.go
+++ b/windowViewRepoPatches.go
@@ -66,7 +66,7 @@ func makeRepoPatchWindow(repo *gitpb.Repo, fset []*forgepb.Patch) *repoPatchWind
pw := new(repoPatchWindow)
// sync.Once()
- pw.win = gadgets.RawBasicWindow("Patcheset for " + repo.GetGoPath())
+ pw.win = gadgets.RawBasicWindow("Patcheset for " + repo.Namespace)
pw.win.Make()
pw.stack = pw.win.Box().NewBox("bw vbox", false)
@@ -78,7 +78,7 @@ func makeRepoPatchWindow(repo *gitpb.Repo, fset []*forgepb.Patch) *repoPatchWind
grid := pw.stack.NewGrid("", 0, 0)
- grid.NewLabel(repo.GetGoPath())
+ grid.NewLabel(repo.Namespace)
grid.NewLabel(repo.GetCurrentBranchName())
g := pw.stack.NewGroup("PatchSet List")
@@ -128,8 +128,8 @@ func (r *repoPatchWindow) addPatchset(grid *gui.Node, pset *forgepb.Set) {
}
for repo, patches := range repomap {
- log.Info(repo.GetGoPath())
- grid.NewLabel(repo.GetGoPath())
+ log.Info(repo.Namespace)
+ grid.NewLabel(repo.Namespace)
for i, p := range patches {
log.Info(i, p.Filename)
@@ -140,7 +140,7 @@ func (r *repoPatchWindow) addPatchset(grid *gui.Node, pset *forgepb.Set) {
hash := repohash[repo]
grid.NewLabel(hash)
grid.NewButton("View", func() {
- log.Info("todo: show patches for repo", repo.GetGoPath())
+ log.Info("todo: show patches for repo", repo.Namespace)
})
grid.NextRow()
}