andlabs now works the 'new way'
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
b7ef4f6a2e
commit
de249412fb
|
@ -336,6 +336,9 @@ func newaction(a *toolkit.Action, n *Node, where *Node) {
|
|||
continue
|
||||
}
|
||||
if (aplug.pluginChan == nil) {
|
||||
log(debugNow, "Action() SEND old way")
|
||||
log(debugNow, "Action() SEND old way")
|
||||
log(debugNow, "Action() SEND old way")
|
||||
aplug.Action(a)
|
||||
} else {
|
||||
log(debugNow, "Action() SEND pluginChan")
|
||||
|
|
|
@ -55,6 +55,11 @@ func Callback(guiCallback chan toolkit.Action) {
|
|||
callback = guiCallback
|
||||
}
|
||||
|
||||
func PluginChannel() chan toolkit.Action {
|
||||
return pluginChan
|
||||
}
|
||||
|
||||
|
||||
// Other goroutines must use this to access the GUI
|
||||
//
|
||||
// You can not acess / process the GUI thread directly from
|
||||
|
|
Loading…
Reference in New Issue