From c4582b0b30e3020a92baf299572d8617872d45e5 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 11 Jan 2024 17:19:47 -0600 Subject: type value any Signed-off-by: Jeff Carr --- andlabs/delete.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'andlabs/delete.go') diff --git a/andlabs/delete.go b/andlabs/delete.go index a2c50ae..d528b66 100644 --- a/andlabs/delete.go +++ b/andlabs/delete.go @@ -25,7 +25,7 @@ func (n *node) destroy() { switch n.WidgetType { case widget.Button: - log.Log(NOW, "Should delete Button here:", n.Name) + log.Log(NOW, "Should delete Button here:", n.progname) log.Log(NOW, "Parent:") pt.Dump(true) log.Log(NOW, "Child:") @@ -33,7 +33,7 @@ func (n *node) destroy() { if (pt.uiBox == nil) { log.Log(NOW, "Don't know how to destroy this") } else { - log.Log(NOW, "Fuck it, destroy the whole box", n.parent.Name) + log.Log(NOW, "Fuck it, destroy the whole box", n.parent.progname) // pt.uiBox.Destroy() // You have a bug: You cannot destroy a uiControl while it still has a parent. pt.uiBox.SetPadded(false) pt.uiBox.Delete(4) @@ -43,7 +43,7 @@ func (n *node) destroy() { } case widget.Window: - log.Log(NOW, "Should delete Window here:", n.Name) + log.Log(NOW, "Should delete Window here:", n.progname) default: log.Log(NOW, "Fuckit, let's destroy a button") if (ct.uiButton != nil) { -- cgit v1.2.3