diff options
| author | Jeff Carr <[email protected]> | 2024-02-19 19:42:14 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-19 19:42:14 -0600 |
| commit | 8df9f47a23d9bb14fe908b5564ef5884b0efd6f2 (patch) | |
| tree | 74177ed317c961e66913b83446ea4c522f6451fb /releaseBox.go | |
| parent | 84115c27121574923ed29f37b9b057de0761ff2c (diff) | |
start cleaning up the buttons
Diffstat (limited to 'releaseBox.go')
| -rw-r--r-- | releaseBox.go | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/releaseBox.go b/releaseBox.go index 128485d..5dcaa63 100644 --- a/releaseBox.go +++ b/releaseBox.go @@ -76,17 +76,18 @@ func createReleaseBox(box *gui.Node) { me.Enable() }) release.grid.NewButton("findNextDirty()", func() { - me.Disable() - defer me.Enable() - if findNextDirty("PRIMATIVE") { - log.Info("findNextDirty() found a repo") - return - } - if findNextDirty("") { - log.Info("findNextDirty() found a repo") - return - } + me.Disable() + defer me.Enable() + if findNextDirty("PRIMATIVE") { + log.Info("findNextDirty() found a repo") + return + } + if findNextDirty("") { + log.Info("findNextDirty() found a repo") + return + } }) + release.grid.NextRow() release.releaseVersionB = release.grid.NewButton("release version", func() { buttonDisable() @@ -97,15 +98,14 @@ func createReleaseBox(box *gui.Node) { log.Info("doRelease() failed") } }) + release.grid.NextRow() - release.openrepo = release.grid.NewButton("open repo", func() { + release.repo = gadgets.NewOneLiner(release.grid, "repo") + release.openrepo = release.grid.NewButton("Configure", func() { release.current.Status.Toggle() }) release.openrepo.Disable() release.grid.NextRow() - - release.repo = gadgets.NewOneLiner(release.grid, "repo") - release.grid.NextRow() release.status = gadgets.NewOneLiner(release.grid, "status") release.grid.NextRow() release.readOnly = gadgets.NewOneLiner(release.grid, "read-only") |
