corrected documentation for gimp_image_[lower|raise]_layer(). We do not

2006-03-02  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/image.pdb: corrected documentation for
	gimp_image_[lower|raise]_layer(). We do not any longer refuse to
	raise and lower based on a missing alpha channel.

	* app/pdb/image_cmds.c
	* libgimp/gimpimage_pdb.c: regenerated.
This commit is contained in:
Sven Neumann 2006-03-02 14:38:50 +00:00 committed by Sven Neumann
parent 95ad3a13ab
commit 9694e5f5c8
4 changed files with 20 additions and 14 deletions

View File

@ -1,3 +1,12 @@
2006-03-02 Sven Neumann <sven@gimp.org>
* tools/pdbgen/pdb/image.pdb: corrected documentation for
gimp_image_[lower|raise]_layer(). We do not any longer refuse to
raise and lower based on a missing alpha channel.
* app/pdb/image_cmds.c
* libgimp/gimpimage_pdb.c: regenerated.
2006-03-02 Sven Neumann <sven@gimp.org>
* autogen.sh: readded version check for glib-gettextize.

View File

@ -1979,7 +1979,7 @@ static ProcRecord image_raise_layer_proc =
"gimp-image-raise-layer",
"gimp-image-raise-layer",
"Raise the specified layer in the image's layer stack",
"This procedure raises the specified layer one step in the existing layer stack. It will not move the layer if there is no layer above it, or the layer has no alpha channel.",
"This procedure raises the specified layer one step in the existing layer stack. It will not move the layer if there is no layer above it.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -2035,7 +2035,7 @@ static ProcRecord image_lower_layer_proc =
"gimp-image-lower-layer",
"gimp-image-lower-layer",
"Lower the specified layer in the image's layer stack",
"This procedure lowers the specified layer one step in the existing layer stack. It will not move the layer if there is no layer below it, or the layer has no alpha channel.",
"This procedure lowers the specified layer one step in the existing layer stack. It will not move the layer if there is no layer below it.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -2091,7 +2091,7 @@ static ProcRecord image_raise_layer_to_top_proc =
"gimp-image-raise-layer-to-top",
"gimp-image-raise-layer-to-top",
"Raise the specified layer in the image's layer stack to top of stack",
"This procedure raises the specified layer to top of the existing layer stack. It will not move the layer if there is no layer above it, or the layer has no alpha channel.",
"This procedure raises the specified layer to top of the existing layer stack. It will not move the layer if there is no layer above it.",
"Wolfgang Hofer, Sven Neumann",
"Wolfgang Hofer",
"1998",
@ -2147,7 +2147,7 @@ static ProcRecord image_lower_layer_to_bottom_proc =
"gimp-image-lower-layer-to-bottom",
"gimp-image-lower-layer-to-bottom",
"Lower the specified layer in the image's layer stack to bottom of stack",
"This procedure lowers the specified layer to bottom of the existing layer stack. It will not move the layer if there is no layer below it, or the layer has no alpha channel.",
"This procedure lowers the specified layer to bottom of the existing layer stack. It will not move the layer if there is no layer below it.",
"Wolfgang Hofer, Sven Neumann",
"Wolfgang Hofer",
"1998",
@ -2730,7 +2730,7 @@ static ProcRecord image_lower_channel_proc =
"gimp-image-lower-channel",
"gimp-image-lower-channel",
"Lower the specified layer in the image's layer stack",
"This procedure lowers the specified layer one step in the existing layer stack. It will not move the layer if there is no layer below it, or the layer has no alpha channel.",
"This procedure lowers the specified layer one step in the existing layer stack. It will not move the layer if there is no layer below it.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",

View File

@ -968,7 +968,7 @@ gimp_image_remove_layer (gint32 image_ID,
*
* This procedure raises the specified layer one step in the existing
* layer stack. It will not move the layer if there is no layer above
* it, or the layer has no alpha channel.
* it.
*
* Returns: TRUE on success.
*/
@ -1002,7 +1002,7 @@ gimp_image_raise_layer (gint32 image_ID,
*
* This procedure lowers the specified layer one step in the existing
* layer stack. It will not move the layer if there is no layer below
* it, or the layer has no alpha channel.
* it.
*
* Returns: TRUE on success.
*/
@ -1036,7 +1036,7 @@ gimp_image_lower_layer (gint32 image_ID,
*
* This procedure raises the specified layer to top of the existing
* layer stack. It will not move the layer if there is no layer above
* it, or the layer has no alpha channel.
* it.
*
* Returns: TRUE on success.
*/
@ -1071,7 +1071,7 @@ gimp_image_raise_layer_to_top (gint32 image_ID,
*
* This procedure lowers the specified layer to bottom of the existing
* layer stack. It will not move the layer if there is no layer below
* it, or the layer has no alpha channel.
* it.
*
* Returns: TRUE on success.
*/
@ -1427,7 +1427,7 @@ gimp_image_raise_channel (gint32 image_ID,
*
* This procedure lowers the specified layer one step in the existing
* layer stack. It will not move the layer if there is no layer below
* it, or the layer has no alpha channel.
* it.
*
* Returns: TRUE on success.
*/

View File

@ -90,15 +90,12 @@ sub type_move {
$extra =~ s/_/ /g;
}
my $layer = "";
$layer = ', or the layer has no alpha channel' if $type eq 'layer';
$blurb = "\u$op the specified $type in the image's $type stack";
$blurb .= " $extra of stack" if $extra;
$help = <<HELP;
This procedure ${op}s the specified $type one step in the existing $type stack.
It will not move the $type if there is no $type $pos it$layer.
It will not move the $type if there is no $type $pos it.
HELP
$help =~ s/one step in/"$extra of"/e if $extra;