diff --git a/ChangeLog b/ChangeLog index aaca31c2c8..85f53394f9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2006-03-02 Sven Neumann + + * 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 * autogen.sh: readded version check for glib-gettextize. diff --git a/app/pdb/image_cmds.c b/app/pdb/image_cmds.c index b87a6f18dd..0c38906dfb 100644 --- a/app/pdb/image_cmds.c +++ b/app/pdb/image_cmds.c @@ -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", diff --git a/libgimp/gimpimage_pdb.c b/libgimp/gimpimage_pdb.c index a9cd38a611..530e6d1d8b 100644 --- a/libgimp/gimpimage_pdb.c +++ b/libgimp/gimpimage_pdb.c @@ -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. */ diff --git a/tools/pdbgen/pdb/image.pdb b/tools/pdbgen/pdb/image.pdb index 183da6db19..c3623ab01f 100644 --- a/tools/pdbgen/pdb/image.pdb +++ b/tools/pdbgen/pdb/image.pdb @@ -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 = <