From 5f382cd5e317b7d76ff231e086de316fe5d4b626 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 20 Jan 2024 17:17:48 -0600 Subject: more button cleanups Signed-off-by: Jeff Carr --- main.go | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index 89ad900..a0ab8c8 100644 --- a/main.go +++ b/main.go @@ -26,8 +26,9 @@ func main() { autotypistWindow() repoworld() - log.Sleep(.3) - // hidePerfect() + + // keeps the app alive + // TODO: rescan the status of the repos every so often? gui.Watchdog() } @@ -78,18 +79,12 @@ func addRepo(grid *gui.Node, path string, master string, devel string, user stri } func autotypistWindow() { - /* - me.autotypistWindow = gadgets.NewBasicWindow(me.myGui, "autotypist for GO & git. it types faster than you can.") - me.autotypistWindow.Make() - me.autotypistWindow.StandardExit() - - box := me.autotypistWindow.Box() - me.autotypistWindow.Draw() - */ win := me.myGui.NewWindow("autotypist for GO & git. it types faster than you can.") box := win.NewBox("bw hbox", true) + globalDisplayOptions(box) globalBuildOptions(box) + globalTestingOptions(box) globalResetOptions(box) } -- cgit v1.2.3