diff options
Diffstat (limited to 'windowViewRepoPatches.go')
| -rw-r--r-- | windowViewRepoPatches.go | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/windowViewRepoPatches.go b/windowViewRepoPatches.go index 0af4f43..5a6a0be 100644 --- a/windowViewRepoPatches.go +++ b/windowViewRepoPatches.go @@ -78,11 +78,6 @@ func makeRepoPatchWindow(repo *gitpb.Repo, fset []*forgepb.Patch) *repoPatchWind grid.NewLabel(repo.GetGoPath()) grid.NewLabel(repo.GetCurrentBranchName()) - grid.NewButton("Apply all with git am", func() { - }) - grid.NewButton("Squash", func() { - }) - g := pw.stack.NewGroup("PatchSet List") // make a grid and a header @@ -91,6 +86,10 @@ func makeRepoPatchWindow(repo *gitpb.Repo, fset []*forgepb.Patch) *repoPatchWind filegrid.NewLabel("Applied in current branch?") filegrid.NewLabel("original hash") filegrid.NewLabel("new hash") + filegrid.NewButton("git squash", func() { + }) + filegrid.NewButton("git am", func() { + }) filegrid.NextRow() for _, p := range fset { @@ -98,6 +97,8 @@ func makeRepoPatchWindow(repo *gitpb.Repo, fset []*forgepb.Patch) *repoPatchWind filegrid.NewLabel("yes?") filegrid.NewLabel(p.CommitHash) filegrid.NewLabel(p.NewHash) + filegrid.NewCheckbox("").SetChecked(true) + filegrid.NewCheckbox("").SetChecked(true) filegrid.NextRow() } // add the patches to the grid |
