summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-04 01:58:13 -0600
committerJeff Carr <[email protected]>2025-03-04 01:58:13 -0600
commit5ebb13a45424b16ed99a3df644b3042f846900b1 (patch)
tree899a57a681aa654c62af0d4f8fa17ba979847724
parent6127fa1cbb8a68f0b125f50b760822828c7f20e5 (diff)
add a frozen channelv0.22.33
-rw-r--r--treeInit.go10
1 files changed, 4 insertions, 6 deletions
diff --git a/treeInit.go b/treeInit.go
index 4443264..aa709a8 100644
--- a/treeInit.go
+++ b/treeInit.go
@@ -51,9 +51,6 @@ func Callback(guiCallback chan widget.Action) {
}
func PluginChannel() chan widget.Action {
- log.Info("PluginChannel() INIT(l)")
- log.Info("PluginChannel() INIT(l)")
- log.Info("PluginChannel() INIT(l)")
initOnce.Do(initPlugin)
for {
if me.myTree != nil {
@@ -62,12 +59,13 @@ func PluginChannel() chan widget.Action {
log.Info("me.myTree == nil")
time.Sleep(300 * time.Millisecond)
}
- log.Info("PluginChannel() DONE()")
- log.Info("PluginChannel() DONE()")
- log.Info("PluginChannel() DONE()")
return me.myTree.PluginChannel()
}
+func FrozenChannel() chan widget.Action {
+ return me.myTree.FrozenChannel()
+}
+
func initTree() *tree.TreeInfo {
t := tree.New()
t.PluginName = PLUGIN