summaryrefslogtreecommitdiff
path: root/tagWindow.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-12 15:24:35 -0600
committerJeff Carr <[email protected]>2024-02-12 15:24:35 -0600
commit4555b9f34d926f1a94691a1d2db5ed2d1520daa8 (patch)
treec5669d8ab90c9583259c58889da1e4a8a443029e /tagWindow.go
parentcdc5743e67fd69c20a582d59ec2c47c804ae84ef (diff)
add a git commit button. I used it for this commit
Diffstat (limited to 'tagWindow.go')
-rw-r--r--tagWindow.go7
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 {