From 6012733385617289b3ac82b9a5608a15a34092bf Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 12 Mar 2025 09:37:19 -0500 Subject: individual 'git am' buttons --- windowNewPatchsets.go | 9 --------- 1 file changed, 9 deletions(-) (limited to 'windowNewPatchsets.go') diff --git a/windowNewPatchsets.go b/windowNewPatchsets.go index a32fd4e..f5a786f 100644 --- a/windowNewPatchsets.go +++ b/windowNewPatchsets.go @@ -149,15 +149,6 @@ func AddPatchsetsPB(tbox *gui.Node, pb *forgepb.Patchsets) *forgepb.PatchsetsTab return fmt.Sprintf("%d", p.Patches.Len()) }) - testf := func(p *forgepb.Patchset) string { - return "validate" - } - tp := t.AddButtonFunc("Analyze", testf) - tp.Custom = func(p *forgepb.Patchset) { - setPatchsetState(p) - log.Info("patchset state", p.Name, "is", p.State) - } - vp := t.AddButtonFunc("View Patchset", func(p *forgepb.Patchset) string { return p.Name }) -- cgit v1.2.3