diff options
| author | Jeff Carr <[email protected]> | 2024-01-05 09:06:59 -0600 | 
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-05 09:06:59 -0600 | 
| commit | 6f1555f9fcaa299963eba4f82a5f98deb868cfc2 (patch) | |
| tree | 4ec19a9c3137c37d40b8f70be8e8f1388bd45cbe | |
| parent | d6215ee07ba83e9c759b0a4e5168474c3f039959 (diff) | |
use gadgets.BasicWindow()
Signed-off-by: Jeff Carr <[email protected]>
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | argv.go | 4 | ||||
| -rw-r--r-- | main.go | 2 | 
3 files changed, 2 insertions, 6 deletions
@@ -1,5 +1,5 @@  run: build -	./control-panel-cloudflare --gui-debug +	./control-panel-cloudflare  build-and-update:  	go get -v -u -x . @@ -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())  } @@ -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  | 
