diff options
Diffstat (limited to 'tagWindow.go')
| -rw-r--r-- | tagWindow.go | 7 |
1 files changed, 4 insertions, 3 deletions
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 { |
