diff options
| author | Jeff Carr <[email protected]> | 2025-02-09 08:28:28 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-09 08:28:28 -0600 |
| commit | b4cb43178b66992f8b6e0c35834c4bca3897f5f0 (patch) | |
| tree | f4a99bf1499d7a7db89b57ca1e61832ae678d495 /doGui.go | |
| parent | d17c61ddf3544f6a01ece2fc77c8a3b3a79687f3 (diff) | |
make a 'found repo' window
Diffstat (limited to 'doGui.go')
| -rw-r--r-- | doGui.go | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -145,6 +145,7 @@ func drawWindow(win *gadgets.BasicWindow) { default: me.argvCheckoutUser = true } + log.Info("forged changed to default:", me.newBranch.String()) } // checking this will automatically make the branches off of devel @@ -176,6 +177,17 @@ func drawWindow(win *gadgets.BasicWindow) { patchWin.Show() }) + var foundWin *foundWindow + grid.NewButton("Search Repos", func() { + if foundWin != nil { + foundWin.Toggle() + return + } + foundWin = new(foundWindow) + foundWin.initWindow() + foundWin.Show() + }) + grid.NewButton("forge ConfigSave()", func() { me.forge.ConfigSave() }) |
