summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-17 03:57:17 -0600
committerJeff Carr <[email protected]>2024-01-17 03:57:17 -0600
commit6207a0fb60f6b15d26a7cbd7c0cf9e7bebec5492 (patch)
tree0763c1b50200986212783095a6ca68e4dbe970cf
parentfea46f4c0ae86c481fb8c0de830581186e97e5c1 (diff)
compiles and runs
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--globalBuildOptions.go16
-rw-r--r--globalDisplayOptions.go6
-rwxr-xr-xmyreposbin5550952 -> 5544792 bytes
3 files changed, 11 insertions, 11 deletions
diff --git a/globalBuildOptions.go b/globalBuildOptions.go
index 5694a70..f54e8e4 100644
--- a/globalBuildOptions.go
+++ b/globalBuildOptions.go
@@ -29,26 +29,26 @@ func globalBuildOptions(box *gui.Node) {
grid := groupvbox.NewGrid("buildOptions",2, 1)
me.mainBranch = gadgets.NewBasicCombobox(grid, "default main branch")
- me.mainBranch.Add("guimain")
- me.mainBranch.Add("gitea server default")
+ me.mainBranch.AddText("guimain")
+ me.mainBranch.AddText("gitea server default")
me.mainBranch.Disable()
me.develBranch = gadgets.NewBasicCombobox(grid, "default devel branch")
- me.develBranch.Add("devel")
+ me.develBranch.AddText("devel")
me.userBranch = gadgets.NewBasicCombobox(grid, "default user branch")
- me.userBranch.Add("jcarr")
+ me.userBranch.AddText("jcarr")
// select the branch you want to test, build and develop against
// 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
guiBranch := gadgets.NewBasicCombobox(grid, "Set Current Working Branch")
- guiBranch.Add("guimaster")
- guiBranch.Add("guidevel")
- guiBranch.Add("jcarr")
+ guiBranch.AddText("guimaster")
+ guiBranch.AddText("guidevel")
+ guiBranch.AddText("jcarr")
guiBranch.Custom = func () {
- me.toMoveToBranch = guiBranch.Get()
+ me.toMoveToBranch = guiBranch.String()
setCurrentBranch.Set("set all branches to " + me.toMoveToBranch)
me.mainBranch.Disable()
}
diff --git a/globalDisplayOptions.go b/globalDisplayOptions.go
index 60c970b..48808e1 100644
--- a/globalDisplayOptions.go
+++ b/globalDisplayOptions.go
@@ -19,7 +19,7 @@ func globalDisplayOptions(box *gui.Node) {
me.autoHidePerfect = groupvbox.NewCheckbox("Hide repos")
me.autoHidePerfect.Custom = func() {
me.autoHidePerfect.SetText("Hide Perfectly clean repos")
- if me.autoHidePerfect.GetBool() {
+ if me.autoHidePerfect.Bool() {
log.Warn("Should hide here")
} else {
log.Warn("Should show here")
@@ -33,7 +33,7 @@ func globalDisplayOptions(box *gui.Node) {
})
groupvbox.NewButton("show all", func () {
for _, repo := range allrepos {
- if repo.dirtyLabel.GetText() == "PERFECT" {
+ if repo.dirtyLabel.String() == "PERFECT" {
if repo.hidden {
repo.show()
}
@@ -64,7 +64,7 @@ func globalDisplayOptions(box *gui.Node) {
func hidePerfect() {
for _, repo := range allrepos {
- if repo.dirtyLabel.GetText() == "PERFECT" {
+ if repo.dirtyLabel.String() == "PERFECT" {
if repo.hidden {
continue
}
diff --git a/myrepos b/myrepos
index 0fa4ed5..9d86e37 100755
--- a/myrepos
+++ b/myrepos
Binary files differ