]> gitweb.factorcode.org Git - factor.git/commitdiff
ui.gadgets: fix help-lint warnings.
authorJohn Benediktsson <mrjbq7@gmail.com>
Sun, 16 Aug 2015 17:46:28 +0000 (10:46 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sun, 16 Aug 2015 17:46:28 +0000 (10:46 -0700)
basis/ui/gadgets/labeled/labeled-docs.factor
basis/ui/gadgets/toolbar/toolbar-docs.factor

index 321176375007811dd2dcde9184695411c31a1c59..6ce145336f2037b79afcbcdcaec184fac352087a 100644 (file)
@@ -6,7 +6,7 @@ HELP: labeled-gadget
 { $class-description "A labeled gadget can be created by calling " { $link <labeled-gadget> } "." } ;
 
 HELP: <labeled-gadget>
-{ $values { "gadget" gadget } { "title" string } { "newgadget" "a new " { $link <labeled-gadget> } } }
+{ $values { "gadget" gadget } { "title" string } { "labeled" "a new " { $link <labeled-gadget> } } }
 { $description "Creates a new " { $link labeled-gadget } " display " { $snippet "gadget" } " with " { $snippet "title" } " on top." } ;
 
 ARTICLE: "ui.gadgets.labeled" "Labeled gadgets"
index 865a870fd72d4bf1bded5e50bb6b673f43ab7196..c9736ae4cd7e8b6b9c9f560a09037a848f57d9e0 100644 (file)
@@ -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: <toolbar>
 { $values { "target" object } { "toolbar" gadget } }
 { $description "Creates a row of " { $link <command-button> } " 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"