gimp r28129 - in trunk: . app/pdb libgimp tools/pdbgen/pdb



Author: neo
Date: Sun Mar  8 11:49:01 2009
New Revision: 28129
URL: http://svn.gnome.org/viewvc/gimp?rev=28129&view=rev

Log:
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.



Modified:
   trunk/ChangeLog
   trunk/app/pdb/image-cmds.c
   trunk/libgimp/gimpimage_pdb.c
   trunk/tools/pdbgen/pdb/image.pdb

Modified: trunk/app/pdb/image-cmds.c
==============================================================================
--- trunk/app/pdb/image-cmds.c	(original)
+++ trunk/app/pdb/image-cmds.c	Sun Mar  8 11:49:01 2009
@@ -3567,7 +3567,7 @@
   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",

Modified: trunk/libgimp/gimpimage_pdb.c
==============================================================================
--- trunk/libgimp/gimpimage_pdb.c	(original)
+++ trunk/libgimp/gimpimage_pdb.c	Sun Mar  8 11:49:01 2009
@@ -1214,8 +1214,9 @@
  *
  * 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.

Modified: trunk/tools/pdbgen/pdb/image.pdb
==============================================================================
--- trunk/tools/pdbgen/pdb/image.pdb	(original)
+++ trunk/tools/pdbgen/pdb/image.pdb	Sun Mar  8 11:49:01 2009
@@ -1197,9 +1197,9 @@
     $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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]