summaryrefslogtreecommitdiff
path: root/action.go
diff options
context:
space:
mode:
Diffstat (limited to 'action.go')
-rw-r--r--action.go10
1 files changed, 1 insertions, 9 deletions
diff --git a/action.go b/action.go
index aa3c4d2..0515ef5 100644
--- a/action.go
+++ b/action.go
@@ -103,15 +103,7 @@ func show(n *tree.Node, b bool) {
}
}
-func enableWidget(n *tree.Node) {
- enable(n, true)
-}
-
-func disableWidget(n *tree.Node) {
- enable(n, false)
-}
-
-func enable(n *tree.Node, b bool) {
+func realEnable(n *tree.Node, b bool) {
if !ready(n) {
return
}