Commit 3f505032 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

removed '...' from progress messages. They are redundant because we are

2005-09-30  Michael Natterer  <mitch@gimp.org>

	* plug-ins/*/*.c: removed '...' from progress messages. They are
	redundant because we are already in a progress. Ported some more
	g_strdup_printf()/gimp_progress_init() to
	gimp_progress_init_printf(). Core will follow...
parent 8ef2823a
2005-09-30 Michael Natterer <mitch@gimp.org>
* plug-ins/*/*.c: removed '...' from progress messages. They are
redundant because we are already in a progress. Ported some more
g_strdup_printf()/gimp_progress_init() to
gimp_progress_init_printf(). Core will follow...
2005-09-29 Manish Singh <yosh@gimp.org>
* plug-ins/uri/uri-backend-wget.c: Finish porting to new progress
......
......@@ -377,7 +377,7 @@ run (const gchar *name,
/* Make sure that the drawable is indexed or RGB color */
if (gimp_drawable_is_rgb (drawable->drawable_id))
{
gimp_progress_init (_("Rendering Fractal..."));
gimp_progress_init (_("Rendering fractal"));
/* Set the tile cache size */
gimp_tile_cache_ntiles (2 * (drawable->width / gimp_tile_width() + 1));
......
......@@ -100,7 +100,7 @@ compute_image (void)
row = g_new (guchar, obpp * width);
gimp_progress_init (_("Lighting Effects..."));
gimp_progress_init (_("Lighting Effects"));
/* if (mapvals.antialiasing==FALSE)
{ */
......
......@@ -271,16 +271,16 @@ compute_image (void)
switch (mapvals.maptype)
{
case MAP_PLANE:
gimp_progress_init (_("Map to Plane..."));
gimp_progress_init (_("Map to plane"));
break;
case MAP_SPHERE:
gimp_progress_init (_("Map to Sphere..."));
gimp_progress_init (_("Map to sphere"));
break;
case MAP_BOX:
gimp_progress_init (_("Map to Box..."));
gimp_progress_init (_("Map to box"));
break;
case MAP_CYLINDER:
gimp_progress_init (_("Map to Cylinder..."));
gimp_progress_init (_("Map to cylinder"));
break;
}
......
......@@ -154,7 +154,7 @@ ReadBMP (const gchar *name)
return -1;
}
gimp_progress_init_printf (_("Opening '%s'..."),
gimp_progress_init_printf (_("Opening '%s'"),
gimp_filename_to_utf8 (name));
/* It is a File. Now is it a Bitmap? Read the shortest possible header */
......@@ -613,7 +613,7 @@ ReadImage (FILE *fd,
/* compressed image (either RLE8 or RLE4) */
while (ypos >= 0 && xpos <= width)
{
if (!ReadOK (fd, buffer, 2))
if (!ReadOK (fd, buffer, 2))
{
g_message (_("The bitmap ends unexpectedly."));
break;
......
......@@ -208,7 +208,7 @@ WriteBMP (const gchar *filename,
0, 0, drawable->width, drawable->height);
/* And let's begin the progress */
gimp_progress_init_printf (_("Saving '%s'..."),
gimp_progress_init_printf (_("Saving '%s'"),
gimp_filename_to_utf8 (filename));
cur_progress = 0;
......
......@@ -317,7 +317,7 @@ run (const gchar *name,
/* Make sure that the drawable is RGB or RGBA */
if (gimp_drawable_is_rgb (drawable->drawable_id))
{
gimp_progress_init (_("AlienMap2: Transforming..."));
gimp_progress_init (_("AlienMap2: Transforming"));
/* Set the tile cache size */
gimp_tile_cache_ntiles (2 * (drawable->width /
......
......@@ -274,7 +274,6 @@ load_image (const gchar *file,
const gchar *brief)
{
FILE *fp; /* Read file pointer */
gchar *progress; /* Title for progress display */
guchar header[32]; /* File header */
gint height, width, /* Dimensions of image */
offx, offy, /* Layer offets */
......@@ -302,10 +301,8 @@ load_image (const gchar *file,
return -1;
}
progress = g_strdup_printf (_("Opening '%s'..."),
gimp_filename_to_utf8 (brief));
gimp_progress_init (progress);
g_free (progress);
gimp_progress_init_printf (_("Opening '%s'"),
gimp_filename_to_utf8 (brief));
/* Get the image dimensions and create the image... */
......@@ -539,7 +536,6 @@ save_image (const gchar *file,
gint32 layer)
{
FILE *fp; /* Write file pointer */
char *progress; /* Title for progress display */
guchar header[32]; /* File header */
gint bpp; /* Bit per pixel */
gint colours, type; /* Number of colours, type of layer */
......@@ -574,10 +570,8 @@ save_image (const gchar *file,
return FALSE;
}
progress = g_strdup_printf (_("Saving '%s'..."),
gimp_filename_to_utf8 (brief));
gimp_progress_init (progress);
g_free (progress);
gimp_progress_init_printf (_("Saving '%s'"),
gimp_filename_to_utf8 (brief));
/* Headers */
memset (header, 0, 32);
......
......@@ -755,7 +755,7 @@ CML_main_function (gboolean preview_p)
}
if (! preview_p)
gimp_progress_init (_("CML_explorer: evoluting..."));
gimp_progress_init (_("CML Explorer: evoluting"));
/* rolling start */
for (index = 0; index < VALS.start_offset; index++)
......
......@@ -426,17 +426,17 @@ do_optimizations (GimpRunMode run_mode,
switch (opmode)
{
case OPUNOPTIMIZE:
gimp_progress_init (_("UnOptimizing Animation..."));
gimp_progress_init (_("Unoptimizing animation"));
break;
case OPFOREGROUND:
gimp_progress_init (_("Removing Animation Background..."));
gimp_progress_init (_("Removing animation background"));
break;
case OPBACKGROUND:
gimp_progress_init (_("Finding Animation Background..."));
gimp_progress_init (_("Finding animation background"));
break;
case OPOPTIMIZE:
default:
gimp_progress_init (_("Optimizing Animation..."));
gimp_progress_init (_("Optimizing animation"));
break;
}
......
......@@ -179,7 +179,7 @@ run (const gchar *name,
}
gimp_tile_cache_ntiles (2 * (drawable->width / gimp_tile_width () + 1));
gimp_progress_init (_("Applying lens..."));
gimp_progress_init (_("Applying lens"));
drawlens (drawable, NULL);
if (run_mode != GIMP_RUN_NONINTERACTIVE)
......
......@@ -147,7 +147,7 @@ run (const gchar *name,
gimp_drawable_is_indexed (drawable->drawable_id))
{
if (interactive)
gimp_progress_init (_("Cropping..."));
gimp_progress_init (_("Cropping"));
gimp_tile_cache_ntiles (MAX (drawable->width / gimp_tile_width (),
drawable->height / gimp_tile_height ()) + 1);
......
......@@ -115,7 +115,7 @@ run (const gchar *name,
if (gimp_drawable_is_rgb (drawable->drawable_id) ||
gimp_drawable_is_gray (drawable->drawable_id))
{
gimp_progress_init (_("Auto-Stretching HSV..."));
gimp_progress_init (_("Auto-Stretching HSV"));
gimp_tile_cache_ntiles (2 * (drawable->width / gimp_tile_width () + 1));
autostretch_hsv (drawable);
......
......@@ -187,7 +187,7 @@ run (const gchar *name,
if (gimp_drawable_is_rgb (drawable->drawable_id) ||
gimp_drawable_is_gray (drawable->drawable_id))
{
gimp_progress_init ( _("Adding Blinds..."));
gimp_progress_init ( _("Adding blinds"));
apply_blinds (drawable);
......
......@@ -187,7 +187,7 @@ run (const gchar *name,
if (gimp_drawable_is_rgb (drawable->drawable_id) ||
gimp_drawable_is_gray (drawable->drawable_id))
{
gimp_progress_init (_("Blurring..."));
gimp_progress_init (_("Blurring"));
gimp_tile_cache_ntiles (2 * (drawable->width / gimp_tile_width () + 1));
blur (drawable);
......
......@@ -168,7 +168,7 @@ run (const gchar *name,
/* Make sure that the drawable is RGB color */
if (gimp_drawable_is_rgb (drawable->drawable_id))
{
gimp_progress_init ( _("Border Average..."));
gimp_progress_init ( _("Border Average"));
borderaverage (drawable, &result_color);
if (run_mode != GIMP_RUN_NONINTERACTIVE)
......
......@@ -487,7 +487,7 @@ bumpmap (void)
gint progress;
gint drawable_tiles_per_row, bm_tiles_per_row;
gimp_progress_init (_("Bump-mapping..."));
gimp_progress_init (_("Bump-mapping"));
/* Get the bumpmap drawable */
if (bmvals.bumpmap_id != -1)
......
......@@ -112,7 +112,7 @@ run (const gchar *name,
if (gimp_drawable_is_rgb (drawable->drawable_id) ||
gimp_drawable_is_gray (drawable->drawable_id))
{
gimp_progress_init (_("Auto-Stretching Contrast..."));
gimp_progress_init (_("Auto-stretching contrast"));
gimp_tile_cache_ntiles (2 * (drawable->width / gimp_tile_width () + 1));
c_astretch (drawable);
......
......@@ -214,7 +214,7 @@ run (const gchar *name,
if (gimp_drawable_is_rgb (drawable->drawable_id) ||
gimp_drawable_is_gray (drawable->drawable_id))
{
gimp_progress_init ("Cartoon...");
gimp_progress_init ("Cartoon");
cartoon (drawable, NULL);
......
......@@ -199,7 +199,7 @@ analyze (GimpDrawable *drawable)
gint ofsx, ofsy;
GimpDrawable *selDrawable;
gimp_progress_init (_("Colorcube Analysis..."));
gimp_progress_init (_("Colorcube Analysis"));
gimp_drawable_mask_bounds (drawable->drawable_id, &x1, &y1, &x2, &y2);
......
......@@ -39,7 +39,6 @@
#define PLUG_IN_PROC "plug-in-colors-channel-mixer"
#define PLUG_IN_BINARY "channel_mixer"
#define PLUG_IN_VERSION "Channel Mixer 0.8"
#define PROGRESS_UPDATE_NUM 20
#define CM_LINE_SIZE 1024
......@@ -275,7 +274,7 @@ run (const gchar *name,
param[3].data.d_int32, mix.black.red_gain,
mix.black.green_gain, mix.black.blue_gain); */
gimp_progress_init (_(PLUG_IN_VERSION));
gimp_progress_init (_("Channel Mixer"));
channel_mixer (drawable);
......
......@@ -158,7 +158,7 @@ run (const gchar *name,
if (gimp_drawable_is_rgb (drawable->drawable_id) ||
gimp_drawable_is_gray (drawable->drawable_id))
{
gimp_progress_init (_("Adding Checkerboard..."));
gimp_progress_init (_("Adding checkerboard"));
do_checkerboard_pattern (drawable, NULL);
......
......@@ -114,7 +114,7 @@ run (const gchar *name,
if (gimp_drawable_is_rgb (drawable->drawable_id) ||
gimp_drawable_is_gray (drawable->drawable_id))
{
gimp_progress_init (_("Color Enhance..."));
gimp_progress_init (_("Color Enhance"));
gimp_tile_cache_ntiles (2 * (drawable->width / gimp_tile_width () + 1));
Color_Enhance (drawable);
......
......@@ -166,7 +166,7 @@ run (const gchar *name,
if (status == GIMP_PDB_SUCCESS)
{
gimp_progress_init (_("Colorifying..."));
gimp_progress_init (_("Colorifying"));
colorify (drawable, NULL);
......
......@@ -183,7 +183,7 @@ run (const gchar *name,
lock_alpha = gimp_layer_get_lock_alpha (drawable->drawable_id);
gimp_layer_set_lock_alpha (drawable->drawable_id, FALSE);
gimp_progress_init (_("Removing color..."));
gimp_progress_init (_("Removing color"));
gimp_rgn_iterate2 (drawable, 0 /* unused */, to_alpha_func, NULL);
gimp_layer_set_lock_alpha (drawable->drawable_id, lock_alpha);
......
......@@ -585,7 +585,7 @@ run (const gchar *name,
if (status == GIMP_PDB_SUCCESS)
{
gimp_progress_init (_("Composing..."));
gimp_progress_init (_("Composing"));
image_ID = compose (composevals.compose_type,
composevals.inputs,
......
......@@ -416,7 +416,7 @@ cubism (GimpDrawable *drawable,
}
else
{
gimp_progress_init (_("Cubistic Transformation..."));
gimp_progress_init (_("Cubistic transformation"));
gimp_pixel_rgn_init (&src_rgn, drawable,
x1, y1, (x2 - x1), (y2 - y1), TRUE, TRUE);
......
......@@ -761,7 +761,7 @@ run (const gchar *name,
{
cd = g_new (BenderDialog, 1);
cd->run = TRUE;
cd->show_progress = FALSE;
cd->show_progress = TRUE;
cd->drawable = l_active_drawable;
cd->rotation = (gdouble) param[3].data.d_float;
......@@ -2952,7 +2952,7 @@ p_vertical_bend (BenderDialog *cd,
l_progress_step = 1.0 / l_progress_max;
l_progress = 0.0;
if (cd->show_progress)
gimp_progress_init ( _("Curve Bend..."));
gimp_progress_init ( _("Curve Bend"));
for (l_row = l_first_row; l_row <= l_last_row; l_row++)
{
......
......@@ -339,7 +339,7 @@ run (const gchar *name,
if (status == GIMP_PDB_SUCCESS)
{
gimp_progress_init (_("Decomposing..."));
gimp_progress_init (_("Decomposing"));
num_images = decompose (image_ID, layer,
decovals.extract_type,
......
......@@ -156,7 +156,7 @@ run (const gchar *name,
if (gimp_drawable_is_rgb (drawable->drawable_id) ||
gimp_drawable_is_gray (drawable->drawable_id))
{
gimp_progress_init (_("Deinterlace..."));
gimp_progress_init (_("Deinterlace"));
gimp_tile_cache_ntiles (2 * (drawable->width /
gimp_tile_width () + 1));
deinterlace (drawable, NULL);
......
......@@ -374,22 +374,22 @@ DepthMerge_execute (DepthMerge *dm)
depthMap1HasAlpha = 0;
depthMap2HasAlpha = 0;
gimp_progress_init(_("Depth-merging..."));
gimp_progress_init (_("Depth-merging"));
resultRow = g_new(guchar, dm->selectionWidth * 4);
source1Row = g_new(guchar, dm->selectionWidth * 4);
source2Row = g_new(guchar, dm->selectionWidth * 4);
depthMap1Row = g_new(guchar, dm->selectionWidth );
depthMap2Row = g_new(guchar, dm->selectionWidth );
tempRow = g_new(guchar, dm->selectionWidth * 4);
resultRow = g_new (guchar, dm->selectionWidth * 4);
source1Row = g_new (guchar, dm->selectionWidth * 4);
source2Row = g_new (guchar, dm->selectionWidth * 4);
depthMap1Row = g_new (guchar, dm->selectionWidth );
depthMap2Row = g_new (guchar, dm->selectionWidth );
tempRow = g_new (guchar, dm->selectionWidth * 4);
if (dm->source1Drawable != NULL)
{
source1HasAlpha = gimp_drawable_has_alpha(dm->source1Drawable->drawable_id);
gimp_pixel_rgn_init(&source1Rgn, dm->source1Drawable,
dm->selectionX0, dm->selectionY0,
dm->selectionWidth, dm->selectionHeight,
FALSE, FALSE);
source1HasAlpha = gimp_drawable_has_alpha (dm->source1Drawable->drawable_id);
gimp_pixel_rgn_init (&source1Rgn, dm->source1Drawable,
dm->selectionX0, dm->selectionY0,
dm->selectionWidth, dm->selectionHeight,
FALSE, FALSE);
}
else
for (x = 0; x < dm->selectionWidth; x++)
......@@ -401,11 +401,11 @@ DepthMerge_execute (DepthMerge *dm)
}
if (dm->source2Drawable != NULL)
{
source2HasAlpha = gimp_drawable_has_alpha(dm->source2Drawable->drawable_id);
gimp_pixel_rgn_init(&source2Rgn, dm->source2Drawable,
dm->selectionX0, dm->selectionY0,
dm->selectionWidth, dm->selectionHeight,
FALSE, FALSE);
source2HasAlpha = gimp_drawable_has_alpha (dm->source2Drawable->drawable_id);
gimp_pixel_rgn_init (&source2Rgn, dm->source2Drawable,
dm->selectionX0, dm->selectionY0,
dm->selectionWidth, dm->selectionHeight,
FALSE, FALSE);
}
else
for (x = 0; x < dm->selectionWidth; x++)
......@@ -501,7 +501,8 @@ DepthMerge_execute (DepthMerge *dm)
dm->selectionX0, y,
dm->selectionWidth);
gimp_progress_update((double)(y-dm->selectionY0) / (double)(dm->selectionHeight-1));
gimp_progress_update ((double)(y-dm->selectionY0) /
(double)(dm->selectionHeight-1));
}
g_free (resultRow);
......
......@@ -269,7 +269,7 @@ destripe (GimpDrawable *drawable,
}
else
{
gimp_progress_init (_("Destriping..."));
gimp_progress_init (_("Destriping"));
gimp_drawable_mask_bounds (drawable->drawable_id, &x1, &y1, &x2, &y2);
width = x2 - x1;
......
......@@ -278,7 +278,6 @@ load_image (const gchar *filename)
gint32 layer_ID;
GimpDrawable *drawable;
FILE *DICOM;
gchar *temp;
gchar buf[500]; /* buffer for random things like scanning */
DicomInfo *dicominfo;
gint width = 0;
......@@ -298,10 +297,8 @@ load_image (const gchar *filename)
return -1;
}
temp = g_strdup_printf (_("Opening '%s'..."),
gimp_filename_to_utf8 (filename));
gimp_progress_init (temp);
g_free (temp);
gimp_progress_init_printf (_("Opening '%s'"),
gimp_filename_to_utf8 (filename));
/* allocate the necessary structures */
dicominfo = g_new0 (DicomInfo, 1);
......
......@@ -305,11 +305,11 @@ diffraction_func (gint x,
py = 5.0 + param->dvert * (y - param->y1);
diff_diffract (px, py, &rgb);
dest[0] = 255.0 * rgb.r;
dest[1] = 255.0 * rgb.g;
dest[2] = 255.0 * rgb.b;
if (bpp == 4)
dest[3] = 255;
}
......@@ -327,7 +327,7 @@ diffraction (GimpDrawable *drawable)
param.dhoriz = 10.0 / (x2 - x1 - 1);
param.dvert = -10.0 / (y2 - y1 - 1);
gimp_progress_init (_("Creating diffraction pattern..."));
gimp_progress_init (_("Creating diffraction pattern"));
iter = gimp_rgn_iterator_new (drawable, 0);
gimp_rgn_iterator_dest (iter, diffraction_func, &param);
gimp_rgn_iterator_free (iter);
......
......@@ -274,7 +274,7 @@ run (const gchar *name,
if (status == GIMP_PDB_SUCCESS && (dvals.do_x || dvals.do_y))
{
gimp_progress_init (_("Displacing..."));
gimp_progress_init (_("Displacing"));
/* run the displace effect */
displace (drawable, NULL);
......
......@@ -227,7 +227,7 @@ run (const gchar *name,
if (gimp_drawable_is_rgb (drawable->drawable_id) ||
gimp_drawable_is_gray (drawable->drawable_id))
{
gimp_progress_init (_("Edge Detection..."));
gimp_progress_init (_("Edge detection"));
/* set the tile cache size */
gimp_tile_cache_ntiles (TILE_CACHE_SIZE);
......
......@@ -404,7 +404,7 @@ emboss (GimpDrawable *drawable,
for (y = 0; y < height - 2; y++)
{
if (! preview && (y % p_update == 0))
gimp_progress_update ((gdouble) y / (gdouble) height);
gimp_progress_update ((gdouble) y / (gdouble) height);
gimp_pixel_rgn_get_rect (&src, srcbuf, x1, y1+y, width, 3);
EmbossRow (srcbuf, evals.embossp ? (guchar *) 0 : srcbuf,
......
......@@ -179,7 +179,7 @@ run (const gchar *name,
if (status == GIMP_PDB_SUCCESS)
{
gimp_progress_init (_("Engraving..."));
gimp_progress_init (_("Engraving"));
engrave (drawable, NULL);
......
......@@ -211,7 +211,7 @@ run (const gchar *name,
{
if (gimp_drawable_is_rgb (drawable->drawable_id))
{
gimp_progress_init (_("Color Exchange..."));
gimp_progress_init (_("Color Exchange"));
gimp_tile_cache_ntiles (2 * (drawable->width /
gimp_tile_width () + 1));
exchange (drawable, NULL);
......
......@@ -320,7 +320,7 @@ run (const gchar *name,
if (status == GIMP_PDB_SUCCESS)
{
gimp_progress_init (_("Composing Images..."));
gimp_progress_init (_("Composing images"));
image_ID = film ();
......
......@@ -267,7 +267,7 @@ run (const gchar *name,
if (gimp_drawable_is_rgb (drawable->drawable_id) ||
gimp_drawable_is_gray (drawable->drawable_id))
{
gimp_progress_init (_("Render Flare..."));
gimp_progress_init (_("Render flare"));
gimp_tile_cache_ntiles (2 *
(drawable->width / gimp_tile_width () + 1));
......
......@@ -400,7 +400,7 @@ run (const gchar *name,
/* Make sure that the drawable is gray or RGB color */
if (gimp_drawable_is_rgb (drawable->drawable_id))
{
gimp_progress_init (_("Applying Filter Pack..."));
gimp_progress_init (_("Applying filter pack"));
gimp_tile_cache_ntiles (2 * (drawable->width / gimp_tile_width () + 1));
fp (drawable);
......
......@@ -415,7 +415,7 @@ run (const gchar *name,
if (gimp_drawable_is_rgb (drawable->drawable_id) ||
gimp_drawable_is_gray (drawable->drawable_id))
{
gimp_progress_init (_("Gaussian Blur..."));
gimp_progress_init (_("Gaussian Blur"));
/* run the gaussian blur */
gauss (drawable,
......
......@@ -350,7 +350,7 @@ load_image (const gchar *filename)
return -1;
}
gimp_progress_init_printf (_("Opening '%s'..."),
gimp_progress_init_printf (_("Opening '%s'"),
gimp_filename_to_utf8 (filename));
if (read (fd, &bh, sizeof (BrushHeader)) != sizeof (BrushHeader))
......@@ -606,7 +606,7 @@ save_image (const gchar *filename,
return FALSE;
}
gimp_progress_init_printf (_("Saving '%s'..."),
gimp_progress_init_printf (_("Saving '%s'"),
gimp_filename_to_utf8 (filename));
drawable = gimp_drawable_get (drawable_ID);
......
......@@ -1004,7 +1004,7 @@ save_image (const gchar *filename,
/* init the progress meter */
gimp_progress_init_printf (_("Saving '%s'..."),
gimp_progress_init_printf (_("Saving '%s'"),
gimp_filename_to_utf8 (filename));
......
......@@ -299,7 +299,7 @@ load_image (const gchar *filename)
return -1;
}
gimp_progress_init_printf (_("Opening '%s'..."),
gimp_progress_init_printf (_("Opening '%s'"),
gimp_filename_to_utf8 (filename));
if (!ReadOK (fd, buf, 6))
......
......@@ -651,7 +651,7 @@ gih_load_image (const gchar *filename)
return -1;
}
gimp_progress_init_printf (_("Opening '%s'..."),
gimp_progress_init_printf (_("Opening '%s'"),
gimp_filename_to_utf8 (filename));
/* The file format starts with a painfully simple text header */
......@@ -1260,7 +1260,7 @@ gih_save_image (const gchar *filename,
return FALSE;
}
gimp_progress_init_printf (_("Saving '%s'..."),
gimp_progress_init_printf (_("Saving '%s'"),
gimp_filename_to_utf8 (filename));
parstring = gimp_pixpipe_params_build (&gihparams);
......
......@@ -209,7 +209,7 @@ run (const gchar *name,
if (gimp_drawable_is_rgb (drawable->drawable_id) ||
gimp_drawable_is_gray (drawable->drawable_id))
{
gimp_progress_init (_("Glass Tile..."));
gimp_progress_init (_("Glass Tile"));
glasstile (drawable, NULL);
......
......@@ -505,7 +505,7 @@ run (const gchar *name,
optimize (&qbist_info.info);
gimp_progress_init (_("Qbist ..."));
gimp_progress_init (_("Qbist"));
for (pr = gimp_pixel_rgns_register (1, &imagePR);
pr != NULL;
......
......@@ -161,12 +161,12 @@ run (const gchar *name,
if ( !strcmp (name, GRADMAP_PROC))
{
mode = GRADIENT_MODE;
gimp_progress_init (_("Gradient Map..."));
gimp_progress_init (_("Gradient Map"));
}
else if ( !strcmp (name, PALETTEMAP_PROC))
{
mode = PALETTE_MODE;
gimp_progress_init (_("Palette Map..."));
gimp_progress_init (_("Palette Map"));
}
else