diff options
Diffstat (limited to 'andlabs/delete.go')
| -rw-r--r-- | andlabs/delete.go | 6 |
1 files changed, 3 insertions, 3 deletions
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) { |
