summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'init.go')
-rw-r--r--init.go9
1 files changed, 6 insertions, 3 deletions
diff --git a/init.go b/init.go
index 5534690..9c6ef5d 100644
--- a/init.go
+++ b/init.go
@@ -31,18 +31,21 @@ func (me *TreeInfo) catchActionChannel() {
log.Info("catchActionChannel() for loop")
select {
case a := <-me.pluginChan:
- log.Info("catchActionChannel() SELECT widget id =", a.WidgetId, a.ProgName)
- log.Warn("catchActionChannel() STUFF", a.WidgetId, a.ActionType, a.WidgetType)
+ log.Verbose("catchActionChannel() on ", a.WidgetId, a.WidgetType, a.ProgName)
+ // log.Warn("catchActionChannel() STUFF", a.WidgetId, a.ActionType, a.WidgetType)
+ /*
if a.WidgetType == widget.Dropdown {
log.Warn("Found dropdown", a.WidgetId, a.ActionType, a.WidgetType)
for i, s := range a.State.Strings {
log.Warn("a.State.Strings =", i, s)
}
}
+ */
muAction.Lock()
+ // send this to the toolkit
me.toolkit(a)
muAction.Unlock()
- log.Info("catchActionChannel() STUFF END", a.WidgetId, a.ActionType, a.WidgetType)
+ // log.Info("catchActionChannel() STUFF END", a.WidgetId, a.ActionType, a.WidgetType)
}
}
}