summaryrefslogtreecommitdiff
path: root/doGui.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-30 07:21:08 -0600
committerJeff Carr <[email protected]>2025-01-30 07:21:08 -0600
commit76eb230ae8a6811852e1ae6cecdb287d642a709b (patch)
tree13adac48525236bd9be14c513bd23670bdbfbb14 /doGui.go
parent33a603798295aa9b563f6ead61f627ce374d2707 (diff)
more gui cleanups
Diffstat (limited to 'doGui.go')
-rw-r--r--doGui.go10
1 files changed, 7 insertions, 3 deletions
diff --git a/doGui.go b/doGui.go
index 8e562ee..ea8b614 100644
--- a/doGui.go
+++ b/doGui.go
@@ -96,7 +96,7 @@ func globalBuildOptions(vbox *gui.Node) {
// this lets you select your user branch, but, when you are happy
// you can merge everything into the devel branch and make sure it actually
// works. Then, when that is good, merge and version everything in master
- me.setBranchB = grid.NewButton("set current branches to:", func() {
+ me.setBranchB = grid.NewButton("git checkout", func() {
targetName := me.newBranch.String()
log.Warn("setting all branches to", targetName)
if targetName == "devel" {
@@ -116,14 +116,14 @@ func globalBuildOptions(vbox *gui.Node) {
log.Info("switching to user branches failed")
}
})
- me.newBranch = grid.NewCombobox()
+ me.newBranch = grid.NewDropdown()
me.newBranch.AddText("master")
me.newBranch.AddText("devel")
me.newBranch.AddText(usr.Username)
me.newBranch.SetText(usr.Username)
// checking this will automatically make the branches off of devel
- me.autoCreateBranches = grid.NewCheckbox("create if missing").SetChecked(true)
+ me.autoCreateBranches = grid.NewCheckbox("auto create branches").SetChecked(true)
grid.NextRow()
var reposWin *repoWindow
@@ -152,4 +152,8 @@ func globalBuildOptions(vbox *gui.Node) {
patchWin.initWindow()
patchWin.Show()
})
+
+ grid.NewButton("forge ConfigSave()", func() {
+ me.forge.ConfigSave()
+ })
}