summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--argv.go4
-rw-r--r--main.go2
3 files changed, 2 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 3453234..83c3903 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
run: build
- ./control-panel-cloudflare --gui-debug
+ ./control-panel-cloudflare
build-and-update:
go get -v -u -x .
diff --git a/argv.go b/argv.go
index 994fd8e..6cedc8f 100644
--- a/argv.go
+++ b/argv.go
@@ -6,12 +6,8 @@ package main
import (
arg "github.com/alexflint/go-arg"
- "go.wit.com/gui/gui"
- "go.wit.com/log"
)
-
func init() {
arg.MustParse()
- log.Bool(true, "INIT() args.ArgDebug =", gui.ArgDebug())
}
diff --git a/main.go b/main.go
index c8c8f79..bba3e90 100644
--- a/main.go
+++ b/main.go
@@ -24,7 +24,7 @@ func main() {
// draw the cloudflare control panel window
win := cloudflare.MakeCloudflareWindow(myGui)
- win.SetText(title)
+ win.Title(title)
win.Show()
// This is just a optional goroutine to watch that things are alive