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) ...@@ -646,7 +646,7 @@ color_rotate_dialog (void)
gimp_ui_init (PLUG_IN_BINARY, TRUE); gimp_ui_init (PLUG_IN_BINARY, TRUE);
color_rotate_stock_init (); color_rotate_stock_init ();
dialog = gimp_dialog_new (_("Rotate Colors"), PLUG_IN_BINARY, dialog = gimp_dialog_new (_("Rotate Colors"), PLUG_IN_ROLE,
NULL, 0, NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC, gimp_standard_help_func, PLUG_IN_PROC,
......
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
#define PLUG_IN_PROC "plug-in-rotate-colormap" #define PLUG_IN_PROC "plug-in-rotate-colormap"
#define PLUG_IN_BINARY "rcm" #define PLUG_IN_BINARY "rcm"
#define PLUG_IN_ROLE "gimp-rcm"
#define TP (2*G_PI) #define TP (2*G_PI)
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#define PLUG_IN_PROC "plug-in-alienmap2" #define PLUG_IN_PROC "plug-in-alienmap2"
#define PLUG_IN_BINARY "alien-map" #define PLUG_IN_BINARY "alien-map"
#define PLUG_IN_ROLE "gimp-alien-map"
#define SCALE_WIDTH 200 #define SCALE_WIDTH 200
#define ENTRY_WIDTH 6 #define ENTRY_WIDTH 6
...@@ -389,7 +390,7 @@ alienmap2_dialog (void) ...@@ -389,7 +390,7 @@ alienmap2_dialog (void)
gimp_ui_init (PLUG_IN_BINARY, TRUE); 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, NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC, gimp_standard_help_func, PLUG_IN_PROC,
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#define PLUG_IN_PROC "plug-in-align-layers" #define PLUG_IN_PROC "plug-in-align-layers"
#define PLUG_IN_BINARY "align-layers" #define PLUG_IN_BINARY "align-layers"
#define PLUG_IN_ROLE "gimp-align-layers"
#define SCALE_WIDTH 150 #define SCALE_WIDTH 150
enum enum
...@@ -396,7 +397,7 @@ align_layers_dialog (void) ...@@ -396,7 +397,7 @@ align_layers_dialog (void)
gimp_ui_init (PLUG_IN_BINARY, FALSE); 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, NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC, gimp_standard_help_func, PLUG_IN_PROC,
......
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
#define PLUG_IN_PROC "plug-in-animationplay" #define PLUG_IN_PROC "plug-in-animationplay"
#define PLUG_IN_BINARY "animation-play" #define PLUG_IN_BINARY "animation-play"
#define PLUG_IN_ROLE "gimp-animation-play"
#define DITHERTYPE GDK_RGB_DITHER_NORMAL #define DITHERTYPE GDK_RGB_DITHER_NORMAL
......
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
#define PLUG_IN_PROC "plug-in-apply-canvas" #define PLUG_IN_PROC "plug-in-apply-canvas"
#define PLUG_IN_BINARY "apply-canvas" #define PLUG_IN_BINARY "apply-canvas"
#define PLUG_IN_ROLE "gimp-apply-canvas"
static const gchar sdata[] = static const gchar sdata[] =
...@@ -1259,7 +1260,7 @@ struc_dialog (GimpDrawable *drawable) ...@@ -1259,7 +1260,7 @@ struc_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, FALSE); 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, NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC, gimp_standard_help_func, PLUG_IN_PROC,
......
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
#define PLUG_IN_PROC "plug-in-blinds" #define PLUG_IN_PROC "plug-in-blinds"
#define PLUG_IN_BINARY "blinds" #define PLUG_IN_BINARY "blinds"
#define PLUG_IN_ROLE "gimp-blinds"
#define SCALE_WIDTH 150 #define SCALE_WIDTH 150
...@@ -219,7 +220,7 @@ blinds_dialog (GimpDrawable *drawable) ...@@ -219,7 +220,7 @@ blinds_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, TRUE); 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, NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC, gimp_standard_help_func, PLUG_IN_PROC,
......
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
#define PLUG_IN_PROC "plug-in-sel-gauss" #define PLUG_IN_PROC "plug-in-sel-gauss"
#define PLUG_IN_BINARY "blur-gauss-selective" #define PLUG_IN_BINARY "blur-gauss-selective"
#define PLUG_IN_ROLE "gimp-blur-gauss-selective"
#ifndef ALWAYS_INLINE #ifndef ALWAYS_INLINE
#if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0) #if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0)
...@@ -228,7 +229,7 @@ sel_gauss_dialog (GimpDrawable *drawable) ...@@ -228,7 +229,7 @@ sel_gauss_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, FALSE); 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, NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC, gimp_standard_help_func, PLUG_IN_PROC,
......
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
#define GAUSS_RLE_PROC "plug-in-gauss-rle" #define GAUSS_RLE_PROC "plug-in-gauss-rle"
#define GAUSS_RLE2_PROC "plug-in-gauss-rle2" #define GAUSS_RLE2_PROC "plug-in-gauss-rle2"
#define PLUG_IN_BINARY "blur-gauss" #define PLUG_IN_BINARY "blur-gauss"
#define PLUG_IN_ROLE "gimp-blur-gauss"
typedef enum typedef enum
{ {
...@@ -474,7 +475,7 @@ gauss_dialog (gint32 image_ID, ...@@ -474,7 +475,7 @@ gauss_dialog (gint32 image_ID,
gimp_ui_init (PLUG_IN_BINARY, FALSE); 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, NULL, 0,
gimp_standard_help_func, GAUSS_PROC, gimp_standard_help_func, GAUSS_PROC,
......
...@@ -44,6 +44,7 @@ ...@@ -44,6 +44,7 @@
#define PLUG_IN_PROC "plug-in-mblur" #define PLUG_IN_PROC "plug-in-mblur"
#define PLUG_IN_PROC_INWARD "plug-in-mblur-inward" #define PLUG_IN_PROC_INWARD "plug-in-mblur-inward"
#define PLUG_IN_BINARY "blur-motion" #define PLUG_IN_BINARY "blur-motion"
#define PLUG_IN_ROLE "gimp-blur-motion"
#define PLUG_IN_VERSION "May 2007, 1.3" #define PLUG_IN_VERSION "May 2007, 1.3"
...@@ -1010,7 +1011,7 @@ mblur_dialog (gint32 image_ID, ...@@ -1010,7 +1011,7 @@ mblur_dialog (gint32 image_ID,
gimp_ui_init (PLUG_IN_BINARY, FALSE); 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, NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC, gimp_standard_help_func, PLUG_IN_PROC,
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#define PLUG_IN_PROC "plug-in-borderaverage" #define PLUG_IN_PROC "plug-in-borderaverage"
#define PLUG_IN_BINARY "border-average" #define PLUG_IN_BINARY "border-average"
#define PLUG_IN_ROLE "gimp-border-average"
/* Declare local functions. /* Declare local functions.
...@@ -347,7 +348,7 @@ borderaverage_dialog (gint32 image_ID, ...@@ -347,7 +348,7 @@ borderaverage_dialog (gint32 image_ID,
gimp_ui_init (PLUG_IN_BINARY, FALSE); 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, NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC, gimp_standard_help_func, PLUG_IN_PROC,
......
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
#define PLUG_IN_PROC "plug-in-bump-map" #define PLUG_IN_PROC "plug-in-bump-map"
#define PLUG_IN_TILED_PROC "plug-in-bump-map-tiled" #define PLUG_IN_TILED_PROC "plug-in-bump-map-tiled"
#define PLUG_IN_BINARY "bumpmap" #define PLUG_IN_BINARY "bumpmap"
#define PLUG_IN_ROLE "gimp-bumpmap"
#define PLUG_IN_VERSION "April 2000, 3.0-pre1-ac2" #define PLUG_IN_VERSION "April 2000, 3.0-pre1-ac2"
#define SCALE_WIDTH 100 #define SCALE_WIDTH 100
...@@ -762,7 +763,7 @@ bumpmap_dialog (void) ...@@ -762,7 +763,7 @@ bumpmap_dialog (void)
gimp_ui_init (PLUG_IN_BINARY, TRUE); 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, NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC, gimp_standard_help_func, PLUG_IN_PROC,
......
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
#define PLUG_IN_PROC "plug-in-cartoon" #define PLUG_IN_PROC "plug-in-cartoon"
#define PLUG_IN_BINARY "cartoon" #define PLUG_IN_BINARY "cartoon"
#define PLUG_IN_ROLE "gimp-cartoon"
#define TILE_CACHE_SIZE 48 #define TILE_CACHE_SIZE 48
typedef struct typedef struct
...@@ -807,7 +808,7 @@ cartoon_dialog (GimpDrawable *drawable) ...@@ -807,7 +808,7 @@ cartoon_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, FALSE); 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, NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC, gimp_standard_help_func, PLUG_IN_PROC,
......
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
#define PLUG_IN_PROC "plug-in-colors-channel-mixer" #define PLUG_IN_PROC "plug-in-colors-channel-mixer"
#define PLUG_IN_BINARY "channel-mixer" #define PLUG_IN_BINARY "channel-mixer"
#define PLUG_IN_ROLE "gimp-channel-mixer"
#define CM_LINE_SIZE 1024 #define CM_LINE_SIZE 1024
typedef enum typedef enum
...@@ -488,7 +489,7 @@ cm_dialog (CmParamsType *mix, ...@@ -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, NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC, gimp_standard_help_func, PLUG_IN_PROC,
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#define PLUG_IN_PROC "plug-in-checkerboard" #define PLUG_IN_PROC "plug-in-checkerboard"
#define PLUG_IN_BINARY "checkerboard" #define PLUG_IN_BINARY "checkerboard"
#define PLUG_IN_ROLE "gimp-checkerboard"
#define SPIN_BUTTON_WIDTH 8 #define SPIN_BUTTON_WIDTH 8
...@@ -342,7 +343,7 @@ checkerboard_dialog (gint32 image_ID, ...@@ -342,7 +343,7 @@ checkerboard_dialog (gint32 image_ID,
gimp_ui_init (PLUG_IN_BINARY, FALSE); 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, NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC, gimp_standard_help_func, PLUG_IN_PROC,
......
...@@ -84,6 +84,7 @@ ...@@ -84,6 +84,7 @@
#define PARAM_FILE_FORMAT_VERSION 1.0 #define PARAM_FILE_FORMAT_VERSION 1.0
#define PLUG_IN_PROC "plug-in-cml-explorer" #define PLUG_IN_PROC "plug-in-cml-explorer"
#define PLUG_IN_BINARY "cml-explorer" #define PLUG_IN_BINARY "cml-explorer"
#define PLUG_IN_ROLE "gimp-cml-explorer"
#define VALS CML_explorer_vals #define VALS CML_explorer_vals
#define PROGRESS_UPDATE_NUM 100 #define PROGRESS_UPDATE_NUM 100
#define CML_LINE_SIZE 1024 #define CML_LINE_SIZE 1024
...@@ -1178,7 +1179,7 @@ CML_explorer_dialog (void) ...@@ -1178,7 +1179,7 @@ CML_explorer_dialog (void)
gimp_ui_init (PLUG_IN_BINARY, TRUE); 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, NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC, gimp_standard_help_func, PLUG_IN_PROC,
...@@ -1845,7 +1846,7 @@ function_graph_new (GtkWidget *widget, ...@@ -1845,7 +1846,7 @@ function_graph_new (GtkWidget *widget,
GtkWidget *frame; GtkWidget *frame;
GtkWidget *preview; 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, gtk_widget_get_toplevel (widget), 0,
gimp_standard_help_func, PLUG_IN_PROC, gimp_standard_help_func, PLUG_IN_PROC,
......
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
#define PLUG_IN_PROC "plug-in-ccanalyze" #define PLUG_IN_PROC "plug-in-ccanalyze"
#define PLUG_IN_BINARY "color-cube-analyze" #define PLUG_IN_BINARY "color-cube-analyze"
#define PLUG_IN_ROLE "gimp-color-cube-analyze"
/* size of histogram image */ /* size of histogram image */
#define PREWIDTH 256 #define PREWIDTH 256
...@@ -352,7 +353,7 @@ doDialog (void) ...@@ -352,7 +353,7 @@ doDialog (void)
gimp_ui_init (PLUG_IN_BINARY, TRUE); 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, NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC, gimp_standard_help_func, PLUG_IN_PROC,
......
...@@ -44,6 +44,7 @@ ...@@ -44,6 +44,7 @@
#define PLUG_IN_PROC "plug-in-exchange" #define PLUG_IN_PROC "plug-in-exchange"
#define PLUG_IN_BINARY "color-exchange" #define PLUG_IN_BINARY "color-exchange"
#define PLUG_IN_ROLE "gimp-color-exchange"
#define SCALE_WIDTH 128 #define SCALE_WIDTH 128
...@@ -283,7 +284,7 @@ exchange_dialog (GimpDrawable *drawable) ...@@ -283,7 +284,7 @@ exchange_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, TRUE); 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, NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC, gimp_standard_help_func, PLUG_IN_PROC,
......
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
#define PLUG_IN_PROC "plug-in-colortoalpha" #define PLUG_IN_PROC "plug-in-colortoalpha"
#define PLUG_IN_BINARY "color-to-aplha" #define PLUG_IN_BINARY "color-to-aplha"
#define PLUG_IN_ROLE "gimp-color-to-aplha"
#define PRV_WIDTH 40 #define PRV_WIDTH 40
#define PRV_HEIGHT 20 #define PRV_HEIGHT 20
...@@ -373,7 +374,7 @@ color_to_alpha_dialog (GimpDrawable *drawable) ...@@ -373,7 +374,7 @@ color_to_alpha_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, TRUE); 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, NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC, gimp_standard_help_func, PLUG_IN_PROC,
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#define PLUG_IN_PROC "plug-in-colorify" #define PLUG_IN_PROC "plug-in-colorify"
#define PLUG_IN_BINARY "colorify" #define PLUG_IN_BINARY "colorify"
#define PLUG_IN_ROLE "gimp-colorify"
#define PLUG_IN_VERSION "1.1" #define PLUG_IN_VERSION "1.1"
#define COLOR_SIZE 30 #define COLOR_SIZE 30
...@@ -251,7 +252,7 @@ colorify_dialog (GimpDrawable *drawable) ...@@ -251,7 +252,7 @@ colorify_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, TRUE); 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, NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC, gimp_standard_help_func, PLUG_IN_PROC,
......
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
#define PLUG_IN_PROC_REMAP "plug-in-colormap-remap" #define PLUG_IN_PROC_REMAP "plug-in-colormap-remap"
#define PLUG_IN_PROC_SWAP "plug-in-colormap-swap" #define PLUG_IN_PROC_SWAP "plug-in-colormap-swap"
#define PLUG_IN_BINARY "colormap-remap" #define PLUG_IN_BINARY "colormap-remap"
#define PLUG_IN_ROLE "gimp-colormap-remap"
/* Declare local functions. /* Declare local functions.
...@@ -592,7 +593,7 @@ remap_dialog (gint32 image_ID, ...@@ -592,7 +593,7 @@ remap_dialog (gint32 image_ID,
gimp_ui_init (PLUG_IN_BINARY, FALSE); 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, NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC_REMAP, gimp_standard_help_func, PLUG_IN_PROC_REMAP,
......
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
#define DRAWABLE_COMPOSE_PROC "plug-in-drawable-compose" #define DRAWABLE_COMPOSE_PROC "plug-in-drawable-compose"
#define RECOMPOSE_PROC "plug-in-recompose" #define RECOMPOSE_PROC "plug-in-recompose"
#define PLUG_IN_BINARY "compose" #define PLUG_IN_BINARY "compose"
#define PLUG_IN_ROLE "gimp-compose"
typedef struct typedef struct
...@@ -1478,7 +1479,7 @@ compose_dialog (const gchar *compose_type, ...@@ -1478,7 +1479,7 @@ compose_dialog (const gchar *compose_type,
layer_list = gimp_image_get_layers (gimp_item_get_image (drawable_ID), layer_list = gimp_image_get_layers (gimp_item_get_image (drawable_ID),
&nlayers); &nlayers);
dialog = gimp_dialog_new (_("Compose"), PLUG_IN_BINARY, dialog = gimp_dialog_new (_("Compose"), PLUG_IN_ROLE,
NULL, 0, NULL, 0,
gimp_standard_help_func, COMPOSE_PROC, gimp_standard_help_func, COMPOSE_PROC,
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#define PLUG_IN_PROC "plug-in-retinex" #define PLUG_IN_PROC "plug-in-retinex"
#define PLUG_IN_BINARY "contrast-retinex" #define PLUG_IN_BINARY "contrast-retinex"
#define PLUG_IN_ROLE "gimp-contrast-retinex"
#define MAX_RETINEX_SCALES 8 #define MAX_RETINEX_SCALES 8
#define MIN_GAUSSIAN_SCALE 16 #define MIN_GAUSSIAN_SCALE 16
#define MAX_GAUSSIAN_SCALE 250 #define MAX_GAUSSIAN_SCALE 250
...@@ -281,7 +282,7 @@ retinex_dialog (GimpDrawable *drawable) ...@@ -281,7 +282,7 @@ retinex_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, FALSE); 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, NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC, gimp_standard_help_func, PLUG_IN_PROC,
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#define PLUG_IN_PROC "plug-in-convmatrix" #define PLUG_IN_PROC "plug-in-convmatrix"
#define PLUG_IN_BINARY "convolution-matrix" #define PLUG_IN_BINARY "convolution-matrix"
#define PLUG_IN_ROLE "gimp-convolution-matrix"
#define RESPONSE_RESET 1 #define RESPONSE_RESET 1
...@@ -902,7 +903,7 @@ convolve_image_dialog (GimpDrawable *drawable) ...@@ -902,7 +903,7 @@ convolve_image_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, FALSE); 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, NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC, gimp_standard_help_func, PLUG_IN_PROC,
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#define PLUG_IN_PROC "plug-in-cubism" #define PLUG_IN_PROC "plug-in-cubism"
#define PLUG_IN_BINARY "cubism" #define PLUG_IN_BINARY "cubism"
#define PLUG_IN_ROLE "gimp-cubism"
#define SCALE_WIDTH 125 #define SCALE_WIDTH 125
#define BLACK 0 #define BLACK 0
...@@ -264,7 +265,7 @@ cubism_dialog (GimpDrawable *drawable) ...@@ -264,7 +265,7 @@ cubism_dialog (GimpDrawable *drawable)
gimp_ui_init (PLUG_IN_BINARY, FALSE); 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, NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC, gimp_standard_help_func, PLUG_IN_PROC,
......
...@@ -50,6 +50,7 @@ ...@@ -50,6 +50,7 @@
/* Defines */ /* Defines */
#define PLUG_IN_PROC "plug-in-curve-bend" #define PLUG_IN_PROC "plug-in-curve-bend"
#define PLUG_IN_BINARY "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_VERSION "v1.3.18 (2003/08/26)"
#define PLUG_IN_IMAGE_TYPES "RGB*, GRAY*" #define PLUG_IN_IMAGE_TYPES "RGB*, GRAY*"
#define PLUG_IN_AUTHOR "Wolfgang Hofer (hof@hotbot.com)" #define PLUG_IN_AUTHOR "Wolfgang Hofer (hof@hotbot.com)"
...@@ -1221,7 +1222,7 @@ bender_new_dialog (GimpDrawable *drawable) ...@@ -1221,7 +1222,7 @@ bender_new_dialog (GimpDrawable *drawable)
p_retrieve_values(cd); /* Possibly retrieve data from a previous run */ p_retrieve_values(cd); /* Possibly retrieve data from a previous run */
/* The shell and main vbox */ /* 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, NULL, 0,
gimp_standard_help_func, PLUG_IN_PROC, gimp_standard_help_func, PLUG_IN_PROC,
......
...@@ -45,6 +45,7 @@ ...@@ -45,6 +45,7 @@
#define PLUG_IN_PROC "plug-in-decompose" #define PLUG_IN_PROC "plug-in-decompose"
#define PLUG_IN_PROC_REG "plug-in-decompose-registered" #define PLUG_IN_PROC_REG "plug-in-decompose-registered"
#define PLUG_IN_BINARY "decompose" #define PLUG_IN_BINARY "decompose"
#define PLUG_IN_ROLE "gimp-decompose"
/* Declare local functions /* Declare local functions
...@@ -1486,7 +1487,7 @@ decompose_dialog (void) ...@@ -1486,7 +1487,7 @@ decompose_dialog (void)
gimp_ui_init (PLUG_IN_BINARY, FALSE); gimp_ui_init (PLUG_IN_BINARY,