Commit 04187503 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

added help IDs for the libgimp export and unit dialogs.

2004-01-20  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimphelp-ids.h: added help IDs for the libgimp
	export and unit dialogs.

	* libgimp/gimpexport.c
	* libgimpwidgets/gimpunitmenu.c: replaced html links by the new
	help IDs.

	* plug-ins/*/*.c: replaced all html help links by help IDs. A
	plug-in's help ID is its procedure name with '_' relaced by '-'.

	(e.g. file_tiff_save's help ID is file-tiff-save)

	Did some random indentation and whitespace cleanup.
parent fa4c87d9
2004-01-20 Michael Natterer <mitch@gimp.org>
* app/widgets/gimphelp-ids.h: added help IDs for the libgimp
export and unit dialogs.
* libgimp/gimpexport.c
* libgimpwidgets/gimpunitmenu.c: replaced html links by the new
help IDs.
* plug-ins/*/*.c: replaced all html help links by help IDs. A
plug-in's help ID is its procedure name with '_' relaced by '-'.
(e.g. file_tiff_save's help ID is file-tiff-save)
Did some random indentation and whitespace cleanup.
2004-01-20 Sven Neumann <sven@gimp.org>
* tools/gimp-remote.c: when starting a new gimp, pass it the
......@@ -406,6 +406,10 @@
#define GIMP_HELP_TIPS_DIALOG "gimp-tips-dialog"
#define GIMP_HELP_UNDO_DIALOG "gimp-undo-dialog"
#define GIMP_HELP_EXPORT_DIALOG "gimp-export-dialog"
#define GIMP_HELP_EXPORT_CONFIRM_DIALOG "gimp-export-confirm-dialog"
#define GIMP_HELP_UNIT_DIALOG "gimp-unit-dialog"
#define GIMP_HELP_HELP "gimp-help"
#define GIMP_HELP_HELP_CONTEXT "gimp-help-context"
......
......@@ -381,7 +381,8 @@ confirm_save_dialog (const gchar *message,
dialog = gimp_dialog_new (_("Confirm Save"), "gimp-export-image-confirm",
NULL, 0,
gimp_standard_help_func, "dialogs/confirm_save.html",
gimp_standard_help_func,
"gimp-export-confirm-dialog",
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
_("Confirm"), GTK_RESPONSE_OK,
......@@ -455,7 +456,7 @@ export_dialog (GSList *actions,
dialog = gimp_dialog_new (_("Export File"), "gimp-export-image",
NULL, 0,
gimp_standard_help_func, "dialogs/export_file.html",
gimp_standard_help_func, "gimp-export-dialog",
_("_Ignore"), GTK_RESPONSE_NO,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
......
......@@ -117,7 +117,7 @@ gimp_db_browser (GimpDBBrowserApplyCallback apply_callback)
dbbrowser->dialog =
gimp_dialog_new (_("DB Browser"), "dbbrowser",
NULL, 0,
gimp_standard_help_func, "filters/dbbrowser.html",
gimp_standard_help_func, "plug-in-db-browser",
_("Search by _Name"), RESPONSE_SEARCH_NAME,
_("Search by _Blurb"), RESPONSE_SEARCH_BLURB,
......@@ -131,7 +131,7 @@ gimp_db_browser (GimpDBBrowserApplyCallback apply_callback)
dbbrowser->dialog =
gimp_dialog_new (_("DB Browser"), "dbbrowser",
NULL, 0,
gimp_standard_help_func, "filters/dbbrowser.html",
gimp_standard_help_func, "plug-in-db-browser",
_("Search by _Name"), RESPONSE_SEARCH_NAME,
_("Search by _Blurb"), RESPONSE_SEARCH_BLURB,
......
......@@ -117,7 +117,7 @@ gimp_db_browser (GimpDBBrowserApplyCallback apply_callback)
dbbrowser->dialog =
gimp_dialog_new (_("DB Browser"), "dbbrowser",
NULL, 0,
gimp_standard_help_func, "filters/dbbrowser.html",
gimp_standard_help_func, "plug-in-db-browser",
_("Search by _Name"), RESPONSE_SEARCH_NAME,
_("Search by _Blurb"), RESPONSE_SEARCH_BLURB,
......@@ -131,7 +131,7 @@ gimp_db_browser (GimpDBBrowserApplyCallback apply_callback)
dbbrowser->dialog =
gimp_dialog_new (_("DB Browser"), "dbbrowser",
NULL, 0,
gimp_standard_help_func, "filters/dbbrowser.html",
gimp_standard_help_func, "plug-in-db-browser",
_("Search by _Name"), RESPONSE_SEARCH_NAME,
_("Search by _Blurb"), RESPONSE_SEARCH_BLURB,
......
......@@ -614,8 +614,7 @@ gimp_unit_menu_create_selection (GimpUnitMenu *menu)
menu->selection = gimp_dialog_new (_("Unit Selection"), "gimp-unit-selection",
GTK_WIDGET (menu),
GTK_DIALOG_DESTROY_WITH_PARENT,
gimp_standard_help_func,
"dialogs/unit_selection.html",
gimp_standard_help_func, "gimp-unit-dialog",
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
......
......@@ -548,7 +548,7 @@ explorer_dialog (void)
dialog = maindlg =
gimp_dialog_new ("Fractal Explorer", "fractalexplorer",
NULL, 0,
gimp_standard_help_func, "filters/fractalexplorer.html",
gimp_standard_help_func, HELP_ID,
_("About"), RESPONSE_ABOUT,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
......@@ -1636,7 +1636,7 @@ explorer_logo_dialog (GtkWidget *parent)
xdlg = logodlg =
gimp_dialog_new (_("About"), "fractalexplorer",
parent, 0,
gimp_standard_help_func, "filters/fractalexplorer.html",
gimp_standard_help_func, HELP_ID,
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
......
......@@ -766,8 +766,7 @@ delete_fractal_callback (GtkWidget *widget,
delete_dialog = gimp_query_boolean_box (_("Delete Fractal"),
gtk_widget_get_toplevel (list),
gimp_standard_help_func,
"filters/fractalexplorer.html",
gimp_standard_help_func, HELP_ID,
GTK_STOCK_DIALOG_QUESTION,
str,
GTK_STOCK_DELETE, GTK_STOCK_CANCEL,
......@@ -1345,7 +1344,7 @@ fractalexplorer_rescan_list (void)
dlg = gimp_dialog_new (_("Rescan for Fractals"), "fractalexplorer",
NULL, 0,
gimp_standard_help_func, "filters/fractalexplorer.html",
gimp_standard_help_func, HELP_ID,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
......
......@@ -15,6 +15,8 @@
#define MAXNCOLORS 8192
#define MAXSTRLEN 256
#define HELP_ID "plug-in-fractalexplorer"
#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"
......
......@@ -1107,8 +1107,7 @@ main_dialog (GimpDrawable *drawable)
appwin = gimp_dialog_new (_("Lighting Effects"), "Lighting",
NULL, 0,
gimp_standard_help_func,
"filters/lighting.html",
gimp_standard_help_func, "plug-in-lighting",
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
......
......@@ -1377,8 +1377,7 @@ main_dialog (GimpDrawable *drawable)
appwin = gimp_dialog_new (_("Map to Object"), "MapObject",
NULL, 0,
gimp_standard_help_func,
"filters/mapobject.html",
gimp_standard_help_func, "plug-in-map-object",
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
......
......@@ -553,7 +553,7 @@ save_dialog (void)
dlg = gimp_dialog_new (_("Save as BMP"), "bmp",
NULL, 0,
gimp_standard_help_func, "filters/bmp.html",
gimp_standard_help_func, "file-bmp-save",
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
......
......@@ -1144,7 +1144,7 @@ alienmap_dialog (void)
dialog = gimp_dialog_new (_("AlienMap"), "alienmap",
NULL, 0,
gimp_standard_help_func, "filters/alienmap.html",
gimp_standard_help_func, "plug-in-alienmap",
_("About"), RESPONSE_ABOUT,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
......@@ -1359,7 +1359,7 @@ alienmap_logo_dialog (GtkWidget *parent)
logodlg = gimp_dialog_new (_("About AlienMap"), "alienmap",
parent, GTK_DIALOG_DESTROY_WITH_PARENT,
gimp_standard_help_func, "filters/alienmap.html",
gimp_standard_help_func, "plug-in-alienmap",
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
......
......@@ -1147,7 +1147,7 @@ alienmap2_dialog (void)
dialog = gimp_dialog_new (_("AlienMap2"), "alienmap2",
NULL, 0,
gimp_standard_help_func, "filters/alienmap2.html",
gimp_standard_help_func, "plug-in-alienmap2",
_("About"), RESPONSE_ABOUT,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
......@@ -1394,7 +1394,7 @@ alienmap2_logo_dialog (GtkWidget *parent)
logodlg = gimp_dialog_new (_("About AlienMap2"), "alienmap2",
parent, GTK_DIALOG_DESTROY_WITH_PARENT,
gimp_standard_help_func, "filters/alienmap2.html",
gimp_standard_help_func, "plug-in-alienmap2",
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
......
......@@ -211,7 +211,7 @@ run (const gchar *name,
{
image_ID = param[1].data.d_int32;
drawable_ID = param[2].data.d_int32;
/* eventually export the image */
switch (run_mode)
{
......@@ -221,7 +221,7 @@ run (const gchar *name,
export = gimp_export_image (&image_ID, &drawable_ID, "CEL",
(GIMP_EXPORT_CAN_HANDLE_RGB |
GIMP_EXPORT_CAN_HANDLE_ALPHA |
GIMP_EXPORT_CAN_HANDLE_INDEXED
GIMP_EXPORT_CAN_HANDLE_INDEXED
));
if (export == GIMP_EXPORT_CANCEL)
{
......@@ -689,8 +689,7 @@ palette_dialog (const gchar *title)
gtk_window_set_position (GTK_WINDOW (dialog), GTK_WIN_POS_MOUSE);
gtk_file_selection_set_filename (GTK_FILE_SELECTION (dialog), palette_file);
gimp_help_connect (dialog, gimp_standard_help_func,
"filters/cel.html", NULL);
gimp_help_connect (dialog, gimp_standard_help_func, "file-cel-load", NULL);
gtk_widget_show (dialog);
......
......@@ -91,6 +91,7 @@
#define PARAM_FILE_FORMAT_VERSION 1.0
#define PLUG_IN_NAME "plug_in_CML_explorer"
#define SHORT_NAME "CML_explorer"
#define HELP_ID "plug-in-cml-explorer"
#define VALS CML_explorer_vals
#define PROGRESS_UPDATE_NUM 100
#define CML_LINE_SIZE 1024
......@@ -1173,7 +1174,7 @@ CML_explorer_dialog (void)
dlg = gimp_dialog_new (_("Coupled-Map-Lattice Explorer"), "cml_explorer",
NULL, 0,
gimp_standard_help_func, "filters/cml_explorer.html",
gimp_standard_help_func, HELP_ID,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
......@@ -1901,7 +1902,7 @@ function_graph_new (GtkWidget *widget,
dlg = gimp_dialog_new (_("Graph of the current settings"), "cml_explorer",
gtk_widget_get_toplevel (widget), 0,
gimp_standard_help_func, "filters/cml_explorer.html",
gimp_standard_help_func, HELP_ID,
GTK_STOCK_OK, GTK_RESPONSE_OK,
......@@ -2076,8 +2077,7 @@ CML_save_to_file_callback (GtkWidget *widget,
gtk_window_set_transient_for (GTK_WINDOW (filesel),
GTK_WINDOW (gtk_widget_get_toplevel (widget)));
gimp_help_connect (filesel, gimp_standard_help_func,
"filters/cml_explorer.html", NULL);
gimp_help_connect (filesel, gimp_standard_help_func, HELP_ID, NULL);
g_signal_connect (filesel, "response",
G_CALLBACK (CML_save_to_file_response),
......@@ -2209,7 +2209,7 @@ force_overwrite (const gchar *filename,
dlg = gimp_dialog_new (_("CML File Operation Warning"), "cml_explorer",
parent, GTK_DIALOG_MODAL,
gimp_standard_help_func, "filters/cml_explorer.html",
gimp_standard_help_func, HELP_ID,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
......@@ -2253,8 +2253,7 @@ CML_load_from_file_callback (GtkWidget *widget,
gtk_window_set_transient_for (GTK_WINDOW (filesel),
GTK_WINDOW (gtk_widget_get_toplevel (widget)));
gimp_help_connect (filesel, gimp_standard_help_func,
"filters/cml_explorer.html", NULL);
gimp_help_connect (filesel, gimp_standard_help_func, HELP_ID, NULL);
g_signal_connect (filesel, "response",
G_CALLBACK (CML_load_from_file_response),
......
......@@ -340,7 +340,7 @@ type_dialog (gint selected)
/* Create the actual window. */
dlg = gimp_dialog_new (_("Save as Text"), "aa",
NULL, 0,
gimp_standard_help_func, "filters/aa.html",
gimp_standard_help_func, "file-aa-save",
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
......
......@@ -35,6 +35,7 @@
#define PLUG_IN_NAME "plug_in_align_layers"
#define SHORT_NAME "align_layers"
#define HELP_ID "plug-in-align-layers"
#define SCALE_WIDTH 150
enum
......@@ -399,7 +400,7 @@ align_layers_dialog (void)
dlg = gimp_dialog_new (_("Align Visible Layers"), SHORT_NAME,
NULL, 0,
gimp_standard_help_func, "filters/align_layers.html",
gimp_standard_help_func, HELP_ID,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
......
......@@ -480,7 +480,7 @@ build_dialog (GimpImageBaseType basetype,
dlg = gimp_dialog_new (windowname, "animationplay",
NULL, 0,
gimp_standard_help_func, "filters/animationplay.html",
gimp_standard_help_func, "plug-in-animationplay",
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
......
......@@ -368,7 +368,7 @@ lens_dialog (GimpDrawable *drawable)
dlg = gimp_dialog_new (_("Lens Effect"), "apply_lens",
NULL, 0,
gimp_standard_help_func, "filters/apply_lens.html",
gimp_standard_help_func, "plug-in-applylens",
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
......
......@@ -272,7 +272,7 @@ blinds_dialog (void)
dlg = gimp_dialog_new (_("Blinds"), "blinds",
NULL, 0,
gimp_standard_help_func, "filters/blinds.html",
gimp_standard_help_func, "plug-in-blinds",
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
......
......@@ -79,6 +79,7 @@
#define PROG_UPDATE_TIME ((row % 10) == 0)
#define PLUG_IN_NAME "plug_in_blur"
#define HELP_ID "plug-in-blur"
#define SEED_DEFAULT 10
#define SEED_USER 11
......@@ -584,7 +585,7 @@ blur_dialog (void)
dlg = gimp_dialog_new (_("Blur"), "blur",
NULL, 0,
gimp_standard_help_func, "filters/blur.html",
gimp_standard_help_func, HELP_ID,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
......
......@@ -358,7 +358,7 @@ borderaverage_dialog (void)
dlg = gimp_dialog_new (_("Borderaverage"), "borderaverage",
NULL, 0,
gimp_standard_help_func, "filters/borderaverage.html",
gimp_standard_help_func, "plug-in-borderaverage",
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
......
......@@ -874,7 +874,7 @@ bumpmap_dialog (void)
dialog = gimp_dialog_new (_("Bump Map"), "bumpmap",
NULL, 0,
gimp_standard_help_func, "filters/bumpmap.html",
gimp_standard_help_func, "plug-in-bump-map",
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
......
......@@ -558,7 +558,7 @@ doDialog (void)
/* set up the dialog */
dialog = gimp_dialog_new (_("Colorcube Analysis"), "ccanalyze",
NULL, 0,
gimp_standard_help_func, "filters/ccanalyze.html",
gimp_standard_help_func, "plug-in-ccanalyze",
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
......
......@@ -52,6 +52,7 @@
#define PLUG_IN_NAME "plug_in_colors_channel_mixer"
#define PLUG_IN_VERSION "Channel Mixer 0.8"
#define HELP_ID "plug-in-colors-channel-mixer"
#define PROGRESS_UPDATE_NUM 20
#define CM_LINE_SIZE 1024
......@@ -528,9 +529,7 @@ cm_dialog (void)
dialog = gimp_dialog_new (_("Channel Mixer"), "mixer",
NULL, 0,
gimp_standard_help_func,
"filters/channel_mixer.html",
gimp_standard_help_func, HELP_ID,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
......@@ -1038,8 +1037,7 @@ cm_load_file_callback (GtkWidget *widget,
gtk_window_set_transient_for (GTK_WINDOW (filesel),
GTK_WINDOW (gtk_widget_get_toplevel (widget)));
gimp_help_connect (filesel, gimp_standard_help_func,
"filters/channel_mixer.html", NULL);
gimp_help_connect (filesel, gimp_standard_help_func, HELP_ID, NULL);
g_signal_connect (filesel, "response",
G_CALLBACK (cm_load_file_response_callback),
......@@ -1175,8 +1173,7 @@ cm_save_file_callback (GtkWidget *widget,
gtk_window_set_transient_for (GTK_WINDOW (filesel),
GTK_WINDOW (gtk_widget_get_toplevel (widget)));
gimp_help_connect (filesel, gimp_standard_help_func,
"filters/channel_mixer.html", NULL);
gimp_help_connect (filesel, gimp_standard_help_func, HELP_ID, NULL);
g_signal_connect (filesel, "response",
G_CALLBACK (cm_save_file_response_callback),
......@@ -1267,7 +1264,7 @@ cm_force_overwrite (const gchar *filename,
dlg = gimp_dialog_new (_("Channel Mixer File Operation Warning"),
"channel_mixer",
parent, GTK_DIALOG_MODAL,
gimp_standard_help_func, "filters/channel_mixer.html",
gimp_standard_help_func, HELP_ID,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
......
......@@ -303,7 +303,7 @@ do_checkerboard_dialog (gint32 image_ID,
dlg = gimp_dialog_new (_("Checkerboard"), "checkerboard",
NULL, 0,
gimp_standard_help_func, "filters/checkerboard.html",
gimp_standard_help_func, "plug-in-checkerboard",
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
......
......@@ -41,6 +41,7 @@
#define PLUG_IN_NAME "plug_in_colorify"
#define PLUG_IN_VERSION "1.1"
#define HELP_ID "plug-in-colorify"
#define COLOR_SIZE 30
......@@ -247,7 +248,7 @@ colorify_dialog (GimpRGB *color)
dialog = gimp_dialog_new (_("Colorify"), "colorify",
NULL, 0,
gimp_standard_help_func, "filters/colorify.html",
gimp_standard_help_func, HELP_ID,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
......
......@@ -315,7 +315,7 @@ colortoalpha_dialog (GimpDrawable *drawable)
dlg = gimp_dialog_new (_("Color to Alpha"), "colortoalpha",
NULL, 0,
gimp_standard_help_func, "filters/colortoalpha.html",
gimp_standard_help_func, "plug-in-colortoalpha",
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
......
......@@ -1088,7 +1088,7 @@ compose_dialog (const gchar *compose_type,
dlg = gimp_dialog_new (_("Compose"), "compose",
NULL, 0,
gimp_standard_help_func, "filters/compose.html",
gimp_standard_help_func, "plug-in-compose",
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
......
......@@ -870,7 +870,7 @@ dialog (void)
dlg = gimp_dialog_new (_("Convolution Matrix"), "convmatrix",
NULL, 0,
gimp_standard_help_func, "filters/convmatrix.html",
gimp_standard_help_func, "plug-in-convmatrix",
GIMP_STOCK_RESET, RESPONSE_RESET,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
......
......@@ -634,7 +634,7 @@ run_save_dialog (Config *config)
dialog = gimp_dialog_new (_("Save as C-Source"), "csource",
NULL, 0,
gimp_standard_help_func, "filters/csource.html",
gimp_standard_help_func, "file-csource-save",
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
......
......@@ -252,7 +252,7 @@ cubism_dialog (void)
dlg = gimp_dialog_new (_("Cubism"), "cubism",
NULL, 0,
gimp_standard_help_func, "filters/cubism.html",
gimp_standard_help_func, "plug-in-cubism",
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
......
......@@ -58,6 +58,7 @@
#define PLUG_IN_AUTHOR "Wolfgang Hofer (hof@hotbot.com)"
#define PLUG_IN_COPYRIGHT "Wolfgang Hofer"
#define PLUG_IN_DESCRIPTION "Bends a layer using 2 spline-curves"
#define HELP_ID "plug-in-curve-bend"
#define PLUG_IN_ITER_NAME "plug_in_curve_bend_Iterator"
#define PLUG_IN_DATA_ITER_FROM "plug_in_curve_bend_ITER_FROM"
......@@ -1212,8 +1213,7 @@ bender_new_dialog (GimpDrawable *drawable)
/* The shell and main vbox */
cd->shell = gimp_dialog_new (_("Curve Bend"), "curve_bend",
NULL, 0,
gimp_standard_help_func,
"filters/curve_bend.html",
gimp_standard_help_func, HELP_ID,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
......
......@@ -42,7 +42,7 @@
/* cbrt() is a GNU extension, which C99 accepted */
#if !defined (__GLIBC__) && !(defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L)
#define cbrt(x) (pow(x, 1.0/3.0))
#define cbrt(x) (pow(x, 1.0/3.0))
#endif
/* Declare local functions
......@@ -1181,7 +1181,7 @@ decompose_dialog (void)
dlg = gimp_dialog_new (_("Decompose"), "decompose",
NULL, 0,
gimp_standard_help_func, "filters/decompose.html",
gimp_standard_help_func, "plug-in-decompose",
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
......
......@@ -283,7 +283,7 @@ deinterlace_dialog (void)
dlg = gimp_dialog_new (_("Deinterlace"), "deinterlace",
NULL, 0,
gimp_standard_help_func, "filters/deinterlace.html",
gimp_standard_help_func, "plug-in-deinterlace",
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
......
......@@ -51,6 +51,7 @@
#define PLUG_IN_NAME "plug_in_depth_merge"
#define PLUG_IN_VERSION "1.0.0; 14 August 1998"
#define HELP_ID "plug-in-depth-merge"
#define PREVIEW_SIZE 256
......@@ -637,7 +638,7 @@ DepthMerge_dialog (DepthMerge *dm)
dm->interface->dialog =
gimp_dialog_new (_("Depth Merge"), "depthmerge",
NULL, 0,
gimp_standard_help_func, "filters/depthmerge.html",
gimp_standard_help_func, HELP_ID,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
......
......@@ -66,6 +66,7 @@
#define PLUG_IN_NAME "plug_in_despeckle"
#define PLUG_IN_VERSION "1.3.2 - 17 May 1998"
#define HELP_ID "plug-in-despeckle"
#define PREVIEW_SIZE 128
#define SCALE_WIDTH 100
#define ENTRY_WIDTH 3
......@@ -614,7 +615,7 @@ despeckle_dialog (void)
dialog = gimp_dialog_new (_("Despeckle"), "despeckle",
NULL, 0,
gimp_standard_help_func, "filters/despeckle.html",
gimp_standard_help_func, HELP_ID,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
......
......@@ -62,6 +62,7 @@
#define PLUG_IN_NAME "plug_in_destripe"
#define PLUG_IN_VERSION "0.2"
#define HELP_ID "plug-in-destripe"
#define PREVIEW_SIZE 200
#define SCALE_WIDTH 140
#define MAX_AVG 100
......@@ -558,7 +559,7 @@ destripe_dialog (void)
dialog = gimp_dialog_new (_("Destripe"), "destripe",
NULL, 0,
gimp_standard_help_func, "filters/destripe.html",
gimp_standard_help_func, HELP_ID,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
......
......@@ -439,7 +439,7 @@ diffraction_dialog (void)
dialog = gimp_dialog_new (_("Diffraction Patterns"), "diffraction",
NULL, 0,
gimp_standard_help_func, "filters/diffraction.html",
gimp_standard_help_func, "plug-in-diffraction",
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
......
......@@ -266,7 +266,7 @@ displace_dialog (GimpDrawable *drawable)
dlg = gimp_dialog_new (_("Displace"), "displace",
NULL, 0,
gimp_standard_help_func, "filters/displace.html",
gimp_standard_help_func, "plug-in-displace",
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
......
......@@ -635,7 +635,7 @@ edge_dialog (GimpDrawable *drawable)
dlg = gimp_dialog_new (_("Edge Detection"), "edge",
NULL, 0,
gimp_standard_help_func, "filters/edge.html",
gimp_standard_help_func, "plug-in-edge",
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
......
......@@ -489,7 +489,7 @@ pluginCoreIA (piArgs *argp)
dlg = gimp_dialog_new (_("Emboss"), "emboss",
NULL, 0,
gimp_standard_help_func, "filters/emboss.html",
gimp_standard_help_func, "plug-in-emboss",
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
......
......@@ -205,7 +205,7 @@ engrave_dialog (void)
dlg = gimp_dialog_new (_("Engrave"), "engrave",
NULL, 0,
gimp_standard_help_func, "filters/engrave.html",
gimp_standard_help_func, "plug-in-engrave",
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
......
......@@ -318,7 +318,7 @@ exchange_dialog (void)
/* set up the dialog */
dialog = gimp_dialog_new (_("Color Exchange"), "exchange",
NULL, 0,
gimp_standard_help_func, "filters/exchange.html",
gimp_standard_help_func, "plug-in-exchange",
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,