Bug 645456 - Inconsistent window (role) naming scheme

Applied patch from Christoph Kappel which adds a "gimp-" prefix to all
plug-in dialog window roles.
This commit is contained in:
Michael Natterer 2011-04-08 20:31:34 +02:00
parent 77b76ca945
commit 8c4d99f883
172 changed files with 288 additions and 133 deletions

View File

@ -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,

View File

@ -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)

View File

@ -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,

View File

@ -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,

View File

@ -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

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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.

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -39,6 +39,7 @@
#define SAVE_PROC "file-aa-save"
#define PLUG_IN_BINARY "file-aa"
#define PLUG_IN_ROLE "gimp-file-aa"
/*

View File

@ -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);

View File

@ -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

View File

@ -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);

View File

@ -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

View File

@ -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

View File

@ -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.

View File

@ -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

View File

@ -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.

View File

@ -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 */

View File

@ -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

View File

@ -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 */

View File

@ -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. */

View File

@ -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,

View File

@ -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)),

View File

@ -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 */

View File

@ -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

View File

@ -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

View File

@ -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,

View File

@ -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

View File

@ -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,

View File

@ -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*);

View File

@ -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,

View File

@ -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
{

View File

@ -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,

View File

@ -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

View File

@ -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,

View File

@ -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! */

View File

@ -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"

View File

@ -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 */

View File

@ -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;

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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)

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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],

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

Some files were not shown because too many files have changed in this diff Show More