From 6b440e5e81d89cf33a6030d454b30f192a1eea2d Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Sun, 16 Aug 2015 10:46:28 -0700 Subject: [PATCH] ui.gadgets: fix help-lint warnings. --- basis/ui/gadgets/labeled/labeled-docs.factor | 2 +- basis/ui/gadgets/toolbar/toolbar-docs.factor | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/basis/ui/gadgets/labeled/labeled-docs.factor b/basis/ui/gadgets/labeled/labeled-docs.factor index 3211763750..6ce145336f 100644 --- a/basis/ui/gadgets/labeled/labeled-docs.factor +++ b/basis/ui/gadgets/labeled/labeled-docs.factor @@ -6,7 +6,7 @@ HELP: labeled-gadget { $class-description "A labeled gadget can be created by calling " { $link } "." } ; HELP: -{ $values { "gadget" gadget } { "title" string } { "newgadget" "a new " { $link } } } +{ $values { "gadget" gadget } { "title" string } { "labeled" "a new " { $link } } } { $description "Creates a new " { $link labeled-gadget } " display " { $snippet "gadget" } " with " { $snippet "title" } " on top." } ; ARTICLE: "ui.gadgets.labeled" "Labeled gadgets" diff --git a/basis/ui/gadgets/toolbar/toolbar-docs.factor b/basis/ui/gadgets/toolbar/toolbar-docs.factor index 865a870fd7..c9736ae4cd 100644 --- a/basis/ui/gadgets/toolbar/toolbar-docs.factor +++ b/basis/ui/gadgets/toolbar/toolbar-docs.factor @@ -1,9 +1,7 @@ -USING: help.markup help.syntax ui.gadgets ui.gadgets.buttons -ui.gadgets.labels ui.pens kernel models classes ; +USING: help.markup help.syntax kernel ui.gadgets +ui.gadgets.buttons ; IN: ui.gadgets.toolbar HELP: { $values { "target" object } { "toolbar" gadget } } { $description "Creates a row of " { $link } " gadgets invoking commands on " { $snippet "target" } ". The commands are taken from the " { $snippet "\"toolbar\"" } " command group of each class in " { $snippet "classes" } "." } ; - -ABOUT: "ui.gadgets.toolbar"