summaryrefslogtreecommitdiff
path: root/gocui/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'gocui/main.go')
-rw-r--r--gocui/main.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/gocui/main.go b/gocui/main.go
index f8270d5..5157ecd 100644
--- a/gocui/main.go
+++ b/gocui/main.go
@@ -6,7 +6,7 @@ package main
import (
"os"
- "go.wit.com/gui/toolkits"
+ "go.wit.com/gui/widget"
)
// sets defaults and establishes communication
@@ -17,7 +17,7 @@ func init() {
// init the config struct default values
Set(&me, "default")
- pluginChan = make(chan toolkit.Action)
+ pluginChan = make(chan widget.Action)
log(logNow, "Init() start pluginChan")
go catchActionChannel()
@@ -71,8 +71,8 @@ func standardExit() {
}
func sendBackQuit() {
// send 'Quit' back to the program (?)
- var a toolkit.Action
- a.ActionType = toolkit.UserQuit
+ var a widget.Action
+ a.ActionType = widget.UserQuit
callback <- a
}