diff options
| author | Jeff Carr <[email protected]> | 2024-02-13 16:18:37 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-13 16:18:37 -0600 |
| commit | 3f5fcdf68ba8d0c7c129b77936f44fd86251c8ed (patch) | |
| tree | 500f6410a8f51a116357e9a1dbfb149898cbb0ab /main.go | |
| parent | 0ef88b82d17055cf579a3fc42f4188655ab68bed (diff) | |
find unregistered repos
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -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 |
