summaryrefslogtreecommitdiff
path: root/digStatusWindow.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-21 10:34:13 -0600
committerJeff Carr <[email protected]>2024-02-21 10:34:13 -0600
commitfd082d49659c722776d72b97b9eca9d4aab8b78e (patch)
tree579d5a12a402fd39097f9b60edbd9ed1d2592c62 /digStatusWindow.go
parent67d9306298b65623234d5b35c5e8f0b554623925 (diff)
fixes for GUI API changesv0.21.0v0.20.9
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'digStatusWindow.go')
-rw-r--r--digStatusWindow.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/digStatusWindow.go b/digStatusWindow.go
index dce5b71..a0917f5 100644
--- a/digStatusWindow.go
+++ b/digStatusWindow.go
@@ -55,14 +55,14 @@ type digStatus struct {
statusHTTP *gadgets.OneLiner
}
-func NewDigStatusWindow(p *gui.Node) *digStatus {
+func NewDigStatusWindow() *digStatus {
var ds *digStatus
ds = new(digStatus)
ds.ready = false
ds.hidden = true
- ds.window = gadgets.NewBasicWindow(p, "DNS Resolver Status")
+ ds.window = gadgets.RawBasicWindow("DNS Resolver Status")
ds.window.Make()
// ds.window.Draw()
// ds.window.Hide()