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

app/display/gimpdisplayshell-filter-dialog.c

2003-08-24  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-filter-dialog.c
	* app/display/gimpdisplayshell-scale.c
	* app/display/gimpnavigationview.c
	* app/gui/dialogs-menu.c
	* app/gui/documents-menu.c
	* app/gui/error-console-menu.c
	* app/gui/gradient-editor-commands.c
	* app/gui/gradient-editor-menu.c
	* app/gui/image-menu.c
	* app/gui/select-commands.c
	* app/gui/tool-options-dialog.c
	* app/gui/toolbox-menu.c
	* app/gui/vectors-menu.c
	* app/widgets/gimpbufferview.c
	* app/widgets/gimpchanneltreeview.c
	* app/widgets/gimpdocumentview.c
	* app/widgets/gimpeditor.[ch]
	* app/widgets/gimperrorconsole.c
	* app/widgets/gimpgradienteditor.c
	* app/widgets/gimpitemtreeview.[ch]
	* app/widgets/gimplayertreeview.c
	* app/widgets/gimpselectioneditor.c
	* app/widgets/gimptemplateview.c
	* app/widgets/gimpundoeditor.c
	* app/widgets/gimpvectorstreeview.c
	* app/widgets/gimphelp-ids.h: added and updated more help IDs.
parent 28d130a5
2003-08-24 Michael Natterer <mitch@gimp.org>
* app/display/gimpdisplayshell-filter-dialog.c
* app/display/gimpdisplayshell-scale.c
* app/display/gimpnavigationview.c
* app/gui/dialogs-menu.c
* app/gui/documents-menu.c
* app/gui/error-console-menu.c
* app/gui/gradient-editor-commands.c
* app/gui/gradient-editor-menu.c
* app/gui/image-menu.c
* app/gui/select-commands.c
* app/gui/tool-options-dialog.c
* app/gui/toolbox-menu.c
* app/gui/vectors-menu.c
* app/widgets/gimpbufferview.c
* app/widgets/gimpchanneltreeview.c
* app/widgets/gimpdocumentview.c
* app/widgets/gimpeditor.[ch]
* app/widgets/gimperrorconsole.c
* app/widgets/gimpgradienteditor.c
* app/widgets/gimpitemtreeview.[ch]
* app/widgets/gimplayertreeview.c
* app/widgets/gimpselectioneditor.c
* app/widgets/gimptemplateview.c
* app/widgets/gimpundoeditor.c
* app/widgets/gimpvectorstreeview.c
* app/widgets/gimphelp-ids.h: added and updated more help IDs.
2003-08-24 Sven Neumann <sven@gimp.org>
* app/paint-funcs/paint-funcs-generic.h (blend_pixels): removed
......@@ -29,6 +29,7 @@
#include "core/gimpgradient.h"
#include "widgets/gimpgradienteditor.h"
#include "widgets/gimphelp-ids.h"
#include "widgets/gimpviewabledialog.h"
#include "color-notebook.h"
......@@ -525,7 +526,7 @@ gradient_editor_replicate_cmd_callback (GtkWidget *widget,
title, "gradient_segment_replicate",
GIMP_STOCK_TOOL_BLEND, desc,
gimp_standard_help_func,
"dialogs/gradient_editor/replicate_segment.html",
GIMP_HELP_GRADIENT_EDITOR_REPLICATE,
GTK_STOCK_CANCEL,
gradient_editor_dialog_cancel_callback,
......@@ -632,7 +633,7 @@ gradient_editor_split_uniformly_cmd_callback (GtkWidget *widget,
title, "gradient_segment_split_uniformly",
GIMP_STOCK_TOOL_BLEND, desc,
gimp_standard_help_func,
"dialogs/gradient_editor/split_segments_uniformly.html",
GIMP_HELP_GRADIENT_EDITOR_SPLIT_UNIFORM,
GTK_STOCK_CANCEL,
gradient_editor_dialog_cancel_callback,
......
......@@ -148,7 +148,7 @@ select_feather_cmd_callback (GtkWidget *widget,
qbox = gimp_query_size_box (_("Feather Selection"),
gimp_standard_help_func,
GIMP_HELP_SELECT_FEATHER,
GIMP_HELP_SELECTION_FEATHER,
_("Feather Selection by:"),
selection_feather_radius, 0, 32767, 3,
gdisp->gimage->unit,
......@@ -183,7 +183,7 @@ select_shrink_cmd_callback (GtkWidget *widget,
shrink_dialog =
gimp_query_size_box (_("Shrink Selection"),
gimp_standard_help_func,
GIMP_HELP_SELECT_SHRINK,
GIMP_HELP_SELECTION_SHRINK,
_("Shrink Selection by:"),
selection_shrink_pixels, 1, 32767, 0,
gdisp->gimage->unit,
......@@ -216,7 +216,7 @@ select_grow_cmd_callback (GtkWidget *widget,
qbox = gimp_query_size_box (_("Grow Selection"),
gimp_standard_help_func,
GIMP_HELP_SELECT_GROW,
GIMP_HELP_SELECTION_GROW,
_("Grow Selection by:"),
selection_grow_pixels, 1, 32767, 0,
gdisp->gimage->unit,
......@@ -238,7 +238,7 @@ select_border_cmd_callback (GtkWidget *widget,
qbox = gimp_query_size_box (_("Border Selection"),
gimp_standard_help_func,
GIMP_HELP_SELECT_BORDER,
GIMP_HELP_SELECTION_BORDER,
_("Border Selection by:"),
selection_border_radius, 1, 32767, 0,
gdisp->gimage->unit,
......
......@@ -28,6 +28,7 @@
#include "core/gimpimage.h"
#include "widgets/gimpeditor.h"
#include "widgets/gimphelp-ids.h"
#include "gimpdisplay.h"
#include "gimpdisplayshell.h"
......@@ -123,7 +124,7 @@ make_dialog (ColorDisplayDialog *cdd)
cdd->dialog = gimp_dialog_new (_("Color Display Filters"), "display_filters",
gimp_standard_help_func,
"dialogs/display_filters/display_filters.html",
GIMP_HELP_DISPLAY_FILTER_DIALOG,
GTK_WIN_POS_NONE,
FALSE, TRUE, FALSE,
......@@ -148,7 +149,7 @@ make_dialog (ColorDisplayDialog *cdd)
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_win),
GTK_SHADOW_IN);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_win),
GTK_POLICY_AUTOMATIC,
GTK_POLICY_AUTOMATIC,
GTK_POLICY_AUTOMATIC);
gtk_box_pack_start (GTK_BOX (hbox), scrolled_win, TRUE, TRUE, 0);
gtk_widget_show (scrolled_win);
......@@ -240,7 +241,7 @@ make_dialog (ColorDisplayDialog *cdd)
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_win),
GTK_SHADOW_IN);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_win),
GTK_POLICY_AUTOMATIC,
GTK_POLICY_AUTOMATIC,
GTK_POLICY_AUTOMATIC);
gtk_container_add (GTK_CONTAINER (editor), scrolled_win);
gtk_widget_show (scrolled_win);
......@@ -329,7 +330,7 @@ color_display_cancel_callback (GtkWidget *widget,
gtk_widget_destroy (GTK_WIDGET (cdd->dialog));
cdd->shell->filters_dialog = NULL;
if (cdd->modified)
{
list = cdd->shell->filters;
......@@ -349,7 +350,7 @@ color_display_cancel_callback (GtkWidget *widget,
}
}
static void
static void
color_display_update_up_and_down (ColorDisplayDialog *cdd)
{
GtkTreeModel *model;
......
......@@ -36,6 +36,7 @@
#include "tools/tool_manager.h"
#include "widgets/gimphelp-ids.h"
#include "widgets/gimpviewabledialog.h"
#include "gimpdisplay.h"
......@@ -474,7 +475,7 @@ gimp_display_shell_scale_dialog (GimpDisplayShell *shell)
GTK_STOCK_ZOOM_100,
_("Select Zoom Ratio"),
gimp_standard_help_func,
"dialogs/display_scale.html",
GIMP_HELP_VIEW_ZOOM_OTHER,
GTK_STOCK_CANCEL,
gimp_display_shell_scale_dialog_cancel,
......
......@@ -31,6 +31,7 @@
#include "widgets/gimpdialogfactory.h"
#include "widgets/gimpdockable.h"
#include "widgets/gimpdockbook.h"
#include "widgets/gimphelp-ids.h"
#include "widgets/gimpimagedock.h"
#include "widgets/gimpitemfactory.h"
......@@ -41,9 +42,10 @@
#include "gimp-intl.h"
#define ADD_TAB(path,id,type,stock_id) \
{ { (path), "foo", dialogs_add_tab_cmd_callback, 0, (type), (stock_id) }, \
(id), NULL, NULL }
#define ADD_TAB(path,id,stock_id,help_id) \
{ { (path), "", dialogs_add_tab_cmd_callback, 0, \
"<StockItem>", (stock_id) }, \
(id), (help_id), NULL }
#define PREVIEW_SIZE(path,size) \
{ { (path), NULL, dialogs_preview_size_cmd_callback, \
(size), "/Preview Size/Tiny" }, NULL, NULL, NULL }
......@@ -60,58 +62,60 @@ GimpItemFactoryEntry dialogs_menu_entries[] =
MENU_BRANCH ("/_Add Tab"),
ADD_TAB (N_("/Add Tab/Tool _Options..."), "gimp-tool-options",
"<StockItem>", GIMP_STOCK_TOOL_OPTIONS),
GIMP_STOCK_TOOL_OPTIONS, GIMP_HELP_TOOL_OPTIONS_DIALOG),
ADD_TAB (N_("/Add Tab/_Device Status..."), "gimp-device-status",
"<StockItem>", GIMP_STOCK_DEVICE_STATUS),
GIMP_STOCK_DEVICE_STATUS, GIMP_HELP_DEVICE_STATUS_DIALOG),
MENU_SEPARATOR ("/Add Tab/---"),
ADD_TAB (N_("/Add Tab/_Layers..."), "gimp-layer-list",
"<StockItem>", GIMP_STOCK_LAYERS),
GIMP_STOCK_LAYERS, GIMP_HELP_LAYER_DIALOG),
ADD_TAB (N_("/Add Tab/_Channels..."), "gimp-channel-list",
"<StockItem>", GIMP_STOCK_CHANNELS),
GIMP_STOCK_CHANNELS, GIMP_HELP_CHANNEL_DIALOG),
ADD_TAB (N_("/Add Tab/_Paths..."), "gimp-vectors-list",
"<StockItem>", GIMP_STOCK_PATHS),
GIMP_STOCK_PATHS, GIMP_HELP_PATH_DIALOG),
ADD_TAB (N_("/Add Tab/_Indexed Palette..."), "gimp-indexed-palette",
"<StockItem>", GIMP_STOCK_INDEXED_PALETTE),
GIMP_STOCK_INDEXED_PALETTE, GIMP_HELP_INDEXED_PALETTE_DIALOG),
ADD_TAB (N_("/Add Tab/_Selection Editor..."), "gimp-selection-editor",
"<StockItem>", GIMP_STOCK_TOOL_RECT_SELECT),
GIMP_STOCK_TOOL_RECT_SELECT, GIMP_HELP_SELECTION_DIALOG),
ADD_TAB (N_("/Add Tab/Na_vigation..."), "gimp-navigation-view",
"<StockItem>", GIMP_STOCK_NAVIGATION),
GIMP_STOCK_NAVIGATION, GIMP_HELP_NAVIGATION_DIALOG),
ADD_TAB (N_("/Add Tab/_Undo History..."), "gimp-undo-history",
"<StockItem>", GIMP_STOCK_UNDO_HISTORY),
GIMP_STOCK_UNDO_HISTORY, GIMP_HELP_UNDO_DIALOG),
MENU_SEPARATOR ("/Add Tab/---"),
ADD_TAB (N_("/Add Tab/Colo_rs..."), "gimp-color-editor",
"<StockItem>", GIMP_STOCK_DEFAULT_COLORS),
GIMP_STOCK_DEFAULT_COLORS, GIMP_HELP_COLOR_DIALOG),
ADD_TAB (N_("/Add Tab/Brus_hes..."), "gimp-brush-grid",
"<StockItem>", GIMP_STOCK_TOOL_PAINTBRUSH),
GIMP_STOCK_TOOL_PAINTBRUSH, GIMP_HELP_BRUSH_DIALOG),
ADD_TAB (N_("/Add Tab/P_atterns..."), "gimp-pattern-grid",
"<StockItem>", GIMP_STOCK_TOOL_BUCKET_FILL),
GIMP_STOCK_TOOL_BUCKET_FILL, GIMP_HELP_PATTERN_DIALOG),
ADD_TAB (N_("/Add Tab/_Gradients..."), "gimp-gradient-list",
"<StockItem>", GIMP_STOCK_TOOL_BLEND),
GIMP_STOCK_TOOL_BLEND, GIMP_HELP_GRADIENT_DIALOG),
ADD_TAB (N_("/Add Tab/Pal_ettes..."), "gimp-palette-list",
"<StockItem>", GTK_STOCK_SELECT_COLOR),
GTK_STOCK_SELECT_COLOR, GIMP_HELP_PALETTE_DIALOG),
ADD_TAB (N_("/Add Tab/_Fonts..."), "gimp-font-list",
"<StockItem>", GTK_STOCK_SELECT_FONT),
GTK_STOCK_SELECT_FONT, GIMP_HELP_FONT_DIALOG),
ADD_TAB (N_("/Add Tab/_Buffers..."), "gimp-buffer-list",
"<StockItem>", GTK_STOCK_PASTE),
GTK_STOCK_PASTE, GIMP_HELP_BUFFER_DIALOG),
MENU_SEPARATOR ("/Add Tab/---"),
ADD_TAB (N_("/Add Tab/I_mages..."), "gimp-image-list",
"<StockItem>", GIMP_STOCK_IMAGES),
GIMP_STOCK_IMAGES, GIMP_HELP_IMAGE_DIALOG),
ADD_TAB (N_("/Add Tab/Document Histor_y..."), "gimp-document-list",
"<StockItem>", GTK_STOCK_OPEN),
GTK_STOCK_OPEN, GIMP_HELP_DOCUMENT_DIALOG),
ADD_TAB (N_("/Add Tab/_Templates..."), "gimp-template-list",
"<StockItem>", GIMP_STOCK_TEMPLATE),
GIMP_STOCK_TEMPLATE, GIMP_HELP_TEMPLATE_DIALOG),
ADD_TAB (N_("/Add Tab/Error Co_nsole..."), "gimp-error-console",
"<StockItem>", GIMP_STOCK_WARNING),
GIMP_STOCK_WARNING, GIMP_HELP_ERRORS_DIALOG),
MENU_SEPARATOR ("/Add Tab/---"),
ADD_TAB (N_("/Add Tab/Tools..."), "gimp-tool-list", NULL, NULL),
{ { N_("/Add Tab/Tools..."), NULL,
dialogs_add_tab_cmd_callback, 0 },
"gimp-tool-list", NULL, NULL },
{ { N_("/_Remove Tab"), NULL,
dialogs_remove_tab_cmd_callback, 0,
......
......@@ -28,6 +28,7 @@
#include "widgets/gimpcontainereditor.h"
#include "widgets/gimpcontainerview.h"
#include "widgets/gimphelp-ids.h"
#include "widgets/gimpitemfactory.h"
#include "documents-commands.h"
......@@ -42,34 +43,41 @@ GimpItemFactoryEntry documents_menu_entries[] =
{ { N_("/_Open Image"), "",
documents_open_document_cmd_callback, 0,
"<StockItem>", GTK_STOCK_OPEN },
NULL, NULL, NULL },
NULL,
GIMP_HELP_DOCUMENT_OPEN, NULL },
{ { N_("/_Raise or Open Image"), "",
documents_raise_or_open_document_cmd_callback, 0,
"<StockItem>", GTK_STOCK_OPEN },
NULL, NULL, NULL },
NULL,
GIMP_HELP_DOCUMENT_OPEN, NULL },
{ { N_("/File Open _Dialog..."), "",
documents_file_open_dialog_cmd_callback, 0,
"<StockItem>", GTK_STOCK_OPEN },
NULL, NULL, NULL },
NULL,
GIMP_HELP_DOCUMENT_OPEN, NULL },
{ { N_("/Remove _Entry"), NULL,
documents_remove_document_cmd_callback, 0,
"<StockItem>", GTK_STOCK_REMOVE },
NULL, NULL, NULL },
NULL,
GIMP_HELP_DOCUMENT_REMOVE, NULL },
MENU_SEPARATOR ("/---"),
{ { N_("/Recreate _Preview"), NULL,
documents_recreate_preview_cmd_callback, 0,
"<StockItem>", GTK_STOCK_REFRESH },
NULL, NULL, NULL },
NULL,
GIMP_HELP_DOCUMENT_REFRESH, NULL },
{ { N_("/Reload _all Previews"), NULL,
documents_reload_previews_cmd_callback, 0,
"<StockItem>", GTK_STOCK_REFRESH },
NULL, NULL, NULL },
NULL,
GIMP_HELP_DOCUMENT_REFRESH, NULL },
{ { N_("/Remove Dangling E_ntries"), NULL,
documents_delete_dangling_documents_cmd_callback, 0,
"<StockItem>", GTK_STOCK_REFRESH },
NULL, NULL, NULL },
NULL,
GIMP_HELP_DOCUMENT_REFRESH, NULL },
};
gint n_documents_menu_entries = G_N_ELEMENTS (documents_menu_entries);
......
......@@ -25,6 +25,7 @@
#include "gui-types.h"
#include "widgets/gimperrorconsole.h"
#include "widgets/gimphelp-ids.h"
#include "widgets/gimpitemfactory.h"
#include "error-console-commands.h"
......@@ -38,18 +39,21 @@ GimpItemFactoryEntry error_console_menu_entries[] =
{ { N_("/_Clear Errors"), "",
error_console_clear_cmd_callback, 0,
"<StockItem>", GTK_STOCK_CLEAR },
NULL, NULL, NULL },
NULL,
GIMP_HELP_ERRORS_CLEAR, NULL },
{ { "/---", NULL, NULL, 0, "<Separator>", NULL }, NULL, NULL, NULL },
{ { N_("/Save _All Errors to File..."), "",
error_console_save_all_cmd_callback, 0,
"<StockItem>", GTK_STOCK_SAVE_AS },
NULL, NULL, NULL },
NULL,
GIMP_HELP_ERRORS_SAVE, NULL },
{ { N_("/Save _Selection to File..."), "",
error_console_save_selection_cmd_callback, 0,
"<StockItem>", GTK_STOCK_SAVE_AS },
NULL, NULL, NULL }
NULL,
GIMP_HELP_ERRORS_SAVE, NULL }
};
gint n_error_console_menu_entries = G_N_ELEMENTS (error_console_menu_entries);
......
......@@ -29,6 +29,7 @@
#include "core/gimpgradient.h"
#include "widgets/gimpgradienteditor.h"
#include "widgets/gimphelp-ids.h"
#include "widgets/gimpviewabledialog.h"
#include "color-notebook.h"
......@@ -525,7 +526,7 @@ gradient_editor_replicate_cmd_callback (GtkWidget *widget,
title, "gradient_segment_replicate",
GIMP_STOCK_TOOL_BLEND, desc,
gimp_standard_help_func,
"dialogs/gradient_editor/replicate_segment.html",
GIMP_HELP_GRADIENT_EDITOR_REPLICATE,
GTK_STOCK_CANCEL,
gradient_editor_dialog_cancel_callback,
......@@ -632,7 +633,7 @@ gradient_editor_split_uniformly_cmd_callback (GtkWidget *widget,
title, "gradient_segment_split_uniformly",
GIMP_STOCK_TOOL_BLEND, desc,
gimp_standard_help_func,
"dialogs/gradient_editor/split_segments_uniformly.html",
GIMP_HELP_GRADIENT_EDITOR_SPLIT_UNIFORM,
GTK_STOCK_CANCEL,
gradient_editor_dialog_cancel_callback,
......
......@@ -30,6 +30,7 @@
#include "widgets/gimpdataeditor.h"
#include "widgets/gimpgradienteditor.h"
#include "widgets/gimphelp-ids.h"
#include "widgets/gimpitemfactory.h"
#include "gradient-editor-commands.h"
......@@ -41,16 +42,20 @@
#define LOAD_LEFT_FROM(num,magic) \
{ { "/Load Left Color From/" num, NULL, \
gradient_editor_load_left_cmd_callback, (magic) }, NULL, NULL, NULL }
gradient_editor_load_left_cmd_callback, (magic) }, \
NULL, GIMP_HELP_GRADIENT_EDITOR_LEFT_LOAD, NULL }
#define SAVE_LEFT_TO(num,magic) \
{ { "/Save Left Color To/" num, NULL, \
gradient_editor_save_left_cmd_callback, (magic) }, NULL, NULL, NULL }
gradient_editor_save_left_cmd_callback, (magic) }, \
NULL, GIMP_HELP_GRADIENT_EDITOR_LEFT_SAVE, NULL }
#define LOAD_RIGHT_FROM(num,magic) \
{ { "/Load Right Color From/" num, NULL, \
gradient_editor_load_right_cmd_callback, (magic) }, NULL, NULL, NULL }
gradient_editor_load_right_cmd_callback, (magic) }, \
NULL, GIMP_HELP_GRADIENT_EDITOR_RIGHT_LOAD, NULL }
#define SAVE_RIGHT_TO(num,magic) \
{ { "/Save Right Color To/" num, NULL, \
gradient_editor_save_right_cmd_callback, (magic) }, NULL, NULL, NULL }
gradient_editor_save_right_cmd_callback, (magic) }, \
NULL, GIMP_HELP_GRADIENT_EDITOR_RIGHT_SAVE, NULL }
GimpItemFactoryEntry gradient_editor_menu_entries[] =
......@@ -58,7 +63,7 @@ GimpItemFactoryEntry gradient_editor_menu_entries[] =
{ { N_("/L_eft Endpoint's Color..."), NULL,
gradient_editor_left_color_cmd_callback, 0 },
NULL,
NULL, NULL },
GIMP_HELP_GRADIENT_EDITOR_LEFT_COLOR, NULL },
MENU_BRANCH (N_("/_Load Left Color From")),
......@@ -69,15 +74,15 @@ GimpItemFactoryEntry gradient_editor_menu_entries[] =
{ { N_("/Load Left Color From/_Right Endpoint"), NULL,
gradient_editor_load_left_cmd_callback, 1 },
NULL,
NULL, NULL },
GIMP_HELP_GRADIENT_EDITOR_LEFT_LOAD, NULL },
{ { N_("/Load Left Color From/_FG Color"), NULL,
gradient_editor_load_left_cmd_callback, 2 },
NULL,
NULL, NULL },
GIMP_HELP_GRADIENT_EDITOR_LEFT_LOAD, NULL },
{ { N_("/Load Left Color From/_BG Color"), NULL,
gradient_editor_load_left_cmd_callback, 3 },
NULL,
NULL, NULL },
GIMP_HELP_GRADIENT_EDITOR_LEFT_LOAD, NULL },
MENU_SEPARATOR ("/Load Left Color From/---"),
......@@ -110,26 +115,26 @@ GimpItemFactoryEntry gradient_editor_menu_entries[] =
{ { N_("/R_ight Endpoint's Color..."), NULL,
gradient_editor_right_color_cmd_callback, 0 },
NULL,
NULL, NULL },
GIMP_HELP_GRADIENT_EDITOR_RIGHT_COLOR, NULL },
MENU_BRANCH (N_("/Load Right Color Fr_om")),
{ { N_("/Load Right Color From/_Right Neighbor's Left Endpoint"), NULL,
gradient_editor_load_right_cmd_callback, 0 },
NULL,
NULL, NULL },
GIMP_HELP_GRADIENT_EDITOR_RIGHT_LOAD, NULL },
{ { N_("/Load Right Color From/_Left Endpoint"), NULL,
gradient_editor_load_right_cmd_callback, 1 },
NULL,
NULL, NULL },
GIMP_HELP_GRADIENT_EDITOR_RIGHT_LOAD, NULL },
{ { N_("/Load Right Color From/_FG Color"), NULL,
gradient_editor_load_right_cmd_callback, 2 },
NULL,
NULL, NULL },
GIMP_HELP_GRADIENT_EDITOR_RIGHT_LOAD, NULL },
{ { N_("/Load Right Color From/_BG Color"), NULL,
gradient_editor_load_right_cmd_callback, 3 },
NULL,
NULL, NULL },
GIMP_HELP_GRADIENT_EDITOR_RIGHT_LOAD, NULL },
MENU_SEPARATOR ("/Load Right Color From/---"),
......@@ -163,93 +168,93 @@ GimpItemFactoryEntry gradient_editor_menu_entries[] =
gradient_editor_blending_func_cmd_callback,
GIMP_GRAD_LINEAR, "<RadioItem>" },
NULL,
NULL, NULL },
GIMP_HELP_GRADIENT_EDITOR_BLENDING, NULL },
{ { N_("/blendingfunction/_Curved"), NULL,
gradient_editor_blending_func_cmd_callback,
GIMP_GRAD_CURVED, "/blendingfunction/Linear" },
NULL,
NULL, NULL },
GIMP_HELP_GRADIENT_EDITOR_BLENDING, NULL },
{ { N_("/blendingfunction/_Sinusodial"), NULL,
gradient_editor_blending_func_cmd_callback,
GIMP_GRAD_SINE, "/blendingfunction/Linear" },
NULL,
NULL, NULL },
GIMP_HELP_GRADIENT_EDITOR_BLENDING, NULL },
{ { N_("/blendingfunction/Spherical (i_ncreasing)"), NULL,
gradient_editor_blending_func_cmd_callback,
GIMP_GRAD_SPHERE_INCREASING, "/blendingfunction/Linear" },
NULL,
NULL, NULL },
GIMP_HELP_GRADIENT_EDITOR_BLENDING, NULL },
{ { N_("/blendingfunction/Spherical (_decreasing)"), NULL,
gradient_editor_blending_func_cmd_callback,
GIMP_GRAD_SPHERE_DECREASING, "/blendingfunction/Linear" },
NULL,
NULL, NULL },
GIMP_HELP_GRADIENT_EDITOR_BLENDING, NULL },
{ { N_("/blendingfunction/(Varies)"), NULL, NULL,
0, "/blendingfunction/Linear" },
NULL,
NULL, NULL },
GIMP_HELP_GRADIENT_EDITOR_BLENDING, NULL },
{ { N_("/coloringtype/_RGB"), NULL,
gradient_editor_coloring_type_cmd_callback,
GIMP_GRAD_RGB, "<RadioItem>" },
NULL,
NULL, NULL },
GIMP_HELP_GRADIENT_EDITOR_COLORING, NULL },
{ { N_("/coloringtype/HSV (_counter-clockwise hue)"), NULL,
gradient_editor_coloring_type_cmd_callback,
GIMP_GRAD_HSV_CCW, "/coloringtype/RGB" },
NULL,
NULL, NULL },
GIMP_HELP_GRADIENT_EDITOR_COLORING, NULL },
{ { N_("/coloringtype/HSV (clockwise _hue)"), NULL,
gradient_editor_coloring_type_cmd_callback,
GIMP_GRAD_HSV_CW, "/coloringtype/RGB" },
NULL,
NULL, NULL },
GIMP_HELP_GRADIENT_EDITOR_COLORING, NULL },
{ { N_("/coloringtype/(Varies)"), NULL, NULL,
0, "/coloringtype/RGB" },
NULL,
NULL, NULL },
GIMP_HELP_GRADIENT_EDITOR_COLORING, NULL },
MENU_SEPARATOR ("/---"),
{ { "/flip", "F",
gradient_editor_flip_cmd_callback, 0 },
NULL,
NULL, NULL },
GIMP_HELP_GRADIENT_EDITOR_FLIP, NULL },
{ { "/replicate", "R",
gradient_editor_replicate_cmd_callback, 0 },
NULL,
NULL, NULL },
GIMP_HELP_GRADIENT_EDITOR_FLIP, NULL },
{ { "/splitmidpoint", "S",
gradient_editor_split_midpoint_cmd_callback, 0 },
NULL,
NULL, NULL },
GIMP_HELP_GRADIENT_EDITOR_SPLIT_MIDPOINT, NULL },
{ { "/splituniformly", "U",
gradient_editor_split_uniformly_cmd_callback, 0 },
NULL,
NULL, NULL },
GIMP_HELP_GRADIENT_EDITOR_SPLIT_MIDPOINT, NULL },
{ { "/delete", "D",
gradient_editor_delete_cmd_callback, 0 },
NULL,
NULL, NULL },
GIMP_HELP_GRADIENT_EDITOR_DELETE, NULL },
{ { "/recenter", "C",
gradient_editor_recenter_cmd_callback, 0 },
NULL,
NULL, NULL },
GIMP_HELP_GRADIENT_EDITOR_RECENTER, NULL },
{ { "/redistribute", "<control>C",
gradient_editor_redistribute_cmd_callback, 0 },
NULL,
NULL, NULL },
GIMP_HELP_GRADIENT_EDITOR_REDISTRIBUTE, NULL },
MENU_SEPARATOR ("/---"),
{ { N_("/Ble_nd Endpoints' Colors"), "B",
gradient_editor_blend_color_cmd_callback, 0 },
NULL,
NULL, NULL },
GIMP_HELP_GRADIENT_EDITOR_BLEND_COLOR, NULL },
{ { N_("/Blend Endpoints' Opacit_y"), "<control>B",
gradient_editor_blend_opacity_cmd_callback, 0 },
NULL,
NULL, NULL },
GIMP_HELP_GRADIENT_EDITOR_BLEND_OPACITY, NULL },
};
#undef LOAD_LEFT_FROM
......
......@@ -245,12 +245,12 @@ GimpItemFactoryEntry image_menu_entries[] =
edit_stroke_cmd_callback, 0,
"<StockItem>", GIMP_STOCK_SELECTION_STROKE },
NULL,
GIMP_HELP_EDIT_STROKE_SELECTION, NULL },
GIMP_HELP_SELECTION_STROKE, NULL },
{ { N_("/Edit/St_roke Active Path"), NULL,
vectors_stroke_cmd_callback, 0,
"<StockItem>", GIMP_STOCK_PATH_STROKE },
NULL,
GIMP_HELP_EDIT_STROKE_PATH, NULL },
GIMP_HELP_PATH_STROKE, NULL },
MENU_SEPARATOR ("/Edit/---"),
......@@ -262,21 +262,21 @@ GimpItemFactoryEntry image_menu_entries[] =
select_all_cmd_callback, 0,
"<StockItem>", GIMP_STOCK_SELECTION_ALL },
NULL,
GIMP_HELP_SELECT_ALL, NULL },
GIMP_HELP_SELECTION_ALL, NULL },
{ { N_("/Select/_None"), "<control><shift>A",
select_none_cmd_callback, 0,
"<StockItem>", GIMP_STOCK_SELECTION_NONE },
NULL,
GIMP_HELP_SELECT_NONE, NULL },
GIMP_HELP_SELECTION_NONE, NULL },
{ { N_("/Select/_Invert"), "<control>I",
select_invert_cmd_callback, 0,
"<StockItem>", GIMP_STOCK_INVERT },
NULL,
GIMP_HELP_SELECT_INVERT, NULL },
GIMP_HELP_SELECTION_INVERT, NULL },
{ { N_("/Select/_Float"), "<control><shift>L",
select_float_cmd_callback, 0 },
NULL,
GIMP_HELP_SELECT_FLOAT, NULL },
GIMP_HELP_SELECTION_FLOAT, NULL },
{ { N_("/Select/_By Color"), "<shift>O",
tools_select_cmd_callback, 0,
"<StockItem>", GIMP_STOCK_TOOL_BY_COLOR_SELECT },
......@@ -288,25 +288,25 @@ GimpItemFactoryEntry image_menu_entries[] =
{ { N_("/Select/Fea_ther..."), NULL,
select_feather_cmd_callback, 0 },
NULL,
GIMP_HELP_SELECT_FEATHER, NULL },
GIMP_HELP_SELECTION_FEATHER, NULL },
{ { N_("/Select/_Sharpen"), NULL,
select_sharpen_cmd_callback, 0 },
NULL,
GIMP_HELP_SELECT_SHARPEN, NULL },
GIMP_HELP_SELECTION_SHARPEN, NULL },
{ { N_("/Select/S_hrink..."), NULL,
select_shrink_cmd_callback, 0,
"<StockItem>", GIMP_STOCK_SELECTION_SHRINK },
NULL,
GIMP_HELP_SELECT_SHRINK, NULL },
GIMP_HELP_SELECTION_SHRINK, NULL },
{ { N_("/Select/_Grow..."), NULL,
select_grow_cmd_callback, 0,
"<StockItem>", GIMP_STOCK_SELECTION_GROW },
NULL,
GIMP_HELP_SELECT_GROW, NULL },
GIMP_HELP_SELECTION_GROW, NULL },
{ { N_("/Select/Bo_rder..."), NULL,
select_border_cmd_callback, 0 },
NULL,
GIMP_HELP_SELECT_BORDER, NULL },
GIMP_HELP_SELECTION_BORDER, NULL },
MENU_SEPARATOR ("/Select/---"),
......@@ -319,7 +319,7 @@ GimpItemFactoryEntry image_menu_entries[] =
select_save_cmd_callback, 0,
"<StockItem>", GIMP_STOCK_SELECTION_TO_CHANNEL },
NULL,
GIMP_HELP_SELECT_SAVE_TO_CHANNEL, NULL },
GIMP_HELP_SELECTION_TO_CHANNEL, NULL },
/* <Image>/View */
......@@ -343,63 +343,63 @@ GimpItemFactoryEntry image_menu_entries[] =
view_zoom_out_cmd_callback, 0,
"<StockItem>", GTK_STOCK_ZOOM_OUT },
NULL,
GIMP_HELP_VIEW_ZOOM, NULL },
GIMP_HELP_VIEW_ZOOM_OUT, NULL },
{ { N_("/View/Zoom/Zoom _In"), "plus",
view_zoom_in_cmd_callback, 0,
"<StockItem>", GTK_STOCK_ZOOM_IN },
NULL,
GIMP_HELP_VIEW_ZOOM, NULL },
GIMP_HELP_VIEW_ZOOM_IN, NULL },
{ { N_("/View/Zoom/Zoom to _Fit Window"), "<control><shift>E",
view_zoom_fit_cmd_callback, 0,
"<StockItem>", GTK_STOCK_ZOOM_FIT },
NULL,
GIMP_HELP_VIEW_ZOOM_TO_FIT, NULL },
GIMP_HELP_VIEW_ZOOM_FIT, NULL },
MENU_SEPARATOR ("/View/Zoom/---"),
{ { N_("/View/Zoom/16:1"), NULL,
view_zoom_cmd_callback, 1601, "<RadioItem>" },
NULL,
GIMP_HELP_VIEW_ZOOM, NULL },
GIMP_HELP_VIEW_ZOOM_IN, NULL },
{ { N_("/View/Zoom/8:1"), NULL,
view_zoom_cmd_callback, 801, "/View/Zoom/16:1" },
NULL,
GIMP_HELP_VIEW_ZOOM, NULL },
GIMP_HELP_VIEW_ZOOM_IN, NULL },
{ { N_("/View/Zoom/4:1"), NULL,
view_zoom_cmd_callback, 401, "/View/Zoom/16:1" },
NULL,
GIMP_HELP_VIEW_ZOOM, NULL },
GIMP_HELP_VIEW_ZOOM_IN, NULL },
{ { N_("/View/Zoom/2:1"), NULL,
view_zoom_cmd_callback, 201, "/View/Zoom/16:1" },
NULL,
GIMP_HELP_VIEW_ZOOM, NULL },
GIMP_HELP_VIEW_ZOOM_100, NULL },
{ { N_("/View/Zoom/1:1"), "1",
view_zoom_cmd_callback, 101, "/View/Zoom/16:1" },
NULL,
GIMP_HELP_VIEW_ZOOM, NULL },
GIMP_HELP_VIEW_ZOOM_OUT, NULL },
{ { N_("/View/Zoom/1:2"), NULL,
view_zoom_cmd_callback, 102, "/View/Zoom/16:1" },
NULL,
GIMP_HELP_VIEW_ZOOM, NULL },
GIMP_HELP_VIEW_ZOOM_OUT, NULL },
{ { N_("/View/Zoom/1:4"), NULL,
view_zoom_cmd_callback, 104, "/View/Zoom/16:1" },
NULL,
GIMP_HELP_VIEW_ZOOM, NULL },
GIMP_HELP_VIEW_ZOOM_OUT, NULL },
{ { N_("/View/Zoom/1:8"), NULL,
view_zoom_cmd_callback, 108, "/View/Zoom/16:1" },
NULL,
GIMP_HELP_VIEW_ZOOM, NULL },
GIMP_HELP_VIEW_ZOOM_OUT, NULL },
{ { N_("/View/Zoom/1:16"), NULL,
view_zoom_cmd_callback, 116, "/View/Zoom/16:1" },
NULL,
GIMP_HELP_VIEW_ZOOM, NULL },
GIMP_HELP_VIEW_ZOOM_OUT, NULL },
MENU_SEPARATOR ("/View/Zoom/---"),