[gimp] Bug 645456 - Inconsistent window (role) naming scheme
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Bug 645456 - Inconsistent window (role) naming scheme
- Date: Fri, 8 Apr 2011 18:32:52 +0000 (UTC)
commit 8c4d99f883b13a248fd57d414bb130331b4042a3
Author: Michael Natterer <mitch gimp org>
Date: Fri Apr 8 20:31:34 2011 +0200
Bug 645456 - Inconsistent window (role) naming scheme
Applied patch from Christoph Kappel which adds a "gimp-" prefix to all
plug-in dialog window roles.
plug-ins/color-rotate/color-rotate-dialog.c | 2 +-
plug-ins/color-rotate/color-rotate.h | 1 +
plug-ins/common/alien-map.c | 3 ++-
plug-ins/common/align-layers.c | 3 ++-
plug-ins/common/animation-play.c | 1 +
plug-ins/common/apply-canvas.c | 3 ++-
plug-ins/common/blinds.c | 3 ++-
plug-ins/common/blur-gauss-selective.c | 3 ++-
plug-ins/common/blur-gauss.c | 3 ++-
plug-ins/common/blur-motion.c | 3 ++-
plug-ins/common/border-average.c | 3 ++-
plug-ins/common/bump-map.c | 3 ++-
plug-ins/common/cartoon.c | 3 ++-
plug-ins/common/channel-mixer.c | 3 ++-
plug-ins/common/checkerboard.c | 3 ++-
plug-ins/common/cml-explorer.c | 5 +++--
plug-ins/common/color-cube-analyze.c | 3 ++-
plug-ins/common/color-exchange.c | 3 ++-
plug-ins/common/color-to-alpha.c | 3 ++-
plug-ins/common/colorify.c | 3 ++-
plug-ins/common/colormap-remap.c | 3 ++-
plug-ins/common/compose.c | 3 ++-
plug-ins/common/contrast-retinex.c | 3 ++-
plug-ins/common/convolution-matrix.c | 3 ++-
plug-ins/common/cubism.c | 3 ++-
plug-ins/common/curve-bend.c | 3 ++-
plug-ins/common/decompose.c | 3 ++-
plug-ins/common/deinterlace.c | 3 ++-
plug-ins/common/depth-merge.c | 3 ++-
plug-ins/common/despeckle.c | 3 ++-
plug-ins/common/destripe.c | 3 ++-
plug-ins/common/diffraction.c | 3 ++-
plug-ins/common/displace.c | 3 ++-
plug-ins/common/edge-dog.c | 3 ++-
plug-ins/common/edge-laplace.c | 1 +
plug-ins/common/edge-neon.c | 3 ++-
plug-ins/common/edge-sobel.c | 3 ++-
plug-ins/common/edge.c | 3 ++-
plug-ins/common/emboss.c | 3 ++-
plug-ins/common/engrave.c | 3 ++-
plug-ins/common/file-aa.c | 1 +
plug-ins/common/file-cel.c | 1 +
plug-ins/common/file-csource.c | 1 +
plug-ins/common/file-desktop-link.c | 1 +
plug-ins/common/file-dicom.c | 1 +
plug-ins/common/file-gbr.c | 1 +
plug-ins/common/file-gif-save.c | 1 +
plug-ins/common/file-gih.c | 1 +
plug-ins/common/file-header.c | 1 +
plug-ins/common/file-html-table.c | 1 +
plug-ins/common/file-mng.c | 1 +
plug-ins/common/file-pat.c | 1 +
plug-ins/common/file-pcx.c | 1 +
plug-ins/common/file-pdf-load.c | 3 ++-
plug-ins/common/file-pdf-save.c | 5 +++--
plug-ins/common/file-pix.c | 1 +
plug-ins/common/file-png.c | 1 +
plug-ins/common/file-pnm.c | 1 +
plug-ins/common/file-ps.c | 3 ++-
plug-ins/common/file-psp.c | 1 +
plug-ins/common/file-raw.c | 3 ++-
plug-ins/common/file-sunras.c | 1 +
plug-ins/common/file-svg.c | 3 ++-
plug-ins/common/file-tga.c | 1 +
plug-ins/common/file-tiff-load.c | 3 ++-
plug-ins/common/file-tiff-save.c | 1 +
plug-ins/common/file-wmf.c | 3 ++-
plug-ins/common/file-xbm.c | 1 +
plug-ins/common/file-xmc.c | 1 +
plug-ins/common/file-xpm.c | 1 +
plug-ins/common/file-xwd.c | 1 +
plug-ins/common/film.c | 3 ++-
plug-ins/common/filter-pack.c | 3 ++-
plug-ins/common/fractal-trace.c | 3 ++-
plug-ins/common/gradient-map.c | 1 +
plug-ins/common/grid.c | 3 ++-
plug-ins/common/hot.c | 3 ++-
plug-ins/common/illusion.c | 3 ++-
plug-ins/common/iwarp.c | 3 ++-
plug-ins/common/jigsaw.c | 3 ++-
plug-ins/common/lcms.c | 5 +++--
plug-ins/common/lens-apply.c | 3 ++-
plug-ins/common/lens-distortion.c | 3 ++-
plug-ins/common/lens-flare.c | 3 ++-
plug-ins/common/mail.c | 3 ++-
plug-ins/common/max-rgb.c | 3 ++-
plug-ins/common/mosaic.c | 3 ++-
plug-ins/common/newsprint.c | 3 ++-
plug-ins/common/nl-filter.c | 3 ++-
plug-ins/common/noise-hsv.c | 3 ++-
plug-ins/common/noise-randomize.c | 3 ++-
plug-ins/common/noise-rgb.c | 3 ++-
plug-ins/common/noise-solid.c | 3 ++-
plug-ins/common/noise-spread.c | 3 ++-
plug-ins/common/nova.c | 3 ++-
plug-ins/common/oilify.c | 3 ++-
plug-ins/common/photocopy.c | 3 ++-
plug-ins/common/pixelize.c | 3 ++-
plug-ins/common/plasma.c | 3 ++-
plug-ins/common/plugin-browser.c | 3 ++-
plug-ins/common/polar-coords.c | 3 ++-
plug-ins/common/procedure-browser.c | 1 +
plug-ins/common/qbist.c | 3 ++-
plug-ins/common/red-eye-removal.c | 3 ++-
plug-ins/common/ripple.c | 3 ++-
plug-ins/common/sample-colorize.c | 3 ++-
plug-ins/common/screenshot.c | 3 ++-
plug-ins/common/sharpen.c | 3 ++-
plug-ins/common/shift.c | 3 ++-
plug-ins/common/sinus.c | 3 ++-
plug-ins/common/smooth-palette.c | 3 ++-
plug-ins/common/softglow.c | 3 ++-
plug-ins/common/sparkle.c | 3 ++-
plug-ins/common/sphere-designer.c | 3 ++-
plug-ins/common/threshold-alpha.c | 3 ++-
plug-ins/common/tile-glass.c | 3 ++-
plug-ins/common/tile-paper.c | 3 ++-
plug-ins/common/tile-small.c | 3 ++-
plug-ins/common/tile.c | 3 ++-
plug-ins/common/unit-editor.c | 5 +++--
plug-ins/common/unsharp-mask.c | 3 ++-
plug-ins/common/value-propagate.c | 3 ++-
plug-ins/common/van-gogh-lic.c | 3 ++-
plug-ins/common/video.c | 3 ++-
plug-ins/common/warp.c | 3 ++-
plug-ins/common/waves.c | 3 ++-
plug-ins/common/web-browser.c | 1 +
plug-ins/common/web-page.c | 3 ++-
plug-ins/common/whirl-pinch.c | 3 ++-
plug-ins/common/wind.c | 3 ++-
plug-ins/file-bmp/bmp.h | 1 +
plug-ins/file-fits/fits.c | 3 ++-
plug-ins/file-fli/fli-gimp.c | 3 ++-
plug-ins/file-ico/ico.h | 1 +
plug-ins/file-jpeg/jpeg-exif.c | 2 +-
plug-ins/file-jpeg/jpeg.h | 1 +
plug-ins/file-psd/psd-save.c | 1 +
plug-ins/file-psd/psd.h | 1 +
plug-ins/file-sgi/sgi.c | 1 +
plug-ins/file-uri/uri.c | 1 +
plug-ins/file-xjt/xjt.c | 1 +
plug-ins/flame/flame.c | 5 +++--
.../fractal-explorer/fractal-explorer-dialogs.c | 2 +-
plug-ins/fractal-explorer/fractal-explorer.c | 2 +-
plug-ins/fractal-explorer/fractal-explorer.h | 1 +
plug-ins/gfig/gfig-dialog.c | 6 +++---
plug-ins/gfig/gfig.h | 1 +
plug-ins/gimpressionist/gimpressionist.c | 2 +-
plug-ins/gimpressionist/gimpressionist.h | 1 +
plug-ins/gimpressionist/orientmap.c | 2 +-
plug-ins/gimpressionist/presets.c | 2 +-
plug-ins/gimpressionist/sizemap.c | 2 +-
plug-ins/gradient-flare/gradient-flare.c | 5 +++--
plug-ins/help-browser/help-browser.c | 1 +
plug-ins/ifs-compose/ifs-compose.c | 5 +++--
plug-ins/imagemap/imap_default_dialog.c | 2 +-
plug-ins/imagemap/imap_main.h | 1 +
plug-ins/lighting/lighting-main.h | 1 +
plug-ins/lighting/lighting-ui.c | 2 +-
plug-ins/map-object/map-object-main.h | 1 +
plug-ins/map-object/map-object-ui.c | 2 +-
plug-ins/maze/maze-dialog.c | 2 +-
plug-ins/maze/maze.h | 1 +
plug-ins/metadata/interface.c | 2 +-
plug-ins/metadata/metadata.h | 1 +
plug-ins/pagecurl/pagecurl.c | 3 ++-
plug-ins/print/print.c | 1 +
plug-ins/script-fu/script-fu-console.c | 2 +-
plug-ins/script-fu/script-fu-interface.c | 2 +-
plug-ins/script-fu/script-fu-server.c | 2 +-
plug-ins/selection-to-path/selection-to-path.c | 3 ++-
plug-ins/win-snap/winsnap.c | 3 ++-
172 files changed, 288 insertions(+), 133 deletions(-)
---
diff --git a/plug-ins/color-rotate/color-rotate-dialog.c b/plug-ins/color-rotate/color-rotate-dialog.c
index 1a11662..cd6cdf3 100644
--- a/plug-ins/color-rotate/color-rotate-dialog.c
+++ b/plug-ins/color-rotate/color-rotate-dialog.c
@@ -646,7 +646,7 @@ color_rotate_dialog (void)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
color_rotate_stock_init ();
- dialog = gimp_dialog_new (_("Rotate Colors"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Rotate Colors"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/color-rotate/color-rotate.h b/plug-ins/color-rotate/color-rotate.h
index 8a74b5b..883efc3 100644
--- a/plug-ins/color-rotate/color-rotate.h
+++ b/plug-ins/color-rotate/color-rotate.h
@@ -40,6 +40,7 @@
#define PLUG_IN_PROC "plug-in-rotate-colormap"
#define PLUG_IN_BINARY "rcm"
+#define PLUG_IN_ROLE "gimp-rcm"
#define TP (2*G_PI)
diff --git a/plug-ins/common/alien-map.c b/plug-ins/common/alien-map.c
index eac9ac2..a89b554 100644
--- a/plug-ins/common/alien-map.c
+++ b/plug-ins/common/alien-map.c
@@ -33,6 +33,7 @@
#define PLUG_IN_PROC "plug-in-alienmap2"
#define PLUG_IN_BINARY "alien-map"
+#define PLUG_IN_ROLE "gimp-alien-map"
#define SCALE_WIDTH 200
#define ENTRY_WIDTH 6
@@ -389,7 +390,7 @@ alienmap2_dialog (void)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("Alien Map"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Alien Map"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/align-layers.c b/plug-ins/common/align-layers.c
index e863993..d9812de 100644
--- a/plug-ins/common/align-layers.c
+++ b/plug-ins/common/align-layers.c
@@ -27,6 +27,7 @@
#define PLUG_IN_PROC "plug-in-align-layers"
#define PLUG_IN_BINARY "align-layers"
+#define PLUG_IN_ROLE "gimp-align-layers"
#define SCALE_WIDTH 150
enum
@@ -396,7 +397,7 @@ align_layers_dialog (void)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Align Visible Layers"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Align Visible Layers"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/animation-play.c b/plug-ins/common/animation-play.c
index 728c620..36603d6 100644
--- a/plug-ins/common/animation-play.c
+++ b/plug-ins/common/animation-play.c
@@ -43,6 +43,7 @@
#define PLUG_IN_PROC "plug-in-animationplay"
#define PLUG_IN_BINARY "animation-play"
+#define PLUG_IN_ROLE "gimp-animation-play"
#define DITHERTYPE GDK_RGB_DITHER_NORMAL
diff --git a/plug-ins/common/apply-canvas.c b/plug-ins/common/apply-canvas.c
index 76b70bc..ec0e551 100644
--- a/plug-ins/common/apply-canvas.c
+++ b/plug-ins/common/apply-canvas.c
@@ -42,6 +42,7 @@
#define PLUG_IN_PROC "plug-in-apply-canvas"
#define PLUG_IN_BINARY "apply-canvas"
+#define PLUG_IN_ROLE "gimp-apply-canvas"
static const gchar sdata[] =
@@ -1259,7 +1260,7 @@ struc_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Apply Canvas"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Apply Canvas"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/blinds.c b/plug-ins/common/blinds.c
index d81e38f..9da855b 100644
--- a/plug-ins/common/blinds.c
+++ b/plug-ins/common/blinds.c
@@ -42,6 +42,7 @@
#define PLUG_IN_PROC "plug-in-blinds"
#define PLUG_IN_BINARY "blinds"
+#define PLUG_IN_ROLE "gimp-blinds"
#define SCALE_WIDTH 150
@@ -219,7 +220,7 @@ blinds_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("Blinds"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Blinds"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/blur-gauss-selective.c b/plug-ins/common/blur-gauss-selective.c
index 5d4948c..0e5110e 100644
--- a/plug-ins/common/blur-gauss-selective.c
+++ b/plug-ins/common/blur-gauss-selective.c
@@ -38,6 +38,7 @@
#define PLUG_IN_PROC "plug-in-sel-gauss"
#define PLUG_IN_BINARY "blur-gauss-selective"
+#define PLUG_IN_ROLE "gimp-blur-gauss-selective"
#ifndef ALWAYS_INLINE
#if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0)
@@ -228,7 +229,7 @@ sel_gauss_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Selective Gaussian Blur"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Selective Gaussian Blur"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/blur-gauss.c b/plug-ins/common/blur-gauss.c
index 5ede138..37f3d0a 100644
--- a/plug-ins/common/blur-gauss.c
+++ b/plug-ins/common/blur-gauss.c
@@ -30,6 +30,7 @@
#define GAUSS_RLE_PROC "plug-in-gauss-rle"
#define GAUSS_RLE2_PROC "plug-in-gauss-rle2"
#define PLUG_IN_BINARY "blur-gauss"
+#define PLUG_IN_ROLE "gimp-blur-gauss"
typedef enum
{
@@ -474,7 +475,7 @@ gauss_dialog (gint32 image_ID,
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Gaussian Blur"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Gaussian Blur"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, GAUSS_PROC,
diff --git a/plug-ins/common/blur-motion.c b/plug-ins/common/blur-motion.c
index 797899f..5960357 100644
--- a/plug-ins/common/blur-motion.c
+++ b/plug-ins/common/blur-motion.c
@@ -44,6 +44,7 @@
#define PLUG_IN_PROC "plug-in-mblur"
#define PLUG_IN_PROC_INWARD "plug-in-mblur-inward"
#define PLUG_IN_BINARY "blur-motion"
+#define PLUG_IN_ROLE "gimp-blur-motion"
#define PLUG_IN_VERSION "May 2007, 1.3"
@@ -1010,7 +1011,7 @@ mblur_dialog (gint32 image_ID,
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Motion Blur"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Motion Blur"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/border-average.c b/plug-ins/common/border-average.c
index bf71704..5bb3d79 100644
--- a/plug-ins/common/border-average.c
+++ b/plug-ins/common/border-average.c
@@ -27,6 +27,7 @@
#define PLUG_IN_PROC "plug-in-borderaverage"
#define PLUG_IN_BINARY "border-average"
+#define PLUG_IN_ROLE "gimp-border-average"
/* Declare local functions.
@@ -347,7 +348,7 @@ borderaverage_dialog (gint32 image_ID,
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Borderaverage"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Borderaverage"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/bump-map.c b/plug-ins/common/bump-map.c
index bf2187e..6f1ffbe 100644
--- a/plug-ins/common/bump-map.c
+++ b/plug-ins/common/bump-map.c
@@ -41,6 +41,7 @@
#define PLUG_IN_PROC "plug-in-bump-map"
#define PLUG_IN_TILED_PROC "plug-in-bump-map-tiled"
#define PLUG_IN_BINARY "bumpmap"
+#define PLUG_IN_ROLE "gimp-bumpmap"
#define PLUG_IN_VERSION "April 2000, 3.0-pre1-ac2"
#define SCALE_WIDTH 100
@@ -762,7 +763,7 @@ bumpmap_dialog (void)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("Bump Map"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Bump Map"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/cartoon.c b/plug-ins/common/cartoon.c
index fcd0248..451cc81 100644
--- a/plug-ins/common/cartoon.c
+++ b/plug-ins/common/cartoon.c
@@ -36,6 +36,7 @@
#define PLUG_IN_PROC "plug-in-cartoon"
#define PLUG_IN_BINARY "cartoon"
+#define PLUG_IN_ROLE "gimp-cartoon"
#define TILE_CACHE_SIZE 48
typedef struct
@@ -807,7 +808,7 @@ cartoon_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Cartoon"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Cartoon"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/channel-mixer.c b/plug-ins/common/channel-mixer.c
index 048655e..613a3c2 100644
--- a/plug-ins/common/channel-mixer.c
+++ b/plug-ins/common/channel-mixer.c
@@ -38,6 +38,7 @@
#define PLUG_IN_PROC "plug-in-colors-channel-mixer"
#define PLUG_IN_BINARY "channel-mixer"
+#define PLUG_IN_ROLE "gimp-channel-mixer"
#define CM_LINE_SIZE 1024
typedef enum
@@ -488,7 +489,7 @@ cm_dialog (CmParamsType *mix,
}
}
- dialog = gimp_dialog_new (_("Channel Mixer"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Channel Mixer"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/checkerboard.c b/plug-ins/common/checkerboard.c
index ec1d811..2d15654 100644
--- a/plug-ins/common/checkerboard.c
+++ b/plug-ins/common/checkerboard.c
@@ -28,6 +28,7 @@
#define PLUG_IN_PROC "plug-in-checkerboard"
#define PLUG_IN_BINARY "checkerboard"
+#define PLUG_IN_ROLE "gimp-checkerboard"
#define SPIN_BUTTON_WIDTH 8
@@ -342,7 +343,7 @@ checkerboard_dialog (gint32 image_ID,
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Checkerboard"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Checkerboard"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/cml-explorer.c b/plug-ins/common/cml-explorer.c
index d42d22d..5bf1b30 100644
--- a/plug-ins/common/cml-explorer.c
+++ b/plug-ins/common/cml-explorer.c
@@ -84,6 +84,7 @@
#define PARAM_FILE_FORMAT_VERSION 1.0
#define PLUG_IN_PROC "plug-in-cml-explorer"
#define PLUG_IN_BINARY "cml-explorer"
+#define PLUG_IN_ROLE "gimp-cml-explorer"
#define VALS CML_explorer_vals
#define PROGRESS_UPDATE_NUM 100
#define CML_LINE_SIZE 1024
@@ -1178,7 +1179,7 @@ CML_explorer_dialog (void)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("Coupled-Map-Lattice Explorer"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Coupled-Map-Lattice Explorer"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
@@ -1845,7 +1846,7 @@ function_graph_new (GtkWidget *widget,
GtkWidget *frame;
GtkWidget *preview;
- dialog = gimp_dialog_new (_("Graph of the Current Settings"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Graph of the Current Settings"), PLUG_IN_ROLE,
gtk_widget_get_toplevel (widget), 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/color-cube-analyze.c b/plug-ins/common/color-cube-analyze.c
index 6c15b89..89d95fa 100644
--- a/plug-ins/common/color-cube-analyze.c
+++ b/plug-ins/common/color-cube-analyze.c
@@ -36,6 +36,7 @@
#define PLUG_IN_PROC "plug-in-ccanalyze"
#define PLUG_IN_BINARY "color-cube-analyze"
+#define PLUG_IN_ROLE "gimp-color-cube-analyze"
/* size of histogram image */
#define PREWIDTH 256
@@ -352,7 +353,7 @@ doDialog (void)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("Colorcube Analysis"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Colorcube Analysis"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/color-exchange.c b/plug-ins/common/color-exchange.c
index 2b30920..f465994 100644
--- a/plug-ins/common/color-exchange.c
+++ b/plug-ins/common/color-exchange.c
@@ -44,6 +44,7 @@
#define PLUG_IN_PROC "plug-in-exchange"
#define PLUG_IN_BINARY "color-exchange"
+#define PLUG_IN_ROLE "gimp-color-exchange"
#define SCALE_WIDTH 128
@@ -283,7 +284,7 @@ exchange_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("Color Exchange"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Color Exchange"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/color-to-alpha.c b/plug-ins/common/color-to-alpha.c
index 3e5c93c..95973e0 100644
--- a/plug-ins/common/color-to-alpha.c
+++ b/plug-ins/common/color-to-alpha.c
@@ -30,6 +30,7 @@
#define PLUG_IN_PROC "plug-in-colortoalpha"
#define PLUG_IN_BINARY "color-to-aplha"
+#define PLUG_IN_ROLE "gimp-color-to-aplha"
#define PRV_WIDTH 40
#define PRV_HEIGHT 20
@@ -373,7 +374,7 @@ color_to_alpha_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("Color to Alpha"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Color to Alpha"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/colorify.c b/plug-ins/common/colorify.c
index 37033aa..87507e9 100644
--- a/plug-ins/common/colorify.c
+++ b/plug-ins/common/colorify.c
@@ -28,6 +28,7 @@
#define PLUG_IN_PROC "plug-in-colorify"
#define PLUG_IN_BINARY "colorify"
+#define PLUG_IN_ROLE "gimp-colorify"
#define PLUG_IN_VERSION "1.1"
#define COLOR_SIZE 30
@@ -251,7 +252,7 @@ colorify_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("Colorify"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Colorify"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/colormap-remap.c b/plug-ins/common/colormap-remap.c
index e99f010..ce253c5 100644
--- a/plug-ins/common/colormap-remap.c
+++ b/plug-ins/common/colormap-remap.c
@@ -40,6 +40,7 @@
#define PLUG_IN_PROC_REMAP "plug-in-colormap-remap"
#define PLUG_IN_PROC_SWAP "plug-in-colormap-swap"
#define PLUG_IN_BINARY "colormap-remap"
+#define PLUG_IN_ROLE "gimp-colormap-remap"
/* Declare local functions.
@@ -592,7 +593,7 @@ remap_dialog (gint32 image_ID,
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Rearrange Colormap"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Rearrange Colormap"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC_REMAP,
diff --git a/plug-ins/common/compose.c b/plug-ins/common/compose.c
index a7e274e..cc322c8 100644
--- a/plug-ins/common/compose.c
+++ b/plug-ins/common/compose.c
@@ -43,6 +43,7 @@
#define DRAWABLE_COMPOSE_PROC "plug-in-drawable-compose"
#define RECOMPOSE_PROC "plug-in-recompose"
#define PLUG_IN_BINARY "compose"
+#define PLUG_IN_ROLE "gimp-compose"
typedef struct
@@ -1478,7 +1479,7 @@ compose_dialog (const gchar *compose_type,
layer_list = gimp_image_get_layers (gimp_item_get_image (drawable_ID),
&nlayers);
- dialog = gimp_dialog_new (_("Compose"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Compose"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, COMPOSE_PROC,
diff --git a/plug-ins/common/contrast-retinex.c b/plug-ins/common/contrast-retinex.c
index 6e05d2c..7f468c1 100644
--- a/plug-ins/common/contrast-retinex.c
+++ b/plug-ins/common/contrast-retinex.c
@@ -27,6 +27,7 @@
#define PLUG_IN_PROC "plug-in-retinex"
#define PLUG_IN_BINARY "contrast-retinex"
+#define PLUG_IN_ROLE "gimp-contrast-retinex"
#define MAX_RETINEX_SCALES 8
#define MIN_GAUSSIAN_SCALE 16
#define MAX_GAUSSIAN_SCALE 250
@@ -281,7 +282,7 @@ retinex_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Retinex Image Enhancement"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Retinex Image Enhancement"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/convolution-matrix.c b/plug-ins/common/convolution-matrix.c
index 964fa5e..a68741e 100644
--- a/plug-ins/common/convolution-matrix.c
+++ b/plug-ins/common/convolution-matrix.c
@@ -29,6 +29,7 @@
#define PLUG_IN_PROC "plug-in-convmatrix"
#define PLUG_IN_BINARY "convolution-matrix"
+#define PLUG_IN_ROLE "gimp-convolution-matrix"
#define RESPONSE_RESET 1
@@ -902,7 +903,7 @@ convolve_image_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Convolution Matrix"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Convolution Matrix"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/cubism.c b/plug-ins/common/cubism.c
index 0b3c8f8..9d7cd8a 100644
--- a/plug-ins/common/cubism.c
+++ b/plug-ins/common/cubism.c
@@ -31,6 +31,7 @@
#define PLUG_IN_PROC "plug-in-cubism"
#define PLUG_IN_BINARY "cubism"
+#define PLUG_IN_ROLE "gimp-cubism"
#define SCALE_WIDTH 125
#define BLACK 0
@@ -264,7 +265,7 @@ cubism_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Cubism"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Cubism"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/curve-bend.c b/plug-ins/common/curve-bend.c
index f2e9b64..9917efd 100644
--- a/plug-ins/common/curve-bend.c
+++ b/plug-ins/common/curve-bend.c
@@ -50,6 +50,7 @@
/* Defines */
#define PLUG_IN_PROC "plug-in-curve-bend"
#define PLUG_IN_BINARY "curve-bend"
+#define PLUG_IN_ROLE "gimp-curve-bend"
#define PLUG_IN_VERSION "v1.3.18 (2003/08/26)"
#define PLUG_IN_IMAGE_TYPES "RGB*, GRAY*"
#define PLUG_IN_AUTHOR "Wolfgang Hofer (hof hotbot com)"
@@ -1221,7 +1222,7 @@ bender_new_dialog (GimpDrawable *drawable)
p_retrieve_values(cd); /* Possibly retrieve data from a previous run */
/* The shell and main vbox */
- cd->shell = gimp_dialog_new (_("Curve Bend"), PLUG_IN_BINARY,
+ cd->shell = gimp_dialog_new (_("Curve Bend"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/decompose.c b/plug-ins/common/decompose.c
index 20e30b5..052e9a6 100644
--- a/plug-ins/common/decompose.c
+++ b/plug-ins/common/decompose.c
@@ -45,6 +45,7 @@
#define PLUG_IN_PROC "plug-in-decompose"
#define PLUG_IN_PROC_REG "plug-in-decompose-registered"
#define PLUG_IN_BINARY "decompose"
+#define PLUG_IN_ROLE "gimp-decompose"
/* Declare local functions
@@ -1486,7 +1487,7 @@ decompose_dialog (void)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Decompose"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Decompose"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/deinterlace.c b/plug-ins/common/deinterlace.c
index 037c82d..35c6a01 100644
--- a/plug-ins/common/deinterlace.c
+++ b/plug-ins/common/deinterlace.c
@@ -30,6 +30,7 @@
#define PLUG_IN_PROC "plug-in-deinterlace"
#define PLUG_IN_BINARY "deinterlace"
+#define PLUG_IN_ROLE "gimp-deinterlace"
enum
@@ -318,7 +319,7 @@ deinterlace_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Deinterlace"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Deinterlace"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/depth-merge.c b/plug-ins/common/depth-merge.c
index 1ba05fd..feb4f95 100644
--- a/plug-ins/common/depth-merge.c
+++ b/plug-ins/common/depth-merge.c
@@ -42,6 +42,7 @@
#define PLUG_IN_PROC "plug-in-depth-merge"
#define PLUG_IN_VERSION "August 1998"
#define PLUG_IN_BINARY "depth-merge"
+#define PLUG_IN_ROLE "gimp-depth-merge"
#define PREVIEW_SIZE 256
@@ -641,7 +642,7 @@ DepthMerge_dialog (DepthMerge *dm)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
dm->interface->dialog =
- dialog = gimp_dialog_new (_("Depth Merge"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Depth Merge"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/despeckle.c b/plug-ins/common/despeckle.c
index 624a889..13b4fe0 100644
--- a/plug-ins/common/despeckle.c
+++ b/plug-ins/common/despeckle.c
@@ -36,6 +36,7 @@
#define PLUG_IN_PROC "plug-in-despeckle"
#define PLUG_IN_BINARY "despeckle"
+#define PLUG_IN_ROLE "gimp-despeckle"
#define PLUG_IN_VERSION "May 2010"
#define SCALE_WIDTH 100
#define ENTRY_WIDTH 3
@@ -437,7 +438,7 @@ despeckle_dialog (void)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("Despeckle"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Despeckle"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/destripe.c b/plug-ins/common/destripe.c
index 6797b91..1ce3b2d 100644
--- a/plug-ins/common/destripe.c
+++ b/plug-ins/common/destripe.c
@@ -37,6 +37,7 @@
#define PLUG_IN_PROC "plug-in-destripe"
#define PLUG_IN_BINARY "destripe"
+#define PLUG_IN_ROLE "gimp-destripe"
#define PLUG_IN_VERSION "0.2"
#define SCALE_WIDTH 140
#define MAX_AVG 100
@@ -434,7 +435,7 @@ destripe_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("Destripe"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Destripe"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/diffraction.c b/plug-ins/common/diffraction.c
index 3787a77..4595538 100644
--- a/plug-ins/common/diffraction.c
+++ b/plug-ins/common/diffraction.c
@@ -30,6 +30,7 @@
#define PLUG_IN_PROC "plug-in-diffraction"
#define PLUG_IN_BINARY "diffraction"
+#define PLUG_IN_ROLE "gimp-diffraction"
/***** Magic numbers *****/
@@ -430,7 +431,7 @@ diffraction_dialog (void)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("Diffraction Patterns"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Diffraction Patterns"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/displace.c b/plug-ins/common/displace.c
index 97d1029..e33db53 100644
--- a/plug-ins/common/displace.c
+++ b/plug-ins/common/displace.c
@@ -55,6 +55,7 @@
#define PLUG_IN_PROC "plug-in-displace"
#define PLUG_IN_BINARY "displace"
+#define PLUG_IN_ROLE "gimp-displace"
#define ENTRY_WIDTH 75
#define TILE_CACHE_SIZE 48
@@ -322,7 +323,7 @@ displace_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Displace"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Displace"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/edge-dog.c b/plug-ins/common/edge-dog.c
index cb443cf..8c260fd 100644
--- a/plug-ins/common/edge-dog.c
+++ b/plug-ins/common/edge-dog.c
@@ -36,6 +36,7 @@
#define PLUG_IN_PROC "plug-in-dog"
#define PLUG_IN_BINARY "edge-dog"
+#define PLUG_IN_ROLE "gimp-edge-dog"
typedef struct
@@ -298,7 +299,7 @@ dog_dialog (gint32 image_ID,
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("DoG Edge Detect"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("DoG Edge Detect"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/edge-laplace.c b/plug-ins/common/edge-laplace.c
index a908714..b7eb268 100644
--- a/plug-ins/common/edge-laplace.c
+++ b/plug-ins/common/edge-laplace.c
@@ -30,6 +30,7 @@
#define PLUG_IN_PROC "plug-in-laplace"
#define PLUG_IN_BINARY "edge-laplace"
+#define PLUG_IN_ROLE "gimp-edge-laplace"
/* Declare local functions.
diff --git a/plug-ins/common/edge-neon.c b/plug-ins/common/edge-neon.c
index d7c14ff..0256e8f 100644
--- a/plug-ins/common/edge-neon.c
+++ b/plug-ins/common/edge-neon.c
@@ -38,6 +38,7 @@
#define PLUG_IN_PROC "plug-in-neon"
#define PLUG_IN_BINARY "edge-neon"
+#define PLUG_IN_ROLE "gimp-edge-neon"
typedef struct
@@ -691,7 +692,7 @@ neon_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Neon Detection"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Neon Detection"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/edge-sobel.c b/plug-ins/common/edge-sobel.c
index c034d63..44c00a0 100644
--- a/plug-ins/common/edge-sobel.c
+++ b/plug-ins/common/edge-sobel.c
@@ -31,6 +31,7 @@
#define PLUG_IN_PROC "plug-in-sobel"
#define PLUG_IN_BINARY "edge-sobel"
+#define PLUG_IN_ROLE "gimp-edge-sobel"
typedef struct
@@ -227,7 +228,7 @@ sobel_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Sobel Edge Detection"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Sobel Edge Detection"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/edge.c b/plug-ins/common/edge.c
index 164656c..1532b98 100644
--- a/plug-ins/common/edge.c
+++ b/plug-ins/common/edge.c
@@ -59,6 +59,7 @@
#define PLUG_IN_PROC "plug-in-edge"
#define PLUG_IN_BINARY "edge"
+#define PLUG_IN_ROLE "gimp-edge"
#define TILE_CACHE_SIZE 48
enum
@@ -625,7 +626,7 @@ edge_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Edge Detection"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Edge Detection"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/emboss.c b/plug-ins/common/emboss.c
index c1959cb..ba1b1b8 100644
--- a/plug-ins/common/emboss.c
+++ b/plug-ins/common/emboss.c
@@ -36,6 +36,7 @@
#define PLUG_IN_PROC "plug-in-emboss"
#define PLUG_IN_BINARY "emboss"
+#define PLUG_IN_ROLE "gimp-emboss"
enum
@@ -443,7 +444,7 @@ emboss_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("Emboss"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Emboss"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/engrave.c b/plug-ins/common/engrave.c
index 289a033..5e33b55 100644
--- a/plug-ins/common/engrave.c
+++ b/plug-ins/common/engrave.c
@@ -29,6 +29,7 @@
#define PLUG_IN_PROC "plug-in-engrave"
#define PLUG_IN_BINARY "engrave"
+#define PLUG_IN_ROLE "gimp-engrave"
#define SCALE_WIDTH 125
#define TILE_CACHE_SIZE 16
@@ -205,7 +206,7 @@ engrave_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Engrave"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Engrave"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/file-aa.c b/plug-ins/common/file-aa.c
index f88bca0..f7f11c0 100644
--- a/plug-ins/common/file-aa.c
+++ b/plug-ins/common/file-aa.c
@@ -39,6 +39,7 @@
#define SAVE_PROC "file-aa-save"
#define PLUG_IN_BINARY "file-aa"
+#define PLUG_IN_ROLE "gimp-file-aa"
/*
diff --git a/plug-ins/common/file-cel.c b/plug-ins/common/file-cel.c
index 8118aab..b353761 100644
--- a/plug-ins/common/file-cel.c
+++ b/plug-ins/common/file-cel.c
@@ -34,6 +34,7 @@
#define LOAD_PROC "file-cel-load"
#define SAVE_PROC "file-cel-save"
#define PLUG_IN_BINARY "file-cel"
+#define PLUG_IN_ROLE "gimp-file-cel"
static void query (void);
diff --git a/plug-ins/common/file-csource.c b/plug-ins/common/file-csource.c
index 52252df..c006384 100644
--- a/plug-ins/common/file-csource.c
+++ b/plug-ins/common/file-csource.c
@@ -33,6 +33,7 @@
#define SAVE_PROC "file-csource-save"
#define PLUG_IN_BINARY "file-csource"
+#define PLUG_IN_ROLE "gimp-file-csource"
typedef struct
diff --git a/plug-ins/common/file-desktop-link.c b/plug-ins/common/file-desktop-link.c
index 2475115..75ee439 100644
--- a/plug-ins/common/file-desktop-link.c
+++ b/plug-ins/common/file-desktop-link.c
@@ -33,6 +33,7 @@
#define LOAD_PROC "file-desktop-link-load"
#define PLUG_IN_BINARY "file-desktop-link"
+#define PLUG_IN_ROLE "gimp-file-desktop-link"
static void query (void);
diff --git a/plug-ins/common/file-dicom.c b/plug-ins/common/file-dicom.c
index 82d0975..91033ce 100644
--- a/plug-ins/common/file-dicom.c
+++ b/plug-ins/common/file-dicom.c
@@ -38,6 +38,7 @@
#define LOAD_PROC "file-dicom-load"
#define SAVE_PROC "file-dicom-save"
#define PLUG_IN_BINARY "file-dicom"
+#define PLUG_IN_ROLE "gimp-file-dicom"
/* A lot of Dicom images are wrongly encoded. By guessing the endian
diff --git a/plug-ins/common/file-gbr.c b/plug-ins/common/file-gbr.c
index 84e7b6c..18768a0 100644
--- a/plug-ins/common/file-gbr.c
+++ b/plug-ins/common/file-gbr.c
@@ -69,6 +69,7 @@
#define LOAD_PROC "file-gbr-load"
#define SAVE_PROC "file-gbr-save"
#define PLUG_IN_BINARY "file-gbr"
+#define PLUG_IN_ROLE "gimp-file-gbr"
typedef struct
diff --git a/plug-ins/common/file-gif-save.c b/plug-ins/common/file-gif-save.c
index f1249fb..33d5bbe 100644
--- a/plug-ins/common/file-gif-save.c
+++ b/plug-ins/common/file-gif-save.c
@@ -41,6 +41,7 @@
#define SAVE_PROC "file-gif-save"
#define PLUG_IN_BINARY "file-gif-save"
+#define PLUG_IN_ROLE "gimp-file-gif-save"
/* Define only one of these to determine which kind of gif's you would like.
diff --git a/plug-ins/common/file-gih.c b/plug-ins/common/file-gih.c
index 009e510..1bf9349 100644
--- a/plug-ins/common/file-gih.c
+++ b/plug-ins/common/file-gih.c
@@ -78,6 +78,7 @@
#define LOAD_PROC "file-gih-load"
#define SAVE_PROC "file-gih-save"
#define PLUG_IN_BINARY "file-gih"
+#define PLUG_IN_ROLE "gimp-file-gih"
#define DUMMY_PATTERN_NAME "x"
#define MAXDESCLEN 256
diff --git a/plug-ins/common/file-header.c b/plug-ins/common/file-header.c
index e5356a4..e8e2269 100644
--- a/plug-ins/common/file-header.c
+++ b/plug-ins/common/file-header.c
@@ -29,6 +29,7 @@
#define SAVE_PROC "file-header-save"
#define PLUG_IN_BINARY "file-header"
+#define PLUG_IN_ROLE "gimp-file-header"
/* Declare some local functions.
diff --git a/plug-ins/common/file-html-table.c b/plug-ins/common/file-html-table.c
index e60a02b..3f9e86f 100644
--- a/plug-ins/common/file-html-table.c
+++ b/plug-ins/common/file-html-table.c
@@ -62,6 +62,7 @@
#define SAVE_PROC "file-gtm-save"
#define PLUG_IN_BINARY "file-html-table"
+#define PLUG_IN_ROLE "gimp-file-html-table"
/* Typedefs */
diff --git a/plug-ins/common/file-mng.c b/plug-ins/common/file-mng.c
index beb443c..5a7d0a7 100644
--- a/plug-ins/common/file-mng.c
+++ b/plug-ins/common/file-mng.c
@@ -94,6 +94,7 @@
#define SAVE_PROC "file-mng-save"
#define PLUG_IN_BINARY "file-mng"
+#define PLUG_IN_ROLE "gimp-file-mng"
#define SCALE_WIDTH 125
enum
diff --git a/plug-ins/common/file-pat.c b/plug-ins/common/file-pat.c
index 98cb787..8d7b042 100644
--- a/plug-ins/common/file-pat.c
+++ b/plug-ins/common/file-pat.c
@@ -52,6 +52,7 @@
#define LOAD_PROC "file-pat-load"
#define SAVE_PROC "file-pat-save"
#define PLUG_IN_BINARY "file-pat"
+#define PLUG_IN_ROLE "gimp-file-pat"
/* local function prototypes */
diff --git a/plug-ins/common/file-pcx.c b/plug-ins/common/file-pcx.c
index bff09a6..eb432f9 100644
--- a/plug-ins/common/file-pcx.c
+++ b/plug-ins/common/file-pcx.c
@@ -35,6 +35,7 @@
#define LOAD_PROC "file-pcx-load"
#define SAVE_PROC "file-pcx-save"
#define PLUG_IN_BINARY "file-pcx"
+#define PLUG_IN_ROLE "gimp-file-pcx"
/* Declare local functions. */
diff --git a/plug-ins/common/file-pdf-load.c b/plug-ins/common/file-pdf-load.c
index 41f4cc7..b74ec04 100644
--- a/plug-ins/common/file-pdf-load.c
+++ b/plug-ins/common/file-pdf-load.c
@@ -35,6 +35,7 @@
#define LOAD_PROC "file-pdf-load"
#define LOAD_THUMB_PROC "file-pdf-load-thumb"
#define PLUG_IN_BINARY "file-pdf-load"
+#define PLUG_IN_ROLE "gimp-file-pdf-load"
#define THUMBNAIL_SIZE 128
@@ -820,7 +821,7 @@ load_dialog (PopplerDocument *doc,
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Import from PDF"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Import from PDF"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, LOAD_PROC,
diff --git a/plug-ins/common/file-pdf-save.c b/plug-ins/common/file-pdf-save.c
index d66a7fc..4655817 100644
--- a/plug-ins/common/file-pdf-save.c
+++ b/plug-ins/common/file-pdf-save.c
@@ -114,6 +114,7 @@
#define SAVE_DEFAULTS_PROC "file-pdf-save-defaults"
#define SAVE_MULTI_PROC "file-pdf-save-multi"
#define PLUG_IN_BINARY "file-pdf-save"
+#define PLUG_IN_ROLE "gimp-file-pdf-save"
#define DATA_OPTIMIZE "file-pdf-data-optimize"
#define DATA_IMAGE_LIST "file-pdf-data-multi-page"
@@ -698,7 +699,7 @@ gui_single (void)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- window = gimp_export_dialog_new ("PDF", PLUG_IN_BINARY, SAVE_PROC);
+ window = gimp_export_dialog_new ("PDF", PLUG_IN_ROLE, SAVE_PROC);
vbox = gtk_vbox_new (FALSE, 12);
gtk_box_pack_start (GTK_BOX (gimp_export_dialog_get_content_area (window)),
@@ -760,7 +761,7 @@ gui_multi (void)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- window = gimp_export_dialog_new ("PDF", PLUG_IN_BINARY, SAVE_MULTI_PROC);
+ window = gimp_export_dialog_new ("PDF", PLUG_IN_ROLE, SAVE_MULTI_PROC);
vbox = gtk_vbox_new (FALSE, 10);
gtk_box_pack_start (GTK_BOX (gimp_export_dialog_get_content_area (window)),
diff --git a/plug-ins/common/file-pix.c b/plug-ins/common/file-pix.c
index b5454e2..e3acef7 100644
--- a/plug-ins/common/file-pix.c
+++ b/plug-ins/common/file-pix.c
@@ -55,6 +55,7 @@
#define LOAD_PROC "file-pix-load"
#define SAVE_PROC "file-pix-save"
#define PLUG_IN_BINARY "file-pix"
+#define PLUG_IN_ROLE "gimp-file-pix"
/* #define PIX_DEBUG */
diff --git a/plug-ins/common/file-png.c b/plug-ins/common/file-png.c
index e9a4ed8..65f01c4 100644
--- a/plug-ins/common/file-png.c
+++ b/plug-ins/common/file-png.c
@@ -63,6 +63,7 @@
#define GET_DEFAULTS_PROC "file-png-get-defaults"
#define SET_DEFAULTS_PROC "file-png-set-defaults"
#define PLUG_IN_BINARY "file-png"
+#define PLUG_IN_ROLE "gimp-file-png"
#define PLUG_IN_VERSION "1.3.4 - 03 September 2002"
#define SCALE_WIDTH 125
diff --git a/plug-ins/common/file-pnm.c b/plug-ins/common/file-pnm.c
index e85cdab..d6ccc70 100644
--- a/plug-ins/common/file-pnm.c
+++ b/plug-ins/common/file-pnm.c
@@ -62,6 +62,7 @@
#define PGM_SAVE_PROC "file-pgm-save"
#define PPM_SAVE_PROC "file-ppm-save"
#define PLUG_IN_BINARY "file-pnm"
+#define PLUG_IN_ROLE "gimp-file-pnm"
/* Declare local data types
diff --git a/plug-ins/common/file-ps.c b/plug-ins/common/file-ps.c
index 6b2740d..b4157cc 100644
--- a/plug-ins/common/file-ps.c
+++ b/plug-ins/common/file-ps.c
@@ -114,6 +114,7 @@ static const gchar dversio[] = "v1.17 19-Sep-2004";
#define SAVE_PS_PROC "file-ps-save"
#define SAVE_EPS_PROC "file-eps-save"
#define PLUG_IN_BINARY "file-ps"
+#define PLUG_IN_ROLE "gimp-file-ps"
#define STR_LENGTH 64
@@ -3089,7 +3090,7 @@ load_dialog (const gchar *filename,
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Import from PostScript"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Import from PostScript"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, LOAD_PS_PROC,
diff --git a/plug-ins/common/file-psp.c b/plug-ins/common/file-psp.c
index b565185..7e620fb 100644
--- a/plug-ins/common/file-psp.c
+++ b/plug-ins/common/file-psp.c
@@ -28,6 +28,7 @@
#define LOAD_PROC "file-psp-load"
#define SAVE_PROC "file-psp-save"
#define PLUG_IN_BINARY "file-psp"
+#define PLUG_IN_ROLE "gimp-file-psp"
/* set to the level of debugging output you want, 0 for none */
#define PSP_DEBUG 0
diff --git a/plug-ins/common/file-raw.c b/plug-ins/common/file-raw.c
index cefcd20..f9ba5a1 100644
--- a/plug-ins/common/file-raw.c
+++ b/plug-ins/common/file-raw.c
@@ -49,6 +49,7 @@
#define LOAD_PROC "file-raw-load"
#define SAVE_PROC "file-raw-save"
#define PLUG_IN_BINARY "file-raw"
+#define PLUG_IN_ROLE "gimp-file-raw"
#define PREVIEW_SIZE 350
@@ -1051,7 +1052,7 @@ load_dialog (const gchar *filename)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("Load Image from Raw Data"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Load Image from Raw Data"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, LOAD_PROC,
diff --git a/plug-ins/common/file-sunras.c b/plug-ins/common/file-sunras.c
index fce0164..00898b6 100644
--- a/plug-ins/common/file-sunras.c
+++ b/plug-ins/common/file-sunras.c
@@ -52,6 +52,7 @@
#define LOAD_PROC "file-sunras-load"
#define SAVE_PROC "file-sunras-save"
#define PLUG_IN_BINARY "file-sunras"
+#define PLUG_IN_ROLE "gimp-file-sunras"
typedef int WRITE_FUN(void*,size_t,size_t,FILE*);
diff --git a/plug-ins/common/file-svg.c b/plug-ins/common/file-svg.c
index ae75baa..5c2cc9f 100644
--- a/plug-ins/common/file-svg.c
+++ b/plug-ins/common/file-svg.c
@@ -38,6 +38,7 @@
#define LOAD_PROC "file-svg-load"
#define LOAD_THUMB_PROC "file-svg-load-thumb"
#define PLUG_IN_BINARY "file-svg"
+#define PLUG_IN_ROLE "gimp-file-svg"
#define SVG_VERSION "2.5.0"
#define SVG_DEFAULT_RESOLUTION 90.0
#define SVG_DEFAULT_SIZE 500
@@ -739,7 +740,7 @@ load_dialog (const gchar *filename,
/* Scalable Vector Graphics is SVG, should perhaps not be translated */
dialog = gimp_dialog_new (_("Render Scalable Vector Graphics"),
- PLUG_IN_BINARY,
+ PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, LOAD_PROC,
diff --git a/plug-ins/common/file-tga.c b/plug-ins/common/file-tga.c
index 5c8176b..0e1094c 100644
--- a/plug-ins/common/file-tga.c
+++ b/plug-ins/common/file-tga.c
@@ -95,6 +95,7 @@
#define LOAD_PROC "file-tga-load"
#define SAVE_PROC "file-tga-save"
#define PLUG_IN_BINARY "file-tga"
+#define PLUG_IN_ROLE "gimp-file-tga"
typedef enum
{
diff --git a/plug-ins/common/file-tiff-load.c b/plug-ins/common/file-tiff-load.c
index 6642564..dac17ca 100644
--- a/plug-ins/common/file-tiff-load.c
+++ b/plug-ins/common/file-tiff-load.c
@@ -73,6 +73,7 @@
#define LOAD_PROC "file-tiff-load"
#define PLUG_IN_BINARY "file-tiff-load"
+#define PLUG_IN_ROLE "gimp-file-tiff-load"
typedef struct
@@ -475,7 +476,7 @@ load_dialog (TIFF *tif,
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Import from TIFF"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Import from TIFF"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, LOAD_PROC,
diff --git a/plug-ins/common/file-tiff-save.c b/plug-ins/common/file-tiff-save.c
index ec649f0..7f2ad98 100644
--- a/plug-ins/common/file-tiff-save.c
+++ b/plug-ins/common/file-tiff-save.c
@@ -74,6 +74,7 @@
#define SAVE_PROC "file-tiff-save"
#define SAVE2_PROC "file-tiff-save2"
#define PLUG_IN_BINARY "file-tiff-save"
+#define PLUG_IN_ROLE "gimp-file-tiff-save"
typedef struct
diff --git a/plug-ins/common/file-wmf.c b/plug-ins/common/file-wmf.c
index 6775e5f..e9d16dc 100644
--- a/plug-ins/common/file-wmf.c
+++ b/plug-ins/common/file-wmf.c
@@ -35,6 +35,7 @@
#define LOAD_PROC "file-wmf-load"
#define LOAD_THUMB_PROC "file-wmf-load-thumb"
#define PLUG_IN_BINARY "file-wmf"
+#define PLUG_IN_ROLE "gimp-file-wmf"
#define WMF_DEFAULT_RESOLUTION 90.0
#define WMF_DEFAULT_SIZE 500
@@ -496,7 +497,7 @@ load_dialog (const gchar *filename)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Render Windows Metafile"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Render Windows Metafile"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, LOAD_PROC,
diff --git a/plug-ins/common/file-xbm.c b/plug-ins/common/file-xbm.c
index 0017a1a..a66be1f 100644
--- a/plug-ins/common/file-xbm.c
+++ b/plug-ins/common/file-xbm.c
@@ -52,6 +52,7 @@
#define LOAD_PROC "file-xbm-load"
#define SAVE_PROC "file-xbm-save"
#define PLUG_IN_BINARY "file-xbm"
+#define PLUG_IN_ROLE "gimp-file-xbm"
/* Wear your GIMP with pride! */
diff --git a/plug-ins/common/file-xmc.c b/plug-ins/common/file-xmc.c
index d648b2d..4d1ae81 100644
--- a/plug-ins/common/file-xmc.c
+++ b/plug-ins/common/file-xmc.c
@@ -82,6 +82,7 @@
#define SAVE_PROC2 "file-xmc-save2"
#define PLUG_IN_BINARY "file-xmc"
+#define PLUG_IN_ROLE "gimp-file-xmc"
/* We use "xmc" as the file extension of X cursor for convenience */
#define XCURSOR_EXTENSION "xmc"
#define XCURSOR_MIME_TYPE "image/x-xcursor"
diff --git a/plug-ins/common/file-xpm.c b/plug-ins/common/file-xpm.c
index 74cb913..4e9e976 100644
--- a/plug-ins/common/file-xpm.c
+++ b/plug-ins/common/file-xpm.c
@@ -71,6 +71,7 @@ ABCDEFGHIJKLMNOPQRSTUVWXYZ`";
#define LOAD_PROC "file-xpm-load"
#define SAVE_PROC "file-xpm-save"
#define PLUG_IN_BINARY "file-xpm"
+#define PLUG_IN_ROLE "gimp-file-xpm"
#define SCALE_WIDTH 125
/* Structs for the save dialog */
diff --git a/plug-ins/common/file-xwd.c b/plug-ins/common/file-xwd.c
index 00f5d98..22b16dd 100644
--- a/plug-ins/common/file-xwd.c
+++ b/plug-ins/common/file-xwd.c
@@ -64,6 +64,7 @@
#define LOAD_PROC "file-xwd-load"
#define SAVE_PROC "file-xwd-save"
#define PLUG_IN_BINARY "file-xwd"
+#define PLUG_IN_ROLE "gimp-file-xwd"
typedef gulong L_CARD32;
diff --git a/plug-ins/common/film.c b/plug-ins/common/film.c
index c7559ff..85138e0 100644
--- a/plug-ins/common/film.c
+++ b/plug-ins/common/film.c
@@ -33,6 +33,7 @@
#define PLUG_IN_PROC "plug-in-film"
#define PLUG_IN_BINARY "film"
+#define PLUG_IN_ROLE "gimp-film"
/* Maximum number of pictures per film */
#define MAX_FILM_PICTURES 64
@@ -1244,7 +1245,7 @@ film_dialog (gint32 image_ID)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dlg = gimp_dialog_new (_("Filmstrip"), PLUG_IN_BINARY,
+ dlg = gimp_dialog_new (_("Filmstrip"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/filter-pack.c b/plug-ins/common/filter-pack.c
index 399d449..d4fbee6 100644
--- a/plug-ins/common/filter-pack.c
+++ b/plug-ins/common/filter-pack.c
@@ -33,6 +33,7 @@
#define PLUG_IN_PROC "plug-in-filter-pack"
#define PLUG_IN_BINARY "filter-pack"
+#define PLUG_IN_ROLE "gimp-filter-pack"
#define MAX_PREVIEW_SIZE 125
#define MAX_ROUGHNESS 128
@@ -1197,7 +1198,7 @@ fp_dialog (void)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dlg = gimp_dialog_new (_("Filter Pack Simulation"), PLUG_IN_BINARY,
+ dlg = gimp_dialog_new (_("Filter Pack Simulation"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/fractal-trace.c b/plug-ins/common/fractal-trace.c
index 14f8d17..6ed8598 100644
--- a/plug-ins/common/fractal-trace.c
+++ b/plug-ins/common/fractal-trace.c
@@ -22,6 +22,7 @@
#define PLUG_IN_PROC "plug-in-fractal-trace"
#define PLUG_IN_BINARY "fractal-trace"
+#define PLUG_IN_ROLE "gimp-fractal-trace"
#define PLUG_IN_VERSION "v0.4 test version (Dec. 25 1997)"
/*****************************************************************************/
@@ -687,7 +688,7 @@ dialog_show (void)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("Fractal Trace"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Fractal Trace"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/gradient-map.c b/plug-ins/common/gradient-map.c
index 84685c9..8eb9f59 100644
--- a/plug-ins/common/gradient-map.c
+++ b/plug-ins/common/gradient-map.c
@@ -31,6 +31,7 @@
#define GRADMAP_PROC "plug-in-gradmap"
#define PALETTEMAP_PROC "plug-in-palettemap"
#define PLUG_IN_BINARY "gradient-map"
+#define PLUG_IN_ROLE "gimp-gradient-map"
#define NSAMPLES 256
#define LUMINOSITY(X) (GIMP_RGB_LUMINANCE (X[0], X[1], X[2]) + 0.5)
diff --git a/plug-ins/common/grid.c b/plug-ins/common/grid.c
index d75be1c..f6bbfd7 100644
--- a/plug-ins/common/grid.c
+++ b/plug-ins/common/grid.c
@@ -48,6 +48,7 @@
#define PLUG_IN_PROC "plug-in-grid"
#define PLUG_IN_BINARY "grid"
+#define PLUG_IN_ROLE "gimp-grid"
#define SPIN_BUTTON_WIDTH 8
#define COLOR_BUTTON_WIDTH 55
@@ -631,7 +632,7 @@ dialog (gint32 image_ID,
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- main_dialog = dlg = gimp_dialog_new (_("Grid"), PLUG_IN_BINARY,
+ main_dialog = dlg = gimp_dialog_new (_("Grid"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/hot.c b/plug-ins/common/hot.c
index e000758..905f1ce 100644
--- a/plug-ins/common/hot.c
+++ b/plug-ins/common/hot.c
@@ -74,6 +74,7 @@
#define PLUG_IN_PROC "plug-in-hot"
#define PLUG_IN_BINARY "hot"
+#define PLUG_IN_ROLE "gimp-hot"
typedef struct
@@ -582,7 +583,7 @@ plugin_dialog (piArgs *argp)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dlg = gimp_dialog_new (_("Hot"), PLUG_IN_BINARY,
+ dlg = gimp_dialog_new (_("Hot"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/illusion.c b/plug-ins/common/illusion.c
index 4a0306c..60d8f39 100644
--- a/plug-ins/common/illusion.c
+++ b/plug-ins/common/illusion.c
@@ -35,6 +35,7 @@
#define PLUG_IN_PROC "plug-in-illusion"
#define PLUG_IN_BINARY "illusion"
+#define PLUG_IN_ROLE "gimp-illusion"
#define PLUG_IN_VERSION "v0.8 (May 14 2000)"
@@ -346,7 +347,7 @@ illusion_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("Illusion"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Illusion"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/iwarp.c b/plug-ins/common/iwarp.c
index 1c54ec5..acdc83c 100644
--- a/plug-ins/common/iwarp.c
+++ b/plug-ins/common/iwarp.c
@@ -52,6 +52,7 @@
#define PLUG_IN_PROC "plug-in-iwarp"
#define PLUG_IN_BINARY "iwarp"
+#define PLUG_IN_ROLE "gimp-iwarp"
#define RESPONSE_RESET 1
#define MAX_DEFORM_AREA_RADIUS 250
@@ -1279,7 +1280,7 @@ iwarp_dialog (void)
if (! iwarp_init ())
return FALSE;
- dialog = gimp_dialog_new (_("IWarp"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("IWarp"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/jigsaw.c b/plug-ins/common/jigsaw.c
index adeace1..c4d2016 100644
--- a/plug-ins/common/jigsaw.c
+++ b/plug-ins/common/jigsaw.c
@@ -44,6 +44,7 @@
#define PLUG_IN_PROC "plug-in-jigsaw"
#define PLUG_IN_BINARY "jigsaw"
+#define PLUG_IN_ROLE "gimp-jigsaw"
typedef enum
@@ -2412,7 +2413,7 @@ jigsaw_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("Jigsaw"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Jigsaw"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/lcms.c b/plug-ins/common/lcms.c
index 206ffe1..61d8820 100644
--- a/plug-ins/common/lcms.c
+++ b/plug-ins/common/lcms.c
@@ -33,6 +33,7 @@
#define PLUG_IN_BINARY "lcms"
+#define PLUG_IN_ROLE "gimp-lcms"
#define PLUG_IN_PROC_SET "plug-in-icc-profile-set"
#define PLUG_IN_PROC_SET_RGB "plug-in-icc-profile-set-rgb"
@@ -1223,7 +1224,7 @@ lcms_icc_apply_dialog (gint32 image,
gimp_ui_init (PLUG_IN_BINARY, FALSE);
dialog = gimp_dialog_new (_("Convert to RGB working space?"),
- PLUG_IN_BINARY,
+ PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC_APPLY,
@@ -1451,7 +1452,7 @@ lcms_dialog (GimpColorConfig *config,
dialog = gimp_dialog_new (apply ?
_("Convert to ICC Color Profile") :
_("Assign ICC Color Profile"),
- PLUG_IN_BINARY,
+ PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func,
apply ? PLUG_IN_PROC_APPLY : PLUG_IN_PROC_SET,
diff --git a/plug-ins/common/lens-apply.c b/plug-ins/common/lens-apply.c
index 59d9da6..d80e332 100644
--- a/plug-ins/common/lens-apply.c
+++ b/plug-ins/common/lens-apply.c
@@ -46,6 +46,7 @@
#define PLUG_IN_PROC "plug-in-applylens"
#define PLUG_IN_BINARY "lens-apply"
+#define PLUG_IN_ROLE "gimp-lens-apply"
/* Declare local functions.
@@ -389,7 +390,7 @@ lens_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Lens Effect"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Lens Effect"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/lens-distortion.c b/plug-ins/common/lens-distortion.c
index bd2d2e3..c05e7ec 100644
--- a/plug-ins/common/lens-distortion.c
+++ b/plug-ins/common/lens-distortion.c
@@ -33,6 +33,7 @@
#define PLUG_IN_PROC "plug-in-lens-distortion"
#define PLUG_IN_BINARY "lens-distortion"
+#define PLUG_IN_ROLE "gimp-lens-distortion"
#define RESPONSE_RESET 1
@@ -477,7 +478,7 @@ lens_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Lens Distortion"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Lens Distortion"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/lens-flare.c b/plug-ins/common/lens-flare.c
index 6602f81..db2f535 100644
--- a/plug-ins/common/lens-flare.c
+++ b/plug-ins/common/lens-flare.c
@@ -54,6 +54,7 @@
#define PLUG_IN_PROC "plug-in-flarefx"
#define PLUG_IN_BINARY "flarefx"
+#define PLUG_IN_ROLE "gimp-flarefx"
/* --- Typedefs --- */
typedef struct
@@ -297,7 +298,7 @@ flare_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("Lens Flare"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Lens Flare"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/mail.c b/plug-ins/common/mail.c
index 4bc572c..b52610c 100644
--- a/plug-ins/common/mail.c
+++ b/plug-ins/common/mail.c
@@ -110,6 +110,7 @@ static const guint8 mail_icon[] =
#define PLUG_IN_PROC "plug-in-mail-image"
#define PLUG_IN_BINARY "mail"
+#define PLUG_IN_ROLE "gimp-mail"
typedef struct
{
@@ -403,7 +404,7 @@ save_dialog (void)
g_free (gump_from);
}
- dlg = gimp_dialog_new (_("Send by Email"), PLUG_IN_BINARY,
+ dlg = gimp_dialog_new (_("Send by Email"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/max-rgb.c b/plug-ins/common/max-rgb.c
index 99e8746..8a92072 100644
--- a/plug-ins/common/max-rgb.c
+++ b/plug-ins/common/max-rgb.c
@@ -34,6 +34,7 @@
#define PLUG_IN_PROC "plug-in-max-rgb"
#define PLUG_IN_BINARY "max-rgb"
+#define PLUG_IN_ROLE "gimp-max-rgb"
static void query (void);
@@ -255,7 +256,7 @@ max_rgb_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("Maximum RGB Value"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Maximum RGB Value"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/mosaic.c b/plug-ins/common/mosaic.c
index 2522b6b..6a54843 100644
--- a/plug-ins/common/mosaic.c
+++ b/plug-ins/common/mosaic.c
@@ -34,6 +34,7 @@
#define PLUG_IN_PROC "plug-in-mosaic"
#define PLUG_IN_BINARY "mosaic"
+#define PLUG_IN_ROLE "gimp-mosaic"
#define SCALE_WIDTH 150
@@ -589,7 +590,7 @@ mosaic_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("Mosaic"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Mosaic"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/newsprint.c b/plug-ins/common/newsprint.c
index e36ba29..bd3faba 100644
--- a/plug-ins/common/newsprint.c
+++ b/plug-ins/common/newsprint.c
@@ -57,6 +57,7 @@
#define PLUG_IN_PROC "plug-in-newsprint"
#define PLUG_IN_BINARY "newsprint"
+#define PLUG_IN_ROLE "gimp-newsprint"
#define TILE_CACHE_SIZE 16
#define SCALE_WIDTH 125
@@ -1175,7 +1176,7 @@ newsprint_dialog (GimpDrawable *drawable)
pvals.colourspace = CS_RGB;
}
- dialog = gimp_dialog_new (_("Newsprint"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Newsprint"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/nl-filter.c b/plug-ins/common/nl-filter.c
index c53f2ed..4c5a235 100644
--- a/plug-ins/common/nl-filter.c
+++ b/plug-ins/common/nl-filter.c
@@ -40,6 +40,7 @@
#define PLUG_IN_PROC "plug-in-nlfilt"
#define PLUG_IN_BINARY "nl-filter"
+#define PLUG_IN_ROLE "gimp-nl-filter"
typedef struct
@@ -1012,7 +1013,7 @@ nlfilter_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("NL Filter"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("NL Filter"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/noise-hsv.c b/plug-ins/common/noise-hsv.c
index 4ca5cd1..5c3112f 100644
--- a/plug-ins/common/noise-hsv.c
+++ b/plug-ins/common/noise-hsv.c
@@ -32,6 +32,7 @@
#define HSV_NOISE_PROC "plug-in-hsv-noise"
#define SCATTER_HSV_PROC "plug-in-scatter-hsv"
#define PLUG_IN_BINARY "noise-hsv"
+#define PLUG_IN_ROLE "gimp-noise-hsv"
#define SCALE_WIDTH 100
#define ENTRY_WIDTH 3
@@ -360,7 +361,7 @@ scatter_hsv_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("HSV Noise"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("HSV Noise"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, HSV_NOISE_PROC,
diff --git a/plug-ins/common/noise-randomize.c b/plug-ins/common/noise-randomize.c
index 3548443..fcfee18 100644
--- a/plug-ins/common/noise-randomize.c
+++ b/plug-ins/common/noise-randomize.c
@@ -83,6 +83,7 @@
********************************/
#define PLUG_IN_BINARY "noise-randomize"
+#define PLUG_IN_ROLE "gimp-noise-randomize"
/*
* progress meter update frequency
@@ -728,7 +729,7 @@ randomize_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dlg = gimp_dialog_new (gettext (RNDM_NAME[rndm_type - 1]), PLUG_IN_BINARY,
+ dlg = gimp_dialog_new (gettext (RNDM_NAME[rndm_type - 1]), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC[rndm_type - 1],
diff --git a/plug-ins/common/noise-rgb.c b/plug-ins/common/noise-rgb.c
index c85ceb4..5d7928a 100644
--- a/plug-ins/common/noise-rgb.c
+++ b/plug-ins/common/noise-rgb.c
@@ -42,6 +42,7 @@
#define RGB_NOISE_PROC "plug-in-rgb-noise"
#define NOISIFY_PROC "plug-in-noisify"
#define PLUG_IN_BINARY "noise-rgb"
+#define PLUG_IN_ROLE "gimp-noise-rgb"
#define SCALE_WIDTH 125
#define TILE_CACHE_SIZE 16
@@ -446,7 +447,7 @@ noisify_dialog (GimpDrawable *drawable,
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("RGB Noise"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("RGB Noise"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, RGB_NOISE_PROC,
diff --git a/plug-ins/common/noise-solid.c b/plug-ins/common/noise-solid.c
index e88e9a7..4bebfe5 100644
--- a/plug-ins/common/noise-solid.c
+++ b/plug-ins/common/noise-solid.c
@@ -74,6 +74,7 @@
#define PLUG_IN_PROC "plug-in-solid-noise"
#define PLUG_IN_BINARY "noise-solid"
+#define PLUG_IN_ROLE "gimp-noise-solid"
#define TABLE_SIZE 64
#define WEIGHT(T) ((2.0*fabs(T)-3.0)*(T)*(T)+1.0)
@@ -559,7 +560,7 @@ solid_noise_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
/* Dialog initialization */
- dialog = gimp_dialog_new (_("Solid Noise"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Solid Noise"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/noise-spread.c b/plug-ins/common/noise-spread.c
index 78b8508..5248f8f 100644
--- a/plug-ins/common/noise-spread.c
+++ b/plug-ins/common/noise-spread.c
@@ -26,6 +26,7 @@
#define PLUG_IN_PROC "plug-in-spread"
#define PLUG_IN_BINARY "noise-spread"
+#define PLUG_IN_ROLE "gimp-noise-spread"
#define TILE_CACHE_SIZE 16
typedef struct
@@ -340,7 +341,7 @@ spread_dialog (gint32 image_ID,
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Spread"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Spread"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/nova.c b/plug-ins/common/nova.c
index fe59f31..2472af0 100644
--- a/plug-ins/common/nova.c
+++ b/plug-ins/common/nova.c
@@ -70,6 +70,7 @@
#define PLUG_IN_PROC "plug-in-nova"
#define PLUG_IN_BINARY "nova"
+#define PLUG_IN_ROLE "gimp-nova"
#define SCALE_WIDTH 125
@@ -295,7 +296,7 @@ nova_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("Supernova"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Supernova"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/oilify.c b/plug-ins/common/oilify.c
index 5b257be..c357e81 100644
--- a/plug-ins/common/oilify.c
+++ b/plug-ins/common/oilify.c
@@ -33,6 +33,7 @@
#define PLUG_IN_PROC "plug-in-oilify"
#define PLUG_IN_ENHANCED_PROC "plug-in-oilify-enhanced"
#define PLUG_IN_BINARY "oilify"
+#define PLUG_IN_ROLE "gimp-oilify"
#define SCALE_WIDTH 125
#define HISTSIZE 256
@@ -773,7 +774,7 @@ oilify_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Oilify"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Oilify"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/photocopy.c b/plug-ins/common/photocopy.c
index ae14b12..7443421 100644
--- a/plug-ins/common/photocopy.c
+++ b/plug-ins/common/photocopy.c
@@ -37,6 +37,7 @@
#define PLUG_IN_PROC "plug-in-photocopy"
#define PLUG_IN_BINARY "photocopy"
+#define PLUG_IN_ROLE "gimp-photocopy"
#define TILE_CACHE_SIZE 48
#define GAMMA 1.0
#define EPSILON 2
@@ -835,7 +836,7 @@ photocopy_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Photocopy"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Photocopy"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/pixelize.c b/plug-ins/common/pixelize.c
index 4309dab..5fd44bb 100644
--- a/plug-ins/common/pixelize.c
+++ b/plug-ins/common/pixelize.c
@@ -70,6 +70,7 @@
#define PIXELIZE_PROC "plug-in-pixelize"
#define PIXELIZE2_PROC "plug-in-pixelize2"
#define PLUG_IN_BINARY "pixelize"
+#define PLUG_IN_ROLE "gimp-pixelize"
#define TILE_CACHE_SIZE 16
#define SCALE_WIDTH 125
#define ENTRY_WIDTH 6
@@ -312,7 +313,7 @@ pixelize_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Pixelize"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Pixelize"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PIXELIZE_PROC,
diff --git a/plug-ins/common/plasma.c b/plug-ins/common/plasma.c
index 7b0f82f..aa7df00 100644
--- a/plug-ins/common/plasma.c
+++ b/plug-ins/common/plasma.c
@@ -68,6 +68,7 @@
#define PLUG_IN_PROC "plug-in-plasma"
#define PLUG_IN_BINARY "plasma"
+#define PLUG_IN_ROLE "gimp-plasma"
#define SCALE_WIDTH 48
#define TILE_CACHE_SIZE 32
@@ -296,7 +297,7 @@ plasma_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("Plasma"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Plasma"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/plugin-browser.c b/plug-ins/common/plugin-browser.c
index 506dbfa..ae73253 100644
--- a/plug-ins/common/plugin-browser.c
+++ b/plug-ins/common/plugin-browser.c
@@ -35,6 +35,7 @@
#define PLUG_IN_PROC "plug-in-plug-in-details"
#define PLUG_IN_BINARY "plugin-browser"
+#define PLUG_IN_ROLE "gimp-plugin-browser"
#define DBL_LIST_WIDTH 250
#define DBL_WIDTH (DBL_LIST_WIDTH + 400)
#define DBL_HEIGHT 250
@@ -556,7 +557,7 @@ browser_dialog_new (void)
browser = g_new0 (PluginBrowser, 1);
- browser->dialog = gimp_dialog_new (_("Plug-In Browser"), PLUG_IN_BINARY,
+ browser->dialog = gimp_dialog_new (_("Plug-In Browser"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/polar-coords.c b/plug-ins/common/polar-coords.c
index 143325b..d15a659 100644
--- a/plug-ins/common/polar-coords.c
+++ b/plug-ins/common/polar-coords.c
@@ -69,6 +69,7 @@
#define PLUG_IN_PROC "plug-in-polar-coords"
#define PLUG_IN_BINARY "polar-coords"
+#define PLUG_IN_ROLE "gimp-polar-coords"
#define PLUG_IN_VERSION "July 1997, 0.5"
#define SCALE_WIDTH 200
@@ -589,7 +590,7 @@ polarize_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("Polar Coordinates"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Polar Coordinates"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/procedure-browser.c b/plug-ins/common/procedure-browser.c
index 2e3a9f9..f157f86 100644
--- a/plug-ins/common/procedure-browser.c
+++ b/plug-ins/common/procedure-browser.c
@@ -50,6 +50,7 @@
#define PLUG_IN_PROC "plug-in-dbbrowser"
#define PLUG_IN_BINARY "procedure-browser"
+#define PLUG_IN_ROLE "gimp-procedure-browser"
static void query (void);
diff --git a/plug-ins/common/qbist.c b/plug-ins/common/qbist.c
index 4be69ba..f2e6cbd 100644
--- a/plug-ins/common/qbist.c
+++ b/plug-ins/common/qbist.c
@@ -58,6 +58,7 @@
#define PLUG_IN_PROC "plug-in-qbist"
#define PLUG_IN_BINARY "qbist"
+#define PLUG_IN_ROLE "gimp-qbist"
#define PLUG_IN_VERSION "January 2001, 1.12"
/** types *******************************************************************/
@@ -805,7 +806,7 @@ dialog_run (void)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("G-Qbist"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("G-Qbist"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/red-eye-removal.c b/plug-ins/common/red-eye-removal.c
index 83c6c89..6716a1a 100644
--- a/plug-ins/common/red-eye-removal.c
+++ b/plug-ins/common/red-eye-removal.c
@@ -75,6 +75,7 @@ static void redeye_inner_loop (const guchar *src,
#define PLUG_IN_PROC "plug-in-red-eye-removal"
#define PLUG_IN_BINARY "red-eye-removal"
+#define PLUG_IN_ROLE "gimp-red-eye-removal"
const GimpPlugInInfo PLUG_IN_INFO =
@@ -138,7 +139,7 @@ dialog (gint32 image_id,
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("Red Eye Removal"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Red Eye Removal"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
diff --git a/plug-ins/common/ripple.c b/plug-ins/common/ripple.c
index 61c0b9e..c77f1ef 100644
--- a/plug-ins/common/ripple.c
+++ b/plug-ins/common/ripple.c
@@ -33,6 +33,7 @@
/* Some useful macros */
#define PLUG_IN_PROC "plug-in-ripple"
#define PLUG_IN_BINARY "ripple"
+#define PLUG_IN_ROLE "gimp-ripple"
#define SCALE_WIDTH 200
#define TILE_CACHE_SIZE 16
@@ -481,7 +482,7 @@ ripple_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("Ripple"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Ripple"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/sample-colorize.c b/plug-ins/common/sample-colorize.c
index c23ce2d..4310ee8 100644
--- a/plug-ins/common/sample-colorize.c
+++ b/plug-ins/common/sample-colorize.c
@@ -38,6 +38,7 @@
#define PLUG_IN_PROC "plug-in-sample-colorize"
#define PLUG_IN_BINARY "sample-colorize"
+#define PLUG_IN_ROLE "gimp-sample-colorize"
#define NUMBER_IN_ARGS 13
#define TILE_CACHE_SIZE 32
@@ -1321,7 +1322,7 @@ smp_dialog (void)
/* Main Dialog */
g_di.dialog = dialog =
- gimp_dialog_new (_("Sample Colorize"), PLUG_IN_BINARY,
+ gimp_dialog_new (_("Sample Colorize"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/screenshot.c b/plug-ins/common/screenshot.c
index 1022391..8528ad9 100644
--- a/plug-ins/common/screenshot.c
+++ b/plug-ins/common/screenshot.c
@@ -140,6 +140,7 @@ static const guint8 screenshot_icon[] =
/* Defines */
#define PLUG_IN_PROC "plug-in-screenshot"
#define PLUG_IN_BINARY "screenshot"
+#define PLUG_IN_ROLE "gimp-screenshot"
#ifdef __GNUC__
#ifdef GDK_NATIVE_WINDOW_POINTER
@@ -1057,7 +1058,7 @@ shoot_dialog (GdkScreen **screen)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Screenshot"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Screenshot"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/sharpen.c b/plug-ins/common/sharpen.c
index e7e83de..b20189d 100644
--- a/plug-ins/common/sharpen.c
+++ b/plug-ins/common/sharpen.c
@@ -33,6 +33,7 @@
#define PLUG_IN_PROC "plug-in-sharpen"
#define PLUG_IN_BINARY "sharpen"
+#define PLUG_IN_ROLE "gimp-sharpen"
#define PLUG_IN_VERSION "1.4.2 - 3 June 1998"
#define SCALE_WIDTH 100
@@ -470,7 +471,7 @@ sharpen_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("Sharpen"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Sharpen"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/shift.c b/plug-ins/common/shift.c
index 11e5ed3..fcf5acb 100644
--- a/plug-ins/common/shift.c
+++ b/plug-ins/common/shift.c
@@ -33,6 +33,7 @@
#define PLUG_IN_PROC "plug-in-shift"
#define PLUG_IN_BINARY "shift"
+#define PLUG_IN_ROLE "gimp-shift"
#define SPIN_BUTTON_WIDTH 8
#define TILE_CACHE_SIZE 16
#define HORIZONTAL 0
@@ -351,7 +352,7 @@ shift_dialog (gint32 image_ID,
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Shift"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Shift"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/sinus.c b/plug-ins/common/sinus.c
index ef0fb04..623a703 100644
--- a/plug-ins/common/sinus.c
+++ b/plug-ins/common/sinus.c
@@ -36,6 +36,7 @@
#define PLUG_IN_PROC "plug-in-sinus"
#define PLUG_IN_BINARY "sinus"
+#define PLUG_IN_ROLE "gimp-sinus"
/*
@@ -644,7 +645,7 @@ sinus_dialog (void)
/* Create Main window with a vbox */
/* ============================== */
- dlg = gimp_dialog_new (_("Sinus"), PLUG_IN_BINARY,
+ dlg = gimp_dialog_new (_("Sinus"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/smooth-palette.c b/plug-ins/common/smooth-palette.c
index ed49a64..615144e 100644
--- a/plug-ins/common/smooth-palette.c
+++ b/plug-ins/common/smooth-palette.c
@@ -31,6 +31,7 @@
#define PLUG_IN_PROC "plug-in-smooth-palette"
#define PLUG_IN_BINARY "smooth-palette"
+#define PLUG_IN_ROLE "gimp-smooth-palette"
/* Declare local functions. */
@@ -408,7 +409,7 @@ dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dlg = gimp_dialog_new (_("Smooth Palette"), PLUG_IN_BINARY,
+ dlg = gimp_dialog_new (_("Smooth Palette"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/softglow.c b/plug-ins/common/softglow.c
index 9707d78..6a6261c 100644
--- a/plug-ins/common/softglow.c
+++ b/plug-ins/common/softglow.c
@@ -37,6 +37,7 @@
#define PLUG_IN_PROC "plug-in-softglow"
#define PLUG_IN_BINARY "softglow"
+#define PLUG_IN_ROLE "gimp-softglow"
#define TILE_CACHE_SIZE 48
#define SIGMOIDAL_BASE 2
#define SIGMOIDAL_RANGE 20
@@ -628,7 +629,7 @@ softglow_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Softglow"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Softglow"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/sparkle.c b/plug-ins/common/sparkle.c
index 641a524..8c99041 100644
--- a/plug-ins/common/sparkle.c
+++ b/plug-ins/common/sparkle.c
@@ -40,6 +40,7 @@
#define PLUG_IN_PROC "plug-in-sparkle"
#define PLUG_IN_BINARY "sparkle"
+#define PLUG_IN_ROLE "gimp-sparkle"
#define SCALE_WIDTH 175
#define ENTRY_WIDTH 7
@@ -333,7 +334,7 @@ sparkle_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Sparkle"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Sparkle"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/sphere-designer.c b/plug-ins/common/sphere-designer.c
index e975be4..381c918 100644
--- a/plug-ins/common/sphere-designer.c
+++ b/plug-ins/common/sphere-designer.c
@@ -50,6 +50,7 @@
#define PLUG_IN_PROC "plug-in-spheredesigner"
#define PLUG_IN_BINARY "sphere-designer"
+#define PLUG_IN_ROLE "gimp-sphere-designer"
#define RESPONSE_RESET 1
@@ -2547,7 +2548,7 @@ makewindow (void)
GtkWidget *list;
GimpRGB rgb = { 0, 0, 0, 0 };
- window = gimp_dialog_new (_("Sphere Designer"), PLUG_IN_BINARY,
+ window = gimp_dialog_new (_("Sphere Designer"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/threshold-alpha.c b/plug-ins/common/threshold-alpha.c
index 0e15ddf..85e275a 100644
--- a/plug-ins/common/threshold-alpha.c
+++ b/plug-ins/common/threshold-alpha.c
@@ -31,6 +31,7 @@
#define PLUG_IN_PROC "plug-in-threshold-alpha"
#define PLUG_IN_BINARY "threshold-alpha"
+#define PLUG_IN_ROLE "gimp-threshold-alpha"
#define SCALE_WIDTH 120
@@ -244,7 +245,7 @@ threshold_alpha_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Threshold Alpha"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Threshold Alpha"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/tile-glass.c b/plug-ins/common/tile-glass.c
index b4281f9..3a5d8ec 100644
--- a/plug-ins/common/tile-glass.c
+++ b/plug-ins/common/tile-glass.c
@@ -49,6 +49,7 @@
#define PLUG_IN_PROC "plug-in-glasstile"
#define PLUG_IN_BINARY "tile-glass"
+#define PLUG_IN_ROLE "gimp-tile-glass"
/* --- Typedefs --- */
@@ -246,7 +247,7 @@ glasstile_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("Glass Tile"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Glass Tile"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/tile-paper.c b/plug-ins/common/tile-paper.c
index 921c479..b7b6d46 100644
--- a/plug-ins/common/tile-paper.c
+++ b/plug-ins/common/tile-paper.c
@@ -35,6 +35,7 @@
#define PLUG_IN_PROC "plug-in-papertile"
#define PLUG_IN_BINARY "tile-paper"
+#define PLUG_IN_ROLE "gimp-tile-paper"
/*===========================================================================*/
/* TYPES */
@@ -239,7 +240,7 @@ open_dialog (void)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("Paper Tile"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Paper Tile"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/tile-small.c b/plug-ins/common/tile-small.c
index 608cb71..d10e4eb 100644
--- a/plug-ins/common/tile-small.c
+++ b/plug-ins/common/tile-small.c
@@ -45,6 +45,7 @@
#define PLUG_IN_PROC "plug-in-small-tiles"
#define PLUG_IN_BINARY "tile-small"
+#define PLUG_IN_ROLE "gimp-tile-small"
/***** Magic numbers *****/
@@ -367,7 +368,7 @@ tileit_dialog (void)
cache_preview (); /* Get the preview image */
- dlg = gimp_dialog_new (_("Small Tiles"), PLUG_IN_BINARY,
+ dlg = gimp_dialog_new (_("Small Tiles"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/tile.c b/plug-ins/common/tile.c
index 5beb491..23ac46a 100644
--- a/plug-ins/common/tile.c
+++ b/plug-ins/common/tile.c
@@ -30,6 +30,7 @@
#define PLUG_IN_PROC "plug-in-tile"
#define PLUG_IN_BINARY "tile"
+#define PLUG_IN_ROLE "gimp-tile"
typedef struct
@@ -397,7 +398,7 @@ tile_dialog (gint32 image_ID,
tvals.new_width = width;
tvals.new_height = height;
- dlg = gimp_dialog_new (_("Tile"), PLUG_IN_BINARY,
+ dlg = gimp_dialog_new (_("Tile"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/unit-editor.c b/plug-ins/common/unit-editor.c
index ef10d0f..2075ef3 100644
--- a/plug-ins/common/unit-editor.c
+++ b/plug-ins/common/unit-editor.c
@@ -31,6 +31,7 @@
#define PLUG_IN_PROC "plug-in-unit-editor"
#define PLUG_IN_BINARY "unit-editor"
+#define PLUG_IN_ROLE "gimp-unit-editor"
#define RESPONSE_REFRESH 1
enum
@@ -204,7 +205,7 @@ new_unit_dialog (GtkWidget *main_dialog,
GimpUnit unit = GIMP_UNIT_PIXEL;
- dialog = gimp_dialog_new (_("Add a New Unit"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Add a New Unit"), PLUG_IN_ROLE,
main_dialog, GTK_DIALOG_MODAL,
gimp_standard_help_func, PLUG_IN_PROC,
@@ -407,7 +408,7 @@ unit_editor_dialog (void)
tv = gtk_tree_view_new_with_model (GTK_TREE_MODEL (list_store));
g_object_unref (list_store);
- dialog = gimp_dialog_new (_("Unit Editor"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Unit Editor"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/unsharp-mask.c b/plug-ins/common/unsharp-mask.c
index e9659e6..0a45145 100644
--- a/plug-ins/common/unsharp-mask.c
+++ b/plug-ins/common/unsharp-mask.c
@@ -29,6 +29,7 @@
#define PLUG_IN_PROC "plug-in-unsharp-mask"
#define PLUG_IN_BINARY "unsharp-mask"
+#define PLUG_IN_ROLE "gimp-unsharp-mask"
#define SCALE_WIDTH 120
#define ENTRY_WIDTH 5
@@ -826,7 +827,7 @@ unsharp_mask_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("Unsharp Mask"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Unsharp Mask"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/value-propagate.c b/plug-ins/common/value-propagate.c
index 6352066..7d33c61 100644
--- a/plug-ins/common/value-propagate.c
+++ b/plug-ins/common/value-propagate.c
@@ -45,6 +45,7 @@
#define ERODE_PROC "plug-in-erode"
#define DILATE_PROC "plug-in-dilate"
#define PLUG_IN_BINARY "value-propagate"
+#define PLUG_IN_ROLE "gimp-value-propagate"
#define PLUG_IN_IMAGE_TYPES "RGB*, GRAY*"
#define VP_RGB (1 << 0)
@@ -1085,7 +1086,7 @@ vpropagate_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Value Propagate"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Value Propagate"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, VPROPAGATE_PROC,
diff --git a/plug-ins/common/van-gogh-lic.c b/plug-ins/common/van-gogh-lic.c
index c269e26..37aa29e 100644
--- a/plug-ins/common/van-gogh-lic.c
+++ b/plug-ins/common/van-gogh-lic.c
@@ -52,6 +52,7 @@
#define PLUG_IN_PROC "plug-in-lic"
#define PLUG_IN_BINARY "van-gogh-lic"
+#define PLUG_IN_ROLE "gimp-van-gogh-lic"
typedef enum
{
@@ -639,7 +640,7 @@ create_main_dialog (void)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("Van Gogh (LIC)"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Van Gogh (LIC)"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/video.c b/plug-ins/common/video.c
index 6b432e5..f0d9b1d 100644
--- a/plug-ins/common/video.c
+++ b/plug-ins/common/video.c
@@ -29,6 +29,7 @@
#define PLUG_IN_PROC "plug-in-video"
#define PLUG_IN_BINARY "video"
+#define PLUG_IN_ROLE "gimp-video"
#define MAX_PATTERNS 9
#define MAX_PATTERN_SIZE 108
@@ -2013,7 +2014,7 @@ video_dialog (void)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dlg = gimp_dialog_new (_("Video"), PLUG_IN_BINARY,
+ dlg = gimp_dialog_new (_("Video"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/warp.c b/plug-ins/common/warp.c
index 0cec6b5..b446b87 100644
--- a/plug-ins/common/warp.c
+++ b/plug-ins/common/warp.c
@@ -75,6 +75,7 @@
#define PLUG_IN_PROC "plug-in-warp"
#define PLUG_IN_BINARY "warp"
+#define PLUG_IN_ROLE "gimp-warp"
#define ENTRY_WIDTH 75
#define TILE_CACHE_SIZE 30 /* was 48. There is a cache flush problem in GIMP preventing sequential updates */
#define MIN_ARGS 6 /* minimum number of arguments required */
@@ -372,7 +373,7 @@ warp_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dlg = gimp_dialog_new (_("Warp"), PLUG_IN_BINARY,
+ dlg = gimp_dialog_new (_("Warp"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/waves.c b/plug-ins/common/waves.c
index e6d464e..04e7189 100644
--- a/plug-ins/common/waves.c
+++ b/plug-ins/common/waves.c
@@ -34,6 +34,7 @@
#define PLUG_IN_PROC "plug-in-waves"
#define PLUG_IN_BINARY "waves"
+#define PLUG_IN_ROLE "gimp-waves"
typedef enum
{
@@ -245,7 +246,7 @@ waves_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("Waves"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Waves"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/web-browser.c b/plug-ins/common/web-browser.c
index 34fb4be..965d657 100644
--- a/plug-ins/common/web-browser.c
+++ b/plug-ins/common/web-browser.c
@@ -35,6 +35,7 @@
#define PLUG_IN_PROC "plug-in-web-browser"
#define PLUG_IN_BINARY "web-browser"
+#define PLUG_IN_ROLE "gimp-web-browser"
static void query (void);
diff --git a/plug-ins/common/web-page.c b/plug-ins/common/web-page.c
index dbc762d..ce52fcb 100644
--- a/plug-ins/common/web-page.c
+++ b/plug-ins/common/web-page.c
@@ -33,6 +33,7 @@
/* Defines */
#define PLUG_IN_PROC "plug-in-web-page"
#define PLUG_IN_BINARY "web-page"
+#define PLUG_IN_ROLE "gimp-web-page"
#define MAX_URL_LEN 2048
typedef struct
@@ -229,7 +230,7 @@ webpage_dialog (void)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Create from webpage"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Create from webpage"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/whirl-pinch.c b/plug-ins/common/whirl-pinch.c
index 93d2b35..28da2fe 100644
--- a/plug-ins/common/whirl-pinch.c
+++ b/plug-ins/common/whirl-pinch.c
@@ -54,6 +54,7 @@
#define PLUG_IN_PROC "plug-in-whirl-pinch"
#define PLUG_IN_BINARY "whirl-pinch"
+#define PLUG_IN_ROLE "gimp-whirl-pinch"
#define PLUG_IN_VERSION "May 1997, 2.09"
/***** Magic numbers *****/
@@ -524,7 +525,7 @@ whirl_pinch_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("Whirl and Pinch"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Whirl and Pinch"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/common/wind.c b/plug-ins/common/wind.c
index d976f05..3b947f2 100644
--- a/plug-ins/common/wind.c
+++ b/plug-ins/common/wind.c
@@ -39,6 +39,7 @@
#define PLUG_IN_PROC "plug-in-wind"
#define PLUG_IN_BINARY "wind"
+#define PLUG_IN_ROLE "gimp-wind"
#define COMPARE_WIDTH 3
@@ -875,7 +876,7 @@ dialog_box (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("Wind"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Wind"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/file-bmp/bmp.h b/plug-ins/file-bmp/bmp.h
index 25b1832..21acc56 100644
--- a/plug-ins/file-bmp/bmp.h
+++ b/plug-ins/file-bmp/bmp.h
@@ -22,6 +22,7 @@
#define LOAD_PROC "file-bmp-load"
#define SAVE_PROC "file-bmp-save"
#define PLUG_IN_BINARY "file-bmp"
+#define PLUG_IN_ROLE "gimp-file-bmp"
#define MAXCOLORS 256
diff --git a/plug-ins/file-fits/fits.c b/plug-ins/file-fits/fits.c
index 90260ca..742319a 100644
--- a/plug-ins/file-fits/fits.c
+++ b/plug-ins/file-fits/fits.c
@@ -52,6 +52,7 @@
#define LOAD_PROC "file-fits-load"
#define SAVE_PROC "file-fits-save"
#define PLUG_IN_BINARY "file-fits"
+#define PLUG_IN_ROLE "gimp-file-fits"
/* Load info */
@@ -989,7 +990,7 @@ load_dialog (void)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Load FITS File"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Load FITS File"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, LOAD_PROC,
diff --git a/plug-ins/file-fli/fli-gimp.c b/plug-ins/file-fli/fli-gimp.c
index f4dad24..edf088d 100644
--- a/plug-ins/file-fli/fli-gimp.c
+++ b/plug-ins/file-fli/fli-gimp.c
@@ -68,6 +68,7 @@
#define SAVE_PROC "file-fli-save"
#define INFO_PROC "file-fli-info"
#define PLUG_IN_BINARY "file-fli"
+#define PLUG_IN_ROLE "gimp-file-fli"
static void query (void);
@@ -841,7 +842,7 @@ load_dialog (const gchar *filename)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("GFLI 1.3 - Load framestack"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("GFLI 1.3 - Load framestack"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, LOAD_PROC,
diff --git a/plug-ins/file-ico/ico.h b/plug-ins/file-ico/ico.h
index ef6a4de..76ee2bd 100644
--- a/plug-ins/file-ico/ico.h
+++ b/plug-ins/file-ico/ico.h
@@ -33,6 +33,7 @@
#endif
#define PLUG_IN_BINARY "file-ico"
+#define PLUG_IN_ROLE "gimp-file-ico"
#define ICO_PNG_MAGIC 0x474e5089
#define ICO_ALPHA_THRESHOLD 127
diff --git a/plug-ins/file-jpeg/jpeg-exif.c b/plug-ins/file-jpeg/jpeg-exif.c
index fac2a0d..a00141d 100644
--- a/plug-ins/file-jpeg/jpeg-exif.c
+++ b/plug-ins/file-jpeg/jpeg-exif.c
@@ -353,7 +353,7 @@ jpeg_exif_rotate_query_dialog (gint32 image_ID)
GdkPixbuf *pixbuf;
gint response;
- dialog = gimp_dialog_new (_("Rotate Image?"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Rotate Image?"), PLUG_IN_ROLE,
NULL, 0, NULL, NULL,
_("_Keep Orientation"), GTK_RESPONSE_CANCEL,
diff --git a/plug-ins/file-jpeg/jpeg.h b/plug-ins/file-jpeg/jpeg.h
index 6665afd..c9f2ff5 100644
--- a/plug-ins/file-jpeg/jpeg.h
+++ b/plug-ins/file-jpeg/jpeg.h
@@ -19,6 +19,7 @@
#define LOAD_THUMB_PROC "file-jpeg-load-thumb"
#define SAVE_PROC "file-jpeg-save"
#define PLUG_IN_BINARY "file-jpeg"
+#define PLUG_IN_ROLE "gimp-file-jpeg"
/* headers used in some APPn markers */
#define JPEG_APP_HEADER_EXIF "Exif\0\0"
diff --git a/plug-ins/file-psd/psd-save.c b/plug-ins/file-psd/psd-save.c
index 733190b..0195ae3 100644
--- a/plug-ins/file-psd/psd-save.c
+++ b/plug-ins/file-psd/psd-save.c
@@ -80,6 +80,7 @@
#define SAVE_PROC "file-psd-save"
#define PLUG_IN_BINARY "file-psd-save"
+#define PLUG_IN_ROLE "gimp-file-psd-save"
/* set to TRUE if you want debugging, FALSE otherwise */
#define DEBUG FALSE
diff --git a/plug-ins/file-psd/psd.h b/plug-ins/file-psd/psd.h
index e1b55bb..e07c7b6 100644
--- a/plug-ins/file-psd/psd.h
+++ b/plug-ins/file-psd/psd.h
@@ -41,6 +41,7 @@
#define LOAD_THUMB_PROC "file-psd-load-thumb"
#define SAVE_PROC "file-psd-save"
#define PLUG_IN_BINARY "file-psd"
+#define PLUG_IN_ROLE "gimp-file-psd"
#define DECODE_XMP_PROC "plug-in-metadata-decode-xmp"
diff --git a/plug-ins/file-sgi/sgi.c b/plug-ins/file-sgi/sgi.c
index ed51d63..df15492 100644
--- a/plug-ins/file-sgi/sgi.c
+++ b/plug-ins/file-sgi/sgi.c
@@ -47,6 +47,7 @@
#define LOAD_PROC "file-sgi-load"
#define SAVE_PROC "file-sgi-save"
#define PLUG_IN_BINARY "file-sgi"
+#define PLUG_IN_ROLE "gimp-file-sgi"
#define PLUG_IN_VERSION "1.1.1 - 17 May 1998"
diff --git a/plug-ins/file-uri/uri.c b/plug-ins/file-uri/uri.c
index e8d7efe..539f463 100644
--- a/plug-ins/file-uri/uri.c
+++ b/plug-ins/file-uri/uri.c
@@ -40,6 +40,7 @@
#define LOAD_PROC "file-uri-load"
#define SAVE_PROC "file-uri-save"
#define PLUG_IN_BINARY "file-uri"
+#define PLUG_IN_ROLE "gimp-file-uri"
static void query (void);
diff --git a/plug-ins/file-xjt/xjt.c b/plug-ins/file-xjt/xjt.c
index 2f07a42..100f1c7 100644
--- a/plug-ins/file-xjt/xjt.c
+++ b/plug-ins/file-xjt/xjt.c
@@ -83,6 +83,7 @@
#define LOAD_PROC "file-xjt-load"
#define SAVE_PROC "file-xjt-save"
#define PLUG_IN_BINARY "flie-xjt"
+#define PLUG_IN_ROLE "gimp-flie-xjt"
#ifdef _MSC_VER
typedef int pid_t;
diff --git a/plug-ins/flame/flame.c b/plug-ins/flame/flame.c
index 0972e70..152561c 100644
--- a/plug-ins/flame/flame.c
+++ b/plug-ins/flame/flame.c
@@ -36,6 +36,7 @@
#define PLUG_IN_PROC "plug-in-flame"
#define PLUG_IN_BINARY "flame"
+#define PLUG_IN_ROLE "gimp-flame"
#define VARIATION_SAME (-2)
@@ -640,7 +641,7 @@ edit_callback (GtkWidget *widget,
GtkObject *adj;
gint i, j;
- edit_dialog = gimp_dialog_new (_("Edit Flame"), PLUG_IN_BINARY,
+ edit_dialog = gimp_dialog_new (_("Edit Flame"), PLUG_IN_ROLE,
parent, GTK_DIALOG_DESTROY_WITH_PARENT,
gimp_standard_help_func, PLUG_IN_PROC,
@@ -962,7 +963,7 @@ flame_dialog (void)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("Flame"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Flame"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/fractal-explorer/fractal-explorer-dialogs.c b/plug-ins/fractal-explorer/fractal-explorer-dialogs.c
index 60bb99f..442107c 100644
--- a/plug-ins/fractal-explorer/fractal-explorer-dialogs.c
+++ b/plug-ins/fractal-explorer/fractal-explorer-dialogs.c
@@ -559,7 +559,7 @@ explorer_dialog (void)
elements = g_new (DialogElements, 1);
dialog = maindlg =
- gimp_dialog_new (_("Fractal Explorer"), PLUG_IN_BINARY,
+ gimp_dialog_new (_("Fractal Explorer"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/fractal-explorer/fractal-explorer.c b/plug-ins/fractal-explorer/fractal-explorer.c
index 37cd6df..a13ca03 100644
--- a/plug-ins/fractal-explorer/fractal-explorer.c
+++ b/plug-ins/fractal-explorer/fractal-explorer.c
@@ -1111,7 +1111,7 @@ fractalexplorer_rescan_list (GtkWidget *widget,
return;
}
- dlg = gimp_dialog_new (_("Rescan for Fractals"), PLUG_IN_BINARY,
+ dlg = gimp_dialog_new (_("Rescan for Fractals"), PLUG_IN_ROLE,
gtk_widget_get_toplevel (view),
GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/fractal-explorer/fractal-explorer.h b/plug-ins/fractal-explorer/fractal-explorer.h
index a276c14..2792e47 100644
--- a/plug-ins/fractal-explorer/fractal-explorer.h
+++ b/plug-ins/fractal-explorer/fractal-explorer.h
@@ -17,6 +17,7 @@
#define PLUG_IN_PROC "plug-in-fractalexplorer"
#define PLUG_IN_BINARY "fractal-explorer"
+#define PLUG_IN_ROLE "gimp-fractal-explorer"
#define FRACTAL_HEADER "Fractal Explorer Plug-In Version 2 - (c) 1997 <cotting mygale org>\n"
#define fractalexplorer_HEADER "Fractal Explorer Plug-In Version 2 - (c) 1997 <cotting mygale org>\n"
diff --git a/plug-ins/gfig/gfig-dialog.c b/plug-ins/gfig/gfig-dialog.c
index 91783bf..802ac1d 100644
--- a/plug-ins/gfig/gfig-dialog.c
+++ b/plug-ins/gfig/gfig-dialog.c
@@ -284,7 +284,7 @@ gfig_dialog (void)
}
/* Start building the dialog up */
- top_level_dlg = gimp_dialog_new (_("Gfig"), PLUG_IN_BINARY,
+ top_level_dlg = gimp_dialog_new (_("Gfig"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
@@ -1212,7 +1212,7 @@ gfig_prefs_action_callback (GtkAction *widget,
GtkWidget *scale;
GtkObject *scale_data;
- dialog = gimp_dialog_new (_("Options"), "gfig-options",
+ dialog = gimp_dialog_new (_("Options"), "gimp-gfig-options",
GTK_WIDGET (data), 0, NULL, NULL,
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
@@ -1361,7 +1361,7 @@ gfig_grid_action_callback (GtkAction *action,
GtkObject *sectors_data;
GtkObject *radius_data;
- dialog = gimp_dialog_new (_("Grid"), "gfig-grid",
+ dialog = gimp_dialog_new (_("Grid"), "gimp-gfig-grid",
GTK_WIDGET (data), 0, NULL, NULL,
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
diff --git a/plug-ins/gfig/gfig.h b/plug-ins/gfig/gfig.h
index 3d8cf0e..dd298cd 100644
--- a/plug-ins/gfig/gfig.h
+++ b/plug-ins/gfig/gfig.h
@@ -68,6 +68,7 @@ void object_end (GdkPoint *pnt, gint shift_down);
#define PLUG_IN_PROC "plug-in-gfig"
#define PLUG_IN_BINARY "gfig"
+#define PLUG_IN_ROLE "gimp-gfig"
extern gint line_no;
extern gint preview_width, preview_height;
diff --git a/plug-ins/gimpressionist/gimpressionist.c b/plug-ins/gimpressionist/gimpressionist.c
index c887a01..0f9c8ac 100644
--- a/plug-ins/gimpressionist/gimpressionist.c
+++ b/plug-ins/gimpressionist/gimpressionist.c
@@ -135,7 +135,7 @@ create_dialog (void)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("GIMPressionist"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("GIMPressionist"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/gimpressionist/gimpressionist.h b/plug-ins/gimpressionist/gimpressionist.h
index dfc1109..12977a8 100644
--- a/plug-ins/gimpressionist/gimpressionist.h
+++ b/plug-ins/gimpressionist/gimpressionist.h
@@ -28,6 +28,7 @@
#define PLUG_IN_PROC "plug-in-gimpressionist"
#define PLUG_IN_VERSION "v1.0, November 2003"
#define PLUG_IN_BINARY "gimpressionist"
+#define PLUG_IN_ROLE "gimp-gimpressionist"
#define PREVIEWSIZE 150
#define MAXORIENTVECT 50
diff --git a/plug-ins/gimpressionist/orientmap.c b/plug-ins/gimpressionist/orientmap.c
index 6104e96..d60d274 100644
--- a/plug-ins/gimpressionist/orientmap.c
+++ b/plug-ins/gimpressionist/orientmap.c
@@ -522,7 +522,7 @@ create_orientmap_dialog (GtkWidget *parent)
}
orient_map_window =
- gimp_dialog_new (_("Orientation Map Editor"), PLUG_IN_BINARY,
+ gimp_dialog_new (_("Orientation Map Editor"), PLUG_IN_ROLE,
gtk_widget_get_toplevel (parent), 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/gimpressionist/presets.c b/plug-ins/gimpressionist/presets.c
index 947643d..9c78424 100644
--- a/plug-ins/gimpressionist/presets.c
+++ b/plug-ins/gimpressionist/presets.c
@@ -636,7 +636,7 @@ create_save_preset (GtkWidget *parent)
}
window =
- gimp_dialog_new (_("Save Current"), PLUG_IN_BINARY,
+ gimp_dialog_new (_("Save Current"), PLUG_IN_ROLE,
gtk_widget_get_toplevel (parent), 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/gimpressionist/sizemap.c b/plug-ins/gimpressionist/sizemap.c
index d99ba8d..ecb9c7b 100644
--- a/plug-ins/gimpressionist/sizemap.c
+++ b/plug-ins/gimpressionist/sizemap.c
@@ -397,7 +397,7 @@ create_sizemap_dialog (GtkWidget *parent)
}
smwindow =
- gimp_dialog_new (_("Size Map Editor"), PLUG_IN_BINARY,
+ gimp_dialog_new (_("Size Map Editor"), PLUG_IN_ROLE,
gtk_widget_get_toplevel (parent), 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/gradient-flare/gradient-flare.c b/plug-ins/gradient-flare/gradient-flare.c
index 7fb82fe..b41769c 100644
--- a/plug-ins/gradient-flare/gradient-flare.c
+++ b/plug-ins/gradient-flare/gradient-flare.c
@@ -63,6 +63,7 @@
#define PLUG_IN_PROC "plug-in-gflare"
#define PLUG_IN_BINARY "gradient-flare"
+#define PLUG_IN_ROLE "gimp-gradient-flare"
#define GRADIENT_NAME_MAX 256
#define GRADIENT_RESOLUTION 360
@@ -2351,7 +2352,7 @@ dlg_run (void)
* Dialog Shell
*/
- shell = dlg->shell = gimp_dialog_new (_("Gradient Flare"), PLUG_IN_BINARY,
+ shell = dlg->shell = gimp_dialog_new (_("Gradient Flare"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
@@ -3311,7 +3312,7 @@ ed_run (GtkWindow *parent,
* Dialog Shell
*/
ed->shell =
- shell = gimp_dialog_new (_("Gradient Flare Editor"), PLUG_IN_BINARY,
+ shell = gimp_dialog_new (_("Gradient Flare Editor"), PLUG_IN_ROLE,
GTK_WIDGET (parent), 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/help-browser/help-browser.c b/plug-ins/help-browser/help-browser.c
index d09f2d0..9d833d7 100644
--- a/plug-ins/help-browser/help-browser.c
+++ b/plug-ins/help-browser/help-browser.c
@@ -42,6 +42,7 @@
#define GIMP_HELP_BROWSER_EXT_PROC "extension-gimp-help-browser"
#define GIMP_HELP_BROWSER_TEMP_EXT_PROC "extension-gimp-help-browser-temp"
#define PLUG_IN_BINARY "help-browser"
+#define PLUG_IN_ROLE "gimp-help-browser"
/* forward declarations */
diff --git a/plug-ins/ifs-compose/ifs-compose.c b/plug-ins/ifs-compose/ifs-compose.c
index 2a093ea..7387c88 100644
--- a/plug-ins/ifs-compose/ifs-compose.c
+++ b/plug-ins/ifs-compose/ifs-compose.c
@@ -55,6 +55,7 @@
#define PLUG_IN_PARASITE "ifscompose-parasite"
#define PLUG_IN_PROC "plug-in-ifscompose"
#define PLUG_IN_BINARY "ifs-compose"
+#define PLUG_IN_ROLE "gimp-ifs-compose"
typedef enum
{
@@ -764,7 +765,7 @@ ifs_compose_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, TRUE);
- dialog = gimp_dialog_new (_("IFS Fractal"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("IFS Fractal"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
@@ -1169,7 +1170,7 @@ ifs_options_dialog (GtkWidget *parent)
ifsOptD = g_new0 (IfsOptionsDialog, 1);
ifsOptD->dialog =
- gimp_dialog_new (_("IFS Fractal Render Options"), PLUG_IN_BINARY,
+ gimp_dialog_new (_("IFS Fractal Render Options"), PLUG_IN_ROLE,
parent, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/imagemap/imap_default_dialog.c b/plug-ins/imagemap/imap_default_dialog.c
index bd6567f..d5cdd05 100644
--- a/plug-ins/imagemap/imap_default_dialog.c
+++ b/plug-ins/imagemap/imap_default_dialog.c
@@ -92,7 +92,7 @@ make_default_dialog (const gchar *title)
data->apply_cb = NULL;
data->cancel_cb = NULL;
- data->dialog = gimp_dialog_new (title, PLUG_IN_BINARY,
+ data->dialog = gimp_dialog_new (title, PLUG_IN_ROLE,
get_dialog(), 0,
gimp_standard_help_func, PLUG_IN_PROC,
NULL);
diff --git a/plug-ins/imagemap/imap_main.h b/plug-ins/imagemap/imap_main.h
index 6c05bbb..a220c20 100644
--- a/plug-ins/imagemap/imap_main.h
+++ b/plug-ins/imagemap/imap_main.h
@@ -30,6 +30,7 @@
#define PLUG_IN_PROC "plug-in-imagemap"
#define PLUG_IN_BINARY "imagemap"
+#define PLUG_IN_ROLE "gimp-imagemap"
typedef enum {NCSA, CERN, CSIM} MapFormat_t;
diff --git a/plug-ins/lighting/lighting-main.h b/plug-ins/lighting/lighting-main.h
index 1c91ce3..9f022bd 100644
--- a/plug-ins/lighting/lighting-main.h
+++ b/plug-ins/lighting/lighting-main.h
@@ -6,6 +6,7 @@
#define PLUG_IN_PROC "plug-in-lighting"
#define PLUG_IN_BINARY "lighting"
+#define PLUG_IN_ROLE "gimp-lighting"
#define TILE_CACHE_SIZE 16
#define NUM_LIGHTS 6
diff --git a/plug-ins/lighting/lighting-ui.c b/plug-ins/lighting/lighting-ui.c
index 114e1fd..88107f8 100644
--- a/plug-ins/lighting/lighting-ui.c
+++ b/plug-ins/lighting/lighting-ui.c
@@ -1018,7 +1018,7 @@ main_dialog (GimpDrawable *drawable)
lighting_stock_init ();
- appwin = gimp_dialog_new (_("Lighting Effects"), PLUG_IN_BINARY,
+ appwin = gimp_dialog_new (_("Lighting Effects"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/map-object/map-object-main.h b/plug-ins/map-object/map-object-main.h
index 2757002..d715434 100644
--- a/plug-ins/map-object/map-object-main.h
+++ b/plug-ins/map-object/map-object-main.h
@@ -6,6 +6,7 @@
#define PLUG_IN_PROC "plug-in-map-object"
#define PLUG_IN_BINARY "map-object"
+#define PLUG_IN_ROLE "gimp-map-object"
#define TILE_CACHE_SIZE 16
diff --git a/plug-ins/map-object/map-object-ui.c b/plug-ins/map-object/map-object-ui.c
index 45e5b2c..1ce398c 100644
--- a/plug-ins/map-object/map-object-ui.c
+++ b/plug-ins/map-object/map-object-ui.c
@@ -1279,7 +1279,7 @@ main_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- appwin = gimp_dialog_new (_("Map to Object"), PLUG_IN_BINARY,
+ appwin = gimp_dialog_new (_("Map to Object"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/maze/maze-dialog.c b/plug-ins/maze/maze-dialog.c
index a7b6e40..e83afd0 100644
--- a/plug-ins/maze/maze-dialog.c
+++ b/plug-ins/maze/maze-dialog.c
@@ -159,7 +159,7 @@ maze_dialog (void)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Maze"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Maze"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/maze/maze.h b/plug-ins/maze/maze.h
index 1001352..8d5bc8a 100644
--- a/plug-ins/maze/maze.h
+++ b/plug-ins/maze/maze.h
@@ -33,6 +33,7 @@
#define PLUG_IN_PROC "plug-in-maze"
#define PLUG_IN_BINARY "maze"
+#define PLUG_IN_ROLE "gimp-maze"
typedef enum {
DEPTH_FIRST,
diff --git a/plug-ins/metadata/interface.c b/plug-ins/metadata/interface.c
index d539118..7c850de 100644
--- a/plug-ins/metadata/interface.c
+++ b/plug-ins/metadata/interface.c
@@ -604,7 +604,7 @@ metadata_dialog (gint32 image_ID,
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- mgui.dlg = gimp_dialog_new (_("Image Properties"), PLUG_IN_BINARY,
+ mgui.dlg = gimp_dialog_new (_("Image Properties"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, EDITOR_PROC,
diff --git a/plug-ins/metadata/metadata.h b/plug-ins/metadata/metadata.h
index 2398727..0ab9b1d 100644
--- a/plug-ins/metadata/metadata.h
+++ b/plug-ins/metadata/metadata.h
@@ -33,6 +33,7 @@
#define IMPORT_PROC "plug-in-metadata-import"
#define EXPORT_PROC "plug-in-metadata-export"
#define PLUG_IN_BINARY "metadata"
+#define PLUG_IN_ROLE "gimp-metadata"
#endif /* __METADATA_H__ */
diff --git a/plug-ins/pagecurl/pagecurl.c b/plug-ins/pagecurl/pagecurl.c
index 3f587e7..8d5bb61 100644
--- a/plug-ins/pagecurl/pagecurl.c
+++ b/plug-ins/pagecurl/pagecurl.c
@@ -52,6 +52,7 @@
#define PLUG_IN_PROC "plug-in-pagecurl"
#define PLUG_IN_BINARY "pagecurl"
+#define PLUG_IN_ROLE "gimp-pagecurl"
#define PLUG_IN_VERSION "July 2004, 1.0"
#define NGRADSAMPLES 256
@@ -436,7 +437,7 @@ dialog (void)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
- dialog = gimp_dialog_new (_("Pagecurl Effect"), PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (_("Pagecurl Effect"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
diff --git a/plug-ins/print/print.c b/plug-ins/print/print.c
index 2e421dc..4f20164 100644
--- a/plug-ins/print/print.c
+++ b/plug-ins/print/print.c
@@ -32,6 +32,7 @@
#define PLUG_IN_BINARY "print"
+#define PLUG_IN_ROLE "gimp-print"
#define PRINT_PROC_NAME "file-print-gtk"
#define PAGE_SETUP_PROC_NAME "file-print-gtk-page-setup"
diff --git a/plug-ins/script-fu/script-fu-console.c b/plug-ins/script-fu/script-fu-console.c
index 69f8df8..da25bb5 100644
--- a/plug-ins/script-fu/script-fu-console.c
+++ b/plug-ins/script-fu/script-fu-console.c
@@ -128,7 +128,7 @@ script_fu_console_interface (void)
console.history_max = 50;
console.dialog = gimp_dialog_new (_("Script-Fu Console"),
- "script-fu-console",
+ "gimp-script-fu-console",
NULL, 0,
gimp_standard_help_func, PROC_NAME,
diff --git a/plug-ins/script-fu/script-fu-interface.c b/plug-ins/script-fu/script-fu-interface.c
index 39fddc1..c368905 100644
--- a/plug-ins/script-fu/script-fu-interface.c
+++ b/plug-ins/script-fu/script-fu-interface.c
@@ -223,7 +223,7 @@ script_fu_interface (SFScript *script,
title = g_strdup_printf (_("Script-Fu: %s"), sf_interface->title);
sf_interface->dialog = dialog =
- gimp_dialog_new (title, "script-fu",
+ gimp_dialog_new (title, "gimp-script-fu",
NULL, 0,
gimp_standard_help_func, script->name,
diff --git a/plug-ins/script-fu/script-fu-server.c b/plug-ins/script-fu/script-fu-server.c
index 358f48b..dfe3797 100644
--- a/plug-ins/script-fu/script-fu-server.c
+++ b/plug-ins/script-fu/script-fu-server.c
@@ -804,7 +804,7 @@ server_interface (void)
gimp_ui_init ("script-fu", FALSE);
- dlg = gimp_dialog_new (_("Script-Fu Server Options"), "script-fu",
+ dlg = gimp_dialog_new (_("Script-Fu Server Options"), "gimp-script-fu",
NULL, 0,
gimp_standard_help_func, "plug-in-script-fu-server",
diff --git a/plug-ins/selection-to-path/selection-to-path.c b/plug-ins/selection-to-path/selection-to-path.c
index ce179d2..6f04b93 100644
--- a/plug-ins/selection-to-path/selection-to-path.c
+++ b/plug-ins/selection-to-path/selection-to-path.c
@@ -46,6 +46,7 @@
#define PLUG_IN_BINARY "selection-to-path"
+#define PLUG_IN_ROLE "gimp-selection-to-path"
#define RESPONSE_RESET 1
#define MID_POINT 127
@@ -299,7 +300,7 @@ sel2path_dialog (SELVALS *sels)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
dlg = gimp_dialog_new (_("Selection to Path Advanced Settings"),
- PLUG_IN_BINARY,
+ PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, "plug-in-sel2path-advanced",
diff --git a/plug-ins/win-snap/winsnap.c b/plug-ins/win-snap/winsnap.c
index e5452bf..4637497 100644
--- a/plug-ins/win-snap/winsnap.c
+++ b/plug-ins/win-snap/winsnap.c
@@ -61,6 +61,7 @@
#define PLUG_IN_COPYRIGHT "Craig Setera"
#define PLUG_IN_VERSION "v0.70 (07/16/1999)"
#define PLUG_IN_BINARY "win-snap"
+#define PLUG_IN_ROLE "gimp-win-snap"
/*
* Application definitions
@@ -856,7 +857,7 @@ snap_dialog (void)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
/* Main Dialog */
- dialog = gimp_dialog_new (PLUG_IN_PRINT_NAME, PLUG_IN_BINARY,
+ dialog = gimp_dialog_new (PLUG_IN_PRINT_NAME, PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]