summaryrefslogtreecommitdiff
path: root/redraw.go
diff options
context:
space:
mode:
Diffstat (limited to 'redraw.go')
-rw-r--r--redraw.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/redraw.go b/redraw.go
index 756ea75..2187bb1 100644
--- a/redraw.go
+++ b/redraw.go
@@ -2,7 +2,7 @@ package gui
import (
"go.wit.com/log"
- "go.wit.com/gui/toolkits"
+ "go.wit.com/gui/widget"
)
// This recreates the whole GUI for a plugin
@@ -23,12 +23,12 @@ func (n *Node) redraw(p *aplug) {
func (n *Node) redo(plug *aplug) {
log.Info("redo()", plug.name, n.id, n.WidgetType, n.Name)
- var a *toolkit.Action
- a = new(toolkit.Action)
+ var a *widget.Action
+ a = new(widget.Action)
a.Name = n.Name
a.Text = n.Text
- a.ActionType = toolkit.Add
+ a.ActionType = widget.Add
a.WidgetType = n.WidgetType
a.WidgetId = n.id