summaryrefslogtreecommitdiff
path: root/doGui.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-09 08:28:28 -0600
committerJeff Carr <[email protected]>2025-02-09 08:28:28 -0600
commitb4cb43178b66992f8b6e0c35834c4bca3897f5f0 (patch)
treef4a99bf1499d7a7db89b57ca1e61832ae678d495 /doGui.go
parentd17c61ddf3544f6a01ece2fc77c8a3b3a79687f3 (diff)
make a 'found repo' window
Diffstat (limited to 'doGui.go')
-rw-r--r--doGui.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/doGui.go b/doGui.go
index f2b1973..504a92e 100644
--- a/doGui.go
+++ b/doGui.go
@@ -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()
})