summaryrefslogtreecommitdiff
path: root/mainWindow.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-21 02:10:00 -0600
committerJeff Carr <[email protected]>2024-01-21 02:10:00 -0600
commitafaa9dede241feac32181ce6a1afb284704fa40c (patch)
treecedcb5f1a35b187c61c00b011889c52eca3ac9f1 /mainWindow.go
parentf0b712faf865b460b8be7a9edfd78e1b3852cae5 (diff)
fixes for new paths
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'mainWindow.go')
-rw-r--r--mainWindow.go9
1 files changed, 7 insertions, 2 deletions
diff --git a/mainWindow.go b/mainWindow.go
index ee0df49..764ec03 100644
--- a/mainWindow.go
+++ b/mainWindow.go
@@ -4,7 +4,7 @@ package cloudflare
import (
"os"
- "go.wit.com/gui/gui"
+ "go.wit.com/gui"
"go.wit.com/lib/gadgets"
"go.wit.com/log"
)
@@ -16,12 +16,17 @@ func MakeCloudflareWindow(n *gui.Node) *gadgets.BasicWindow {
log.Log(INFO, "buttonWindow() START")
CFdialog.mainWindow = gadgets.NewBasicWindow(n, "Cloudflare Config")
- CFdialog.mainWindow.Vertical()
+ // CFdialog.mainWindow.Vertical()
+ CFdialog.mainWindow.Make()
+ CFdialog.mainWindow.Draw()
+ return CFdialog.mainWindow
// this tab has the master cloudflare API credentials
makeConfigWindow(CFdialog.mainWindow.Box())
win := gadgets.NewBasicWindow(n, "Zones")
+ win.Make()
+ win.Draw()
g1 := win.Box().NewGroup("zones")
// make dropdown list of zones