diff options
| author | Jeff Carr <[email protected]> | 2025-01-30 08:48:59 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-30 08:48:59 -0600 |
| commit | 5d4850a93d4fe105b6addce334ff9a9f6ca6b811 (patch) | |
| tree | 978f8920cdf0409ef040b522171f7898aab043bc /windowViewRepoPatches.go | |
| parent | 441c1e7ad8a3fa5575667128057f1f8e85f69443 (diff) | |
more code and gui cleanups
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 |
