summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--argv.go3
-rw-r--r--structs.go1
2 files changed, 3 insertions, 1 deletions
diff --git a/argv.go b/argv.go
index d7f7c9e..7cfbc7b 100644
--- a/argv.go
+++ b/argv.go
@@ -6,6 +6,7 @@ package main
import (
"os"
+ "go.wit.com/gui"
"go.wit.com/lib/debugger"
"go.wit.com/lib/fhelp"
"go.wit.com/lib/gui/prep"
@@ -198,10 +199,10 @@ func (args) Appname() string {
}
// arg.Register(&argGui)
-// me.myGui = gui.Init()
// log.Info("ArgvGui() started")
func (args) ArgvGui() error {
me.myGui = fhelp.Gui() // adds the GUI package argv support
+ me.origGui = gui.New()
return nil
}
diff --git a/structs.go b/structs.go
index f613333..3c79964 100644
--- a/structs.go
+++ b/structs.go
@@ -31,6 +31,7 @@ type mainType struct {
sh *prep.Auto // shell autocomplete
forge *forgepb.Forge // for holding the forge protobuf files
myGui *fhelp.GuiPrep // for initializing the GUI toolkits
+ origGui *gui.Node // for initializing the GUI toolkits
foundPaths []string // stores gopaths to act on (when doing go-clone)
configSave bool // if the config file should be saved after finishing
urlbase string // base URL