From 4555b9f34d926f1a94691a1d2db5ed2d1520daa8 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 12 Feb 2024 15:24:35 -0600 Subject: add a git commit button. I used it for this commit --- tagWindow.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'tagWindow.go') diff --git a/tagWindow.go b/tagWindow.go index 745ab62..d5e33b8 100644 --- a/tagWindow.go +++ b/tagWindow.go @@ -39,10 +39,11 @@ func makeTagWindow() *tagWindow { tagW.win.Draw() tagW.box = tagW.win.Box() + topGrid := tagW.box.RawGrid() tagW.group = tagW.box.NewGroup("tags") tagW.grid = tagW.box.RawGrid() - tagW.group.NewButton("list all tags", func() { + topGrid.NewButton("list all tags", func() { me.autotypistWindow.Disable() defer me.autotypistWindow.Enable() for _, repo := range me.allrepos { @@ -58,9 +59,9 @@ func makeTagWindow() *tagWindow { log.Info("found tag:", t.TagString(), "from", repo.status.String()) } } - }) + }).SetProgName("TAGSLISTALL") - tagW.group.NewButton("delete all dup tags", func() { + topGrid.NewButton("delete all dup tags", func() { me.autotypistWindow.Disable() defer me.autotypistWindow.Enable() for _, repo := range me.allrepos { -- cgit v1.2.3