summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-13 16:18:37 -0600
committerJeff Carr <[email protected]>2024-02-13 16:18:37 -0600
commit3f5fcdf68ba8d0c7c129b77936f44fd86251c8ed (patch)
tree500f6410a8f51a116357e9a1dbfb149898cbb0ab /main.go
parent0ef88b82d17055cf579a3fc42f4188655ab68bed (diff)
find unregistered repos
Diffstat (limited to 'main.go')
-rw-r--r--main.go11
1 files changed, 7 insertions, 4 deletions
diff --git a/main.go b/main.go
index e070b65..1c83220 100644
--- a/main.go
+++ b/main.go
@@ -22,20 +22,22 @@ func main() {
me.myGui.Default()
me.autotypistWindow = me.myGui.NewWindow("autotypist: it types faster than you can.")
- box := me.autotypistWindow.NewBox("bw hbox", true)
+ me.mainbox = me.autotypistWindow.NewBox("bw hbox", true)
- vbox1 := box.NewVerticalBox("BOX1")
+ vbox1 := me.mainbox.NewVerticalBox("BOX1")
globalDisplayOptions(vbox1)
docsBox(vbox1)
if debugger.ArgDebug() {
debuggerBox(vbox1)
}
+ // disable the interface while everything is scanned
+ me.Disable()
- vbox2 := box.NewVerticalBox("BOX2")
+ vbox2 := me.mainbox.NewVerticalBox("BOX2")
globalBuildOptions(vbox2)
me.summary = submitPatchesBox(vbox2)
- globalResetOptions(box)
+ globalResetOptions(me.mainbox)
repolistWindow()
@@ -46,6 +48,7 @@ func main() {
repo.status.Update()
repo.newScan()
}
+ me.Enable()
// scan repos every 30 seconds
// check every second for the checkbox changing