From 3f5fcdf68ba8d0c7c129b77936f44fd86251c8ed Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 13 Feb 2024 16:18:37 -0600 Subject: find unregistered repos --- structs.go | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'structs.go') diff --git a/structs.go b/structs.go index fac6480..a699810 100644 --- a/structs.go +++ b/structs.go @@ -8,12 +8,22 @@ import ( var me *autoType +func (b *autoType) Disable() { + b.mainbox.Disable() +} + +func (b *autoType) Enable() { + b.mainbox.Enable() +} + // this app's variables type autoType struct { allrepos map[string]*repo myGui *gui.Node autotypistWindow *gui.Node + // the main box. enable/disable this + mainbox *gui.Node // the window from the /lib/gui/gowit package lw *gadgets.BasicWindow @@ -79,6 +89,7 @@ type repo struct { path string lasttagrev string lasttag string + giturl string pLabel *gui.Node // path label -- cgit v1.2.3