From 2cbf8a7c96f03eccd1eefd306567ad85073ac096 Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Mon, 6 Sep 2010 23:19:00 +0200 Subject: [PATCH] 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. --- app/pdb/drawable-cmds.c | 2 +- libgimp/gimpdrawable_pdb.c | 7 ++++--- tools/pdbgen/pdb/drawable.pdb | 7 ++++--- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/app/pdb/drawable-cmds.c b/app/pdb/drawable-cmds.c index 7d42231ad5..46a97a5966 100644 --- a/app/pdb/drawable-cmds.c +++ b/app/pdb/drawable-cmds.c @@ -2397,7 +2397,7 @@ register_drawable_procs (GimpPDB *pdb) gimp_procedure_set_static_strings (procedure, "gimp-drawable-fill", "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", "1995-1996", diff --git a/libgimp/gimpdrawable_pdb.c b/libgimp/gimpdrawable_pdb.c index 5ee66834ff..18cc8aa6a5 100644 --- a/libgimp/gimpdrawable_pdb.c +++ b/libgimp/gimpdrawable_pdb.c @@ -1153,9 +1153,10 @@ gimp_drawable_set_pixel (gint32 drawable_ID, * 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. + * 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. * * Returns: TRUE on success. */ diff --git a/tools/pdbgen/pdb/drawable.pdb b/tools/pdbgen/pdb/drawable.pdb index 33991d090a..f666b2ac54 100644 --- a/tools/pdbgen/pdb/drawable.pdb +++ b/tools/pdbgen/pdb/drawable.pdb @@ -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 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 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. HELP &std_pdb_misc;