pdb: mention gimp_edit_fill() in the gimp_drawable_fill() docs

The gimp_drawable_fill() already mentioned the bucket fill tool.
However the procedure that the developer is most likely looking
for is gimp_edit_fill(), so mention that as well.
This commit is contained in:
Sven Neumann 2010-09-06 23:19:00 +02:00
parent 9486971f07
commit 2cbf8a7c96
3 changed files with 9 additions and 7 deletions

View File

@ -2397,7 +2397,7 @@ register_drawable_procs (GimpPDB *pdb)
gimp_procedure_set_static_strings (procedure, gimp_procedure_set_static_strings (procedure,
"gimp-drawable-fill", "gimp-drawable-fill",
"Fill the drawable with the specified fill mode.", "Fill the drawable with the specified fill mode.",
"This procedure fills the drawable. If the fill mode is foreground the current foreground color is used. If the fill mode is background, the current background color is used. If the fill type is white, then white is used. Transparent fill only affects layers with an alpha channel, in which case the alpha channel is set to transparent. If the drawable has no alpha channel, it is filled to white. No fill leaves the drawable's contents undefined. This procedure is unlike the bucket fill tool because it fills regardless of a selection. Its main purpose is to fill a newly created drawable before adding it to the image. This operation cannot be undone.", "This procedure fills the drawable. If the fill mode is foreground the current foreground color is used. If the fill mode is background, the current background color is used. If the fill type is white, then white is used. Transparent fill only affects layers with an alpha channel, in which case the alpha channel is set to transparent. If the drawable has no alpha channel, it is filled to white. No fill leaves the drawable's contents undefined. This procedure is unlike 'gimp-edit-fill' or the bucket fill tool because it fills regardless of a selection. Its main purpose is to fill a newly created drawable before adding it to the image. This operation cannot be undone.",
"Spencer Kimball & Peter Mattis", "Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis", "Spencer Kimball & Peter Mattis",
"1995-1996", "1995-1996",

View File

@ -1153,9 +1153,10 @@ gimp_drawable_set_pixel (gint32 drawable_ID,
* with an alpha channel, in which case the alpha channel is set to * with an alpha channel, in which case the alpha channel is set to
* transparent. If the drawable has no alpha channel, it is filled to * transparent. If the drawable has no alpha channel, it is filled to
* white. No fill leaves the drawable's contents undefined. This * white. No fill leaves the drawable's contents undefined. This
* procedure is unlike the bucket fill tool because it fills regardless * procedure is unlike gimp_edit_fill() or the bucket fill tool because
* of a selection. Its main purpose is to fill a newly created drawable * it fills regardless of a selection. Its main purpose is to fill a
* before adding it to the image. This operation cannot be undone. * newly created drawable before adding it to the image. This operation
* cannot be undone.
* *
* Returns: TRUE on success. * Returns: TRUE on success.
*/ */

View File

@ -126,9 +126,10 @@ channel, in which case the alpha channel is set to transparent. If the
drawable has no alpha channel, it is filled to white. No fill leaves drawable has no alpha channel, it is filled to white. No fill leaves
the drawable's contents undefined. the drawable's contents undefined.
This procedure is unlike the bucket fill tool because it fills This procedure is unlike gimp_edit_fill() or the bucket fill tool
regardless of a selection. Its main purpose is to fill a newly created because it fills regardless of a selection. Its main purpose is to
drawable before adding it to the image. This operation cannot be undone. fill a newly created drawable before adding it to the image. This
operation cannot be undone.
HELP HELP
&std_pdb_misc; &std_pdb_misc;