summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
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