summaryrefslogtreecommitdiff
path: root/treeInit.go
diff options
context:
space:
mode:
Diffstat (limited to 'treeInit.go')
-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