Commit 8c4d99f8 authored by Michael Natterer's avatar Michael Natterer 😴

Bug 645456 - Inconsistent window (role) naming scheme

Applied patch from Christoph Kappel which adds a "gimp-" prefix to all
plug-in dialog window roles.
parent 77b76ca9
......@@ -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,
......
......@@ -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)
......
......@@ -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,
......
......@@ -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,
......
......@@ -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
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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.
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -39,6 +39,7 @@
#define SAVE_PROC "file-aa-save"
#define PLUG_IN_BINARY "file-aa"
#define PLUG_IN_ROLE "gimp-file-aa"
/*
......
......@@ -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);
......
......@@ -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