diff options
| author | Jeff Carr <[email protected]> | 2025-01-20 02:30:31 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-20 02:30:31 -0600 |
| commit | 6cee7c5420f231ce869d8c320bc5471e31e79760 (patch) | |
| tree | a6e0e2b18730ecedaea2f93b03db11853b17dacd /windowMain.go | |
| parent | d9c4d18b168726f0c44269b40bb699c17278ab17 (diff) | |
gui testing and cleanups
Diffstat (limited to 'windowMain.go')
| -rw-r--r-- | windowMain.go | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/windowMain.go b/windowMain.go index 55252ce..7d6441a 100644 --- a/windowMain.go +++ b/windowMain.go @@ -111,12 +111,21 @@ func globalBuildOptions(vbox *gui.Node) { me.autoCreateBranches = grid.NewCheckbox("create if missing").SetChecked(true) grid.NextRow() + grid.NewButton("Show Repos", func() { + if me.repos.Hidden() { + me.repos.Show() + } else { + me.repos.Hide() + } + }) grid.NewButton("patches window", func() { me.patchWin.once.Do(me.patchWin.initWindow) me.patchWin.Toggle() - me.patchWin.initGroup() }) - grid.NewButton("hide patches window", func() { - me.patchWin.Hide() + grid.NewButton("update patch summary", func() { + me.summary.Update() + }) + grid.NewButton("test add", func() { + me.patchWin.initGroup() }) } |
