Commit eb22d078 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

corrected documentation of the position parameter.

2009-03-08  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/image.pdb (image_add_channel): corrected
	documentation of the position parameter.

	* app/pdb/image-cmds.c
	* libgimp/gimpimage_pdb.c: regenerated.


svn path=/trunk/; revision=28129
parent 14548a91
2009-03-08 Sven Neumann <sven@gimp.org>
* tools/pdbgen/pdb/image.pdb (image_add_channel): corrected
documentation of the position parameter.
* app/pdb/image-cmds.c
* libgimp/gimpimage_pdb.c: regenerated.
2009-03-08 Sven Neumann <sven@gimp.org>
* app/widgets/gimpcontainerview.c
......
......@@ -3567,7 +3567,7 @@ register_image_procs (GimpPDB *pdb)
gimp_procedure_set_static_strings (procedure,
"gimp-image-add-channel",
"Add the specified channel to the image.",
"This procedure adds the specified channel to the image. The position channel is not currently used, so the channel is always inserted at the top of the channel stack.",
"This procedure adds the specified channel to the image at the given position. If the position is specified as -1, then the channel is inserted above the active channel or, if no channel is active, at the top of the channel stack.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
......
......@@ -1214,8 +1214,9 @@ gimp_image_lower_layer_to_bottom (gint32 image_ID,
*
* Add the specified channel to the image.
*
* This procedure adds the specified channel to the image. The position
* channel is not currently used, so the channel is always inserted at
* This procedure adds the specified channel to the image at the given
* position. If the position is specified as -1, then the channel is
* inserted above the active channel or, if no channel is active, at
* the top of the channel stack.
*
* Returns: TRUE on success.
......
......@@ -1197,9 +1197,9 @@ sub image_add_channel {
$blurb = 'Add the specified channel to the image.';
$help = <<'HELP';
This procedure adds the specified channel to the image. The position channel is
not currently used, so the channel is always inserted at the top of the channel
stack.
This procedure adds the specified channel to the image at the given position.
If the position is specified as -1, then the channel is inserted above the
active channel or, if no channel is active, at the top of the channel stack.
HELP
&std_pdb_misc;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment