summaryrefslogtreecommitdiff
path: root/structs.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 /structs.go
parent0ef88b82d17055cf579a3fc42f4188655ab68bed (diff)
find unregistered repos
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go11
1 files changed, 11 insertions, 0 deletions
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