Deprecate stock items for good and change all icon defines to GIMP_ICON_*

Try to sort all GIMP_ICON_* defines into FDO categories like in
https://specifications.freedesktop.org/icon-naming-spec/latest/ar01s04.html

Add defines for all icons we override, rename some icons to their FDO
standard names, and mark the ones we duplicate with a comment so we
don't forget to rename those to standard names in 3.0.
This commit is contained in:
Michael Natterer 2017-03-05 16:01:59 +01:00
parent 181f2de941
commit dda54c1df8
251 changed files with 2748 additions and 2389 deletions

View File

@ -107,22 +107,22 @@ GimpActionFactory *global_action_factory = NULL;
static const GimpActionFactoryEntry action_groups[] =
{
{ "brush-editor", N_("Brush Editor"), GIMP_STOCK_BRUSH,
{ "brush-editor", N_("Brush Editor"), GIMP_ICON_BRUSH,
brush_editor_actions_setup,
brush_editor_actions_update },
{ "brushes", N_("Brushes"), GIMP_STOCK_BRUSH,
{ "brushes", N_("Brushes"), GIMP_ICON_BRUSH,
brushes_actions_setup,
brushes_actions_update },
{ "buffers", N_("Buffers"), GIMP_STOCK_BUFFER,
{ "buffers", N_("Buffers"), GIMP_ICON_BUFFER,
buffers_actions_setup,
buffers_actions_update },
{ "channels", N_("Channels"), GIMP_STOCK_CHANNEL,
{ "channels", N_("Channels"), GIMP_ICON_CHANNEL,
channels_actions_setup,
channels_actions_update },
{ "colormap", N_("Colormap"), GIMP_STOCK_COLORMAP,
{ "colormap", N_("Colormap"), GIMP_ICON_COLORMAP,
colormap_actions_setup,
colormap_actions_update },
{ "context", N_("Context"), GIMP_STOCK_TOOL_OPTIONS /* well... */,
{ "context", N_("Context"), GIMP_ICON_DIALOG_TOOL_OPTIONS /* well... */,
context_actions_setup,
context_actions_update },
{ "cursor-info", N_("Pointer Information"), NULL,
@ -143,97 +143,97 @@ static const GimpActionFactoryEntry action_groups[] =
{ "documents", N_("Document History"), NULL,
documents_actions_setup,
documents_actions_update },
{ "drawable", N_("Drawable"), GIMP_STOCK_LAYER,
{ "drawable", N_("Drawable"), GIMP_ICON_LAYER,
drawable_actions_setup,
drawable_actions_update },
{ "dynamics", N_("Paint Dynamics"), GIMP_STOCK_DYNAMICS,
{ "dynamics", N_("Paint Dynamics"), GIMP_ICON_DYNAMICS,
dynamics_actions_setup,
dynamics_actions_update },
{ "dynamics-editor", N_("Paint Dynamics Editor"), GIMP_STOCK_DYNAMICS,
{ "dynamics-editor", N_("Paint Dynamics Editor"), GIMP_ICON_DYNAMICS,
dynamics_editor_actions_setup,
dynamics_editor_actions_update },
{ "edit", N_("Edit"), "gtk-edit",
{ "edit", N_("Edit"), GIMP_ICON_EDIT,
edit_actions_setup,
edit_actions_update },
{ "error-console", N_("Error Console"), GIMP_STOCK_WARNING,
{ "error-console", N_("Error Console"), GIMP_ICON_DIALOG_WARNING,
error_console_actions_setup,
error_console_actions_update },
{ "file", N_("File"), "text-x-generic",
file_actions_setup,
file_actions_update },
{ "filters", N_("Filters"), GIMP_STOCK_GEGL,
{ "filters", N_("Filters"), GIMP_ICON_GEGL,
filters_actions_setup,
filters_actions_update },
{ "fonts", N_("Fonts"), "gtk-select-font",
{ "fonts", N_("Fonts"), GIMP_ICON_FONT,
fonts_actions_setup,
fonts_actions_update },
{ "gradient-editor", N_("Gradient Editor"), GIMP_STOCK_GRADIENT,
{ "gradient-editor", N_("Gradient Editor"), GIMP_ICON_GRADIENT,
gradient_editor_actions_setup,
gradient_editor_actions_update },
{ "gradients", N_("Gradients"), GIMP_STOCK_GRADIENT,
{ "gradients", N_("Gradients"), GIMP_ICON_GRADIENT,
gradients_actions_setup,
gradients_actions_update },
{ "tool-presets", N_("Tool Presets"), GIMP_STOCK_TOOL_PRESET,
{ "tool-presets", N_("Tool Presets"), GIMP_ICON_TOOL_PRESET,
tool_presets_actions_setup,
tool_presets_actions_update },
{ "tool-preset-editor", N_("Tool Preset Editor"), GIMP_STOCK_TOOL_PRESET,
{ "tool-preset-editor", N_("Tool Preset Editor"), GIMP_ICON_TOOL_PRESET,
tool_preset_editor_actions_setup,
tool_preset_editor_actions_update },
{ "help", N_("Help"), "help-browser",
help_actions_setup,
help_actions_update },
{ "image", N_("Image"), GIMP_STOCK_IMAGE,
{ "image", N_("Image"), GIMP_ICON_IMAGE,
image_actions_setup,
image_actions_update },
{ "images", N_("Images"), GIMP_STOCK_IMAGE,
{ "images", N_("Images"), GIMP_ICON_IMAGE,
images_actions_setup,
images_actions_update },
{ "layers", N_("Layers"), GIMP_STOCK_LAYER,
{ "layers", N_("Layers"), GIMP_ICON_LAYER,
layers_actions_setup,
layers_actions_update },
{ "mypaint-brushes", N_("MyPaint Brushes"), GIMP_ICON_MYPAINT_BRUSH,
mypaint_brushes_actions_setup,
mypaint_brushes_actions_update },
{ "palette-editor", N_("Palette Editor"), GIMP_STOCK_PALETTE,
{ "palette-editor", N_("Palette Editor"), GIMP_ICON_PALETTE,
palette_editor_actions_setup,
palette_editor_actions_update },
{ "palettes", N_("Palettes"), GIMP_STOCK_PALETTE,
{ "palettes", N_("Palettes"), GIMP_ICON_PALETTE,
palettes_actions_setup,
palettes_actions_update },
{ "patterns", N_("Patterns"), GIMP_STOCK_PATTERN,
{ "patterns", N_("Patterns"), GIMP_ICON_PATTERN,
patterns_actions_setup,
patterns_actions_update },
{ "plug-in", N_("Plug-Ins"), GIMP_STOCK_PLUGIN,
{ "plug-in", N_("Plug-Ins"), GIMP_ICON_PLUGIN,
plug_in_actions_setup,
plug_in_actions_update },
{ "quick-mask", N_("Quick Mask"), GIMP_STOCK_QUICK_MASK_ON,
{ "quick-mask", N_("Quick Mask"), GIMP_ICON_QUICK_MASK_ON,
quick_mask_actions_setup,
quick_mask_actions_update },
{ "sample-points", N_("Sample Points"), GIMP_STOCK_SAMPLE_POINT,
{ "sample-points", N_("Sample Points"), GIMP_ICON_SAMPLE_POINT,
sample_points_actions_setup,
sample_points_actions_update },
{ "select", N_("Select"), GIMP_STOCK_SELECTION,
{ "select", N_("Select"), GIMP_ICON_SELECTION,
select_actions_setup,
select_actions_update },
{ "templates", N_("Templates"), GIMP_STOCK_TEMPLATE,
{ "templates", N_("Templates"), GIMP_ICON_TEMPLATE,
templates_actions_setup,
templates_actions_update },
{ "text-tool", N_("Text Tool"), "gtk-edit",
{ "text-tool", N_("Text Tool"), GIMP_ICON_EDIT,
text_tool_actions_setup,
text_tool_actions_update },
{ "text-editor", N_("Text Editor"), "gtk-edit",
{ "text-editor", N_("Text Editor"), GIMP_ICON_EDIT,
text_editor_actions_setup,
text_editor_actions_update },
{ "tool-options", N_("Tool Options"), GIMP_STOCK_TOOL_OPTIONS,
{ "tool-options", N_("Tool Options"), GIMP_ICON_DIALOG_TOOL_OPTIONS,
tool_options_actions_setup,
tool_options_actions_update },
{ "tools", N_("Tools"), GIMP_STOCK_TOOLS,
{ "tools", N_("Tools"), GIMP_ICON_DIALOG_TOOLS,
tools_actions_setup,
tools_actions_update },
{ "vectors", N_("Paths"), GIMP_STOCK_PATH,
{ "vectors", N_("Paths"), GIMP_ICON_PATH,
vectors_actions_setup,
vectors_actions_update },
{ "view", N_("View"), GIMP_STOCK_VISIBLE,
{ "view", N_("View"), GIMP_ICON_VISIBLE,
view_actions_setup,
view_actions_update },
{ "windows", N_("Windows"), NULL,

View File

@ -39,14 +39,14 @@
static const GimpActionEntry brush_editor_actions[] =
{
{ "brush-editor-popup", GIMP_STOCK_BRUSH,
{ "brush-editor-popup", GIMP_ICON_BRUSH,
NC_("brush-editor-action", "Brush Editor Menu"), NULL, NULL, NULL,
GIMP_HELP_BRUSH_EDITOR_DIALOG }
};
static const GimpToggleActionEntry brush_editor_toggle_actions[] =
{
{ "brush-editor-edit-active", GIMP_STOCK_LINKED,
{ "brush-editor-edit-active", GIMP_ICON_LINKED,
NC_("brush-editor-action", "Edit Active Brush"), NULL, NULL,
G_CALLBACK (data_editor_edit_active_cmd_callback),
FALSE,

View File

@ -39,29 +39,29 @@
static const GimpActionEntry brushes_actions[] =
{
{ "brushes-popup", GIMP_STOCK_BRUSH,
{ "brushes-popup", GIMP_ICON_BRUSH,
NC_("brushes-action", "Brushes Menu"), NULL, NULL, NULL,
GIMP_HELP_BRUSH_DIALOG },
{ "brushes-open-as-image", "document-open",
{ "brushes-open-as-image", GIMP_ICON_DOCUMENT_OPEN,
NC_("brushes-action", "_Open Brush as Image"), NULL,
NC_("brushes-action", "Open brush as image"),
G_CALLBACK (data_open_as_image_cmd_callback),
GIMP_HELP_BRUSH_OPEN_AS_IMAGE },
{ "brushes-new", "document-new",
{ "brushes-new", GIMP_ICON_DOCUMENT_NEW,
NC_("brushes-action", "_New Brush"), NULL,
NC_("brushes-action", "Create a new brush"),
G_CALLBACK (data_new_cmd_callback),
GIMP_HELP_BRUSH_NEW },
{ "brushes-duplicate", GIMP_STOCK_DUPLICATE,
{ "brushes-duplicate", GIMP_ICON_OBJECT_DUPLICATE,
NC_("brushes-action", "D_uplicate Brush"), NULL,
NC_("brushes-action", "Duplicate this brush"),
G_CALLBACK (data_duplicate_cmd_callback),
GIMP_HELP_BRUSH_DUPLICATE },
{ "brushes-copy-location", "edit-copy",
{ "brushes-copy-location", GIMP_ICON_EDIT_COPY,
NC_("brushes-action", "Copy Brush _Location"), NULL,
NC_("brushes-action", "Copy brush file location to clipboard"),
G_CALLBACK (data_copy_location_cmd_callback),
@ -73,13 +73,13 @@ static const GimpActionEntry brushes_actions[] =
G_CALLBACK (data_show_in_file_manager_cmd_callback),
GIMP_HELP_BRUSH_SHOW_IN_FILE_MANAGER },
{ "brushes-delete", "edit-delete",
{ "brushes-delete", GIMP_ICON_EDIT_DELETE,
NC_("brushes-action", "_Delete Brush"), NULL,
NC_("brushes-action", "Delete this brush"),
G_CALLBACK (data_delete_cmd_callback),
GIMP_HELP_BRUSH_DELETE },
{ "brushes-refresh", "view-refresh",
{ "brushes-refresh", GIMP_ICON_VIEW_REFRESH,
NC_("brushes-action", "_Refresh Brushes"), NULL,
NC_("brushes-action", "Refresh brushes"),
G_CALLBACK (data_refresh_cmd_callback),
@ -88,7 +88,7 @@ static const GimpActionEntry brushes_actions[] =
static const GimpStringActionEntry brushes_edit_actions[] =
{
{ "brushes-edit", "gtk-edit",
{ "brushes-edit", GIMP_ICON_EDIT,
NC_("brushes-action", "_Edit Brush..."), NULL,
NC_("brushes-action", "Edit this brush"),
"gimp-brush-editor",

View File

@ -38,35 +38,35 @@
static const GimpActionEntry buffers_actions[] =
{
{ "buffers-popup", GIMP_STOCK_BUFFER,
{ "buffers-popup", GIMP_ICON_BUFFER,
NC_("buffers-action", "Buffers Menu"), NULL, NULL, NULL,
GIMP_HELP_BUFFER_DIALOG },
{ "buffers-paste", "edit-paste",
{ "buffers-paste", GIMP_ICON_EDIT_PASTE,
NC_("buffers-action", "_Paste Buffer"), NULL,
NC_("buffers-action", "Paste the selected buffer"),
G_CALLBACK (buffers_paste_cmd_callback),
GIMP_HELP_BUFFER_PASTE },
{ "buffers-paste-into", GIMP_STOCK_PASTE_INTO,
{ "buffers-paste-into", GIMP_ICON_EDIT_PASTE_INTO,
NC_("buffers-action", "Paste Buffer _Into"), NULL,
NC_("buffers-action", "Paste the selected buffer into the selection"),
G_CALLBACK (buffers_paste_into_cmd_callback),
GIMP_HELP_BUFFER_PASTE_INTO },
{ "buffers-paste-as-new-layer", GIMP_STOCK_PASTE_AS_NEW,
{ "buffers-paste-as-new-layer", GIMP_ICON_EDIT_PASTE_AS_NEW,
NC_("buffers-action", "Paste Buffer as New _Layer"), NULL,
NC_("buffers-action", "Paste the selected buffer as a new layer"),
G_CALLBACK (buffers_paste_as_new_layer_cmd_callback),
GIMP_HELP_BUFFER_PASTE_AS_NEW_LAYER },
{ "buffers-paste-as-new-image", GIMP_STOCK_PASTE_AS_NEW,
{ "buffers-paste-as-new-image", GIMP_ICON_EDIT_PASTE_AS_NEW,
NC_("buffers-action", "Paste Buffer as _New Image"), NULL,
NC_("buffers-action", "Paste the selected buffer as a new image"),
G_CALLBACK (buffers_paste_as_new_image_cmd_callback),
GIMP_HELP_BUFFER_PASTE_AS_NEW_IMAGE },
{ "buffers-delete", "edit-delete",
{ "buffers-delete", GIMP_ICON_EDIT_DELETE,
NC_("buffers-action", "_Delete Buffer"), NULL,
NC_("buffers-action", "Delete the selected buffer"),
G_CALLBACK (buffers_delete_cmd_callback),

View File

@ -41,65 +41,65 @@
static const GimpActionEntry channels_actions[] =
{
{ "channels-popup", GIMP_STOCK_CHANNELS,
{ "channels-popup", GIMP_ICON_DIALOG_CHANNELS,
NC_("channels-action", "Channels Menu"), NULL, NULL, NULL,
GIMP_HELP_CHANNEL_DIALOG },
{ "channels-color-tag-menu", GIMP_STOCK_CLOSE /* abused */,
{ "channels-color-tag-menu", GIMP_ICON_CLOSE /* abused */,
NC_("channels-action", "Color Tag"), NULL, NULL, NULL,
GIMP_HELP_CHANNEL_COLOR_TAG },
{ "channels-edit-attributes", "gtk-edit",
{ "channels-edit-attributes", GIMP_ICON_EDIT,
NC_("channels-action", "_Edit Channel Attributes..."), NULL,
NC_("channels-action", "Edit the channel's name, color and opacity"),
G_CALLBACK (channels_edit_attributes_cmd_callback),
GIMP_HELP_CHANNEL_EDIT },
{ "channels-new", "document-new",
{ "channels-new", GIMP_ICON_DOCUMENT_NEW,
NC_("channels-action", "_New Channel..."), NULL,
NC_("channels-action", "Create a new channel"),
G_CALLBACK (channels_new_cmd_callback),
GIMP_HELP_CHANNEL_NEW },
{ "channels-new-last-values", "document-new",
{ "channels-new-last-values", GIMP_ICON_DOCUMENT_NEW,
NC_("channels-action", "_New Channel"), NULL,
NC_("channels-action", "Create a new channel with last used values"),
G_CALLBACK (channels_new_last_vals_cmd_callback),
GIMP_HELP_CHANNEL_NEW },
{ "channels-duplicate", GIMP_STOCK_DUPLICATE,
{ "channels-duplicate", GIMP_ICON_OBJECT_DUPLICATE,
NC_("channels-action", "D_uplicate Channel"), NULL,
NC_("channels-action",
"Create a duplicate of this channel and add it to the image"),
G_CALLBACK (channels_duplicate_cmd_callback),
GIMP_HELP_CHANNEL_DUPLICATE },
{ "channels-delete", "edit-delete",
{ "channels-delete", GIMP_ICON_EDIT_DELETE,
NC_("channels-action", "_Delete Channel"), NULL,
NC_("channels-action", "Delete this channel"),
G_CALLBACK (channels_delete_cmd_callback),
GIMP_HELP_CHANNEL_DELETE },
{ "channels-raise", "go-up",
{ "channels-raise", GIMP_ICON_GO_UP,
NC_("channels-action", "_Raise Channel"), NULL,
NC_("channels-action", "Raise this channel one step in the channel stack"),
G_CALLBACK (channels_raise_cmd_callback),
GIMP_HELP_CHANNEL_RAISE },
{ "channels-raise-to-top", "go-top",
{ "channels-raise-to-top", GIMP_ICON_GO_TOP,
NC_("channels-action", "Raise Channel to _Top"), NULL,
NC_("channels-action",
"Raise this channel to the top of the channel stack"),
G_CALLBACK (channels_raise_to_top_cmd_callback),
GIMP_HELP_CHANNEL_RAISE_TO_TOP },
{ "channels-lower", "go-down",
{ "channels-lower", GIMP_ICON_GO_DOWN,
NC_("channels-action", "_Lower Channel"), NULL,
NC_("channels-action", "Lower this channel one step in the channel stack"),
G_CALLBACK (channels_lower_cmd_callback),
GIMP_HELP_CHANNEL_LOWER },
{ "channels-lower-to-bottom", "go-bottom",
{ "channels-lower-to-bottom", GIMP_ICON_GO_BOTTOM,
NC_("channels-action", "Lower Channel to _Bottom"), NULL,
NC_("channels-action",
"Lower this channel to the bottom of the channel stack"),
@ -109,25 +109,25 @@ static const GimpActionEntry channels_actions[] =
static const GimpToggleActionEntry channels_toggle_actions[] =
{
{ "channels-visible", GIMP_STOCK_VISIBLE,
{ "channels-visible", GIMP_ICON_VISIBLE,
NC_("channels-action", "_Visible"), NULL, NULL,
G_CALLBACK (channels_visible_cmd_callback),
FALSE,
GIMP_HELP_CHANNEL_VISIBLE },
{ "channels-linked", GIMP_STOCK_LINKED,
{ "channels-linked", GIMP_ICON_LINKED,
NC_("channels-action", "_Linked"), NULL, NULL,
G_CALLBACK (channels_linked_cmd_callback),
FALSE,
GIMP_HELP_CHANNEL_LINKED },
{ "channels-lock-content", NULL /* GIMP_STOCK_LOCK */,
{ "channels-lock-content", NULL /* GIMP_ICON_LOCK */,
NC_("channels-action", "L_ock pixels"), NULL, NULL,
G_CALLBACK (channels_lock_content_cmd_callback),
FALSE,
GIMP_HELP_CHANNEL_LOCK_PIXELS },
{ "channels-lock-position", GIMP_STOCK_TOOL_MOVE,
{ "channels-lock-position", GIMP_ICON_TOOL_MOVE,
NC_("channels-action", "L_ock position"), NULL, NULL,
G_CALLBACK (channels_lock_position_cmd_callback),
FALSE,
@ -136,7 +136,7 @@ static const GimpToggleActionEntry channels_toggle_actions[] =
static const GimpEnumActionEntry channels_color_tag_actions[] =
{
{ "channels-color-tag-none", GIMP_STOCK_CLOSE /* abused */,
{ "channels-color-tag-none", GIMP_ICON_CLOSE /* abused */,
NC_("channels-action", "None"), NULL,
NC_("channels-action", "Clear color tag"),
GIMP_COLOR_TAG_NONE, FALSE,
@ -193,25 +193,25 @@ static const GimpEnumActionEntry channels_color_tag_actions[] =
static const GimpEnumActionEntry channels_to_selection_actions[] =
{
{ "channels-selection-replace", GIMP_STOCK_SELECTION_REPLACE,
{ "channels-selection-replace", GIMP_ICON_SELECTION_REPLACE,
NC_("channels-action", "Channel to Sele_ction"), NULL,
NC_("channels-action", "Replace the selection with this channel"),
GIMP_CHANNEL_OP_REPLACE, FALSE,
GIMP_HELP_CHANNEL_SELECTION_REPLACE },
{ "channels-selection-add", GIMP_STOCK_SELECTION_ADD,
{ "channels-selection-add", GIMP_ICON_SELECTION_ADD,
NC_("channels-action", "_Add to Selection"), NULL,
NC_("channels-action", "Add this channel to the current selection"),
GIMP_CHANNEL_OP_ADD, FALSE,
GIMP_HELP_CHANNEL_SELECTION_ADD },
{ "channels-selection-subtract", GIMP_STOCK_SELECTION_SUBTRACT,
{ "channels-selection-subtract", GIMP_ICON_SELECTION_SUBTRACT,
NC_("channels-action", "_Subtract from Selection"), NULL,
NC_("channels-action", "Subtract this channel from the current selection"),
GIMP_CHANNEL_OP_SUBTRACT, FALSE,
GIMP_HELP_CHANNEL_SELECTION_SUBTRACT },
{ "channels-selection-intersect", GIMP_STOCK_SELECTION_INTERSECT,
{ "channels-selection-intersect", GIMP_ICON_SELECTION_INTERSECT,
NC_("channels-action", "_Intersect with Selection"), NULL,
NC_("channels-action", "Intersect this channel with the current selection"),
GIMP_CHANNEL_OP_INTERSECT, FALSE,

View File

@ -110,7 +110,7 @@ channels_edit_attributes_cmd_callback (GtkAction *action,
widget,
_("Channel Attributes"),
"gimp-channel-edit",
"gtk-edit",
GIMP_ICON_EDIT,
_("Edit Channel Attributes"),
GIMP_HELP_CHANNEL_EDIT,
_("Edit Channel Color"),
@ -155,7 +155,7 @@ channels_new_cmd_callback (GtkAction *action,
widget,
_("New Channel"),
"gimp-channel-new",
GIMP_STOCK_CHANNEL,
GIMP_ICON_CHANNEL,
_("Create a New Channel"),
GIMP_HELP_CHANNEL_NEW,
_("New Channel Color"),

View File

@ -41,11 +41,11 @@
static const GimpActionEntry colormap_actions[] =
{
{ "colormap-popup", GIMP_STOCK_COLORMAP,
{ "colormap-popup", GIMP_ICON_COLORMAP,
NC_("colormap-action", "Colormap Menu"), NULL, NULL, NULL,
GIMP_HELP_INDEXED_PALETTE_DIALOG },
{ "colormap-edit-color", "gtk-edit",
{ "colormap-edit-color", GIMP_ICON_EDIT,
NC_("colormap-action", "_Edit Color..."), NULL,
NC_("colormap-action", "Edit this color"),
G_CALLBACK (colormap_edit_color_cmd_callback),
@ -54,13 +54,13 @@ static const GimpActionEntry colormap_actions[] =
static const GimpEnumActionEntry colormap_add_color_actions[] =
{
{ "colormap-add-color-from-fg", "list-add",
{ "colormap-add-color-from-fg", GIMP_ICON_LIST_ADD,
NC_("colormap-action", "_Add Color from FG"), "",
NC_("colormap-action", "Add current foreground color"),
FALSE, FALSE,
GIMP_HELP_INDEXED_PALETTE_ADD },
{ "colormap-add-color-from-bg", "list-add",
{ "colormap-add-color-from-bg", GIMP_ICON_LIST_ADD,
NC_("colormap-action", "_Add Color from BG"), "",
NC_("colormap-action", "Add current background color"),
TRUE, FALSE,
@ -69,25 +69,25 @@ static const GimpEnumActionEntry colormap_add_color_actions[] =
static const GimpEnumActionEntry colormap_to_selection_actions[] =
{
{ "colormap-selection-replace", GIMP_STOCK_SELECTION_REPLACE,
{ "colormap-selection-replace", GIMP_ICON_SELECTION_REPLACE,
NC_("colormap-action", "_Select this Color"), NULL,
NC_("colormap-action", "Select all pixels with this color"),
GIMP_CHANNEL_OP_REPLACE, FALSE,
GIMP_HELP_INDEXED_PALETTE_SELECTION_REPLACE },
{ "colormap-selection-add", GIMP_STOCK_SELECTION_ADD,
{ "colormap-selection-add", GIMP_ICON_SELECTION_ADD,
NC_("colormap-action", "_Add to Selection"), NULL,
NC_("colormap-action", "Add all pixels with this color to the current selection"),
GIMP_CHANNEL_OP_ADD, FALSE,
GIMP_HELP_INDEXED_PALETTE_SELECTION_ADD },
{ "colormap-selection-subtract", GIMP_STOCK_SELECTION_SUBTRACT,
{ "colormap-selection-subtract", GIMP_ICON_SELECTION_SUBTRACT,
NC_("colormap-action", "_Subtract from Selection"), NULL,
NC_("colormap-action", "Subtract all pixels with this color from the current selection"),
GIMP_CHANNEL_OP_SUBTRACT, FALSE,
GIMP_HELP_INDEXED_PALETTE_SELECTION_SUBTRACT },
{ "colormap-selection-intersect", GIMP_STOCK_SELECTION_INTERSECT,
{ "colormap-selection-intersect", GIMP_ICON_SELECTION_INTERSECT,
NC_("colormap-action", "_Intersect with Selection"), NULL,
NC_("colormap-action", "Intersect all pixels with this color with the current selection"),
GIMP_CHANNEL_OP_INTERSECT, FALSE,

View File

@ -79,7 +79,7 @@ colormap_edit_color_cmd_callback (GtkAction *action,
gimp_color_dialog_new (GIMP_VIEWABLE (image),
action_data_get_context (data),
_("Edit Colormap Entry"),
GIMP_STOCK_COLORMAP,
GIMP_ICON_COLORMAP,
desc,
GTK_WIDGET (editor),
gimp_dialog_factory_get_singleton (),

File diff suppressed because it is too large Load Diff

View File

@ -37,7 +37,7 @@
static const GimpActionEntry cursor_info_actions[] =
{
{ "cursor-info-popup", GIMP_STOCK_CURSOR,
{ "cursor-info-popup", GIMP_ICON_CURSOR,
NC_("cursor-info-action", "Pointer Information Menu"), NULL, NULL, NULL,
GIMP_HELP_POINTER_INFO_DIALOG }
};

View File

@ -49,13 +49,13 @@ const GimpStringActionEntry dialogs_dockable_actions[] =
"gimp-toolbox",
GIMP_HELP_TOOLBOX },
{ "dialogs-tool-options", GIMP_STOCK_TOOL_OPTIONS,
{ "dialogs-tool-options", GIMP_ICON_DIALOG_TOOL_OPTIONS,
NC_("dialogs-action", "Tool _Options"), NULL,
NC_("dialogs-action", "Open the tool options dialog"),
"gimp-tool-options",
GIMP_HELP_TOOL_OPTIONS_DIALOG },
{ "dialogs-device-status", GIMP_STOCK_DEVICE_STATUS,
{ "dialogs-device-status", GIMP_ICON_DIALOG_DEVICE_STATUS,
NC_("dialogs-action", "_Device Status"), NULL,
NC_("dialogs-action", "Open the device status dialog"),
"gimp-device-status",
@ -67,91 +67,91 @@ const GimpStringActionEntry dialogs_dockable_actions[] =
"gimp-symmetry-editor",
GIMP_HELP_SYMMETRY_DIALOG },
{ "dialogs-layers", GIMP_STOCK_LAYERS,
{ "dialogs-layers", GIMP_ICON_DIALOG_LAYERS,
NC_("dialogs-action", "_Layers"), "<primary>L",
NC_("dialogs-action", "Open the layers dialog"),
"gimp-layer-list",
GIMP_HELP_LAYER_DIALOG },
{ "dialogs-channels", GIMP_STOCK_CHANNELS,
{ "dialogs-channels", GIMP_ICON_DIALOG_CHANNELS,
NC_("dialogs-action", "_Channels"), NULL,
NC_("dialogs-action", "Open the channels dialog"),
"gimp-channel-list",
GIMP_HELP_CHANNEL_DIALOG },
{ "dialogs-vectors", GIMP_STOCK_PATHS,
{ "dialogs-vectors", GIMP_ICON_DIALOG_PATHS,
NC_("dialogs-action", "_Paths"), NULL,
NC_("dialogs-action", "Open the paths dialog"),
"gimp-vectors-list",
GIMP_HELP_PATH_DIALOG },
{ "dialogs-indexed-palette", GIMP_STOCK_COLORMAP,
{ "dialogs-indexed-palette", GIMP_ICON_COLORMAP,
NC_("dialogs-action", "Color_map"), NULL,
NC_("dialogs-action", "Open the colormap dialog"),
"gimp-indexed-palette",
GIMP_HELP_INDEXED_PALETTE_DIALOG },
{ "dialogs-histogram", GIMP_STOCK_HISTOGRAM,
{ "dialogs-histogram", GIMP_ICON_HISTOGRAM,
NC_("dialogs-action", "Histogra_m"), NULL,
NC_("dialogs-action", "Open the histogram dialog"),
"gimp-histogram-editor",
GIMP_HELP_HISTOGRAM_DIALOG },
{ "dialogs-selection-editor", GIMP_STOCK_SELECTION,
{ "dialogs-selection-editor", GIMP_ICON_SELECTION,
NC_("dialogs-action", "_Selection Editor"), NULL,
NC_("dialogs-action", "Open the selection editor"),
"gimp-selection-editor",
GIMP_HELP_SELECTION_DIALOG },
{ "dialogs-navigation", GIMP_STOCK_NAVIGATION,
{ "dialogs-navigation", GIMP_ICON_DIALOG_NAVIGATION,
NC_("dialogs-action", "Na_vigation"), NULL,
NC_("dialogs-action", "Open the display navigation dialog"),
"gimp-navigation-view",
GIMP_HELP_NAVIGATION_DIALOG },
{ "dialogs-undo-history", GIMP_STOCK_UNDO_HISTORY,
{ "dialogs-undo-history", GIMP_ICON_DIALOG_UNDO_HISTORY,
NC_("dialogs-action", "Undo _History"), NULL,
NC_("dialogs-action", "Open the undo history dialog"),
"gimp-undo-history",
GIMP_HELP_UNDO_DIALOG },
{ "dialogs-cursor", GIMP_STOCK_CURSOR,
{ "dialogs-cursor", GIMP_ICON_CURSOR,
NC_("dialogs-action", "Pointer"), NULL,
NC_("dialogs-action", "Open the pointer information dialog"),
"gimp-cursor-view",
GIMP_HELP_POINTER_INFO_DIALOG },
{ "dialogs-sample-points", GIMP_STOCK_SAMPLE_POINT,
{ "dialogs-sample-points", GIMP_ICON_SAMPLE_POINT,
NC_("dialogs-action", "_Sample Points"), NULL,
NC_("dialogs-action", "Open the sample points dialog"),
"gimp-sample-point-editor",
GIMP_HELP_SAMPLE_POINT_DIALOG },
{ "dialogs-colors", GIMP_STOCK_DEFAULT_COLORS,
{ "dialogs-colors", GIMP_ICON_COLORS_DEFAULT,
NC_("dialogs-action", "Colo_rs"), NULL,
NC_("dialogs-action", "Open the FG/BG color dialog"),
"gimp-color-editor",
GIMP_HELP_COLOR_DIALOG },
{ "dialogs-brushes", GIMP_STOCK_BRUSH,
{ "dialogs-brushes", GIMP_ICON_BRUSH,
NC_("dialogs-action", "_Brushes"), "<primary><shift>B",
NC_("dialogs-action", "Open the brushes dialog"),
"gimp-brush-grid|gimp-brush-list",
GIMP_HELP_BRUSH_DIALOG },
{ "dialogs-brush-editor", GIMP_STOCK_BRUSH,
{ "dialogs-brush-editor", GIMP_ICON_BRUSH,
NC_("dialogs-action", "Brush Editor"), NULL,
NC_("dialogs-action", "Open the brush editor"),
"gimp-brush-editor",
GIMP_HELP_BRUSH_EDIT },
{ "dialogs-dynamics", GIMP_STOCK_DYNAMICS,
{ "dialogs-dynamics", GIMP_ICON_DYNAMICS,
NC_("dialogs-action", "Paint Dynamics"), NULL,
NC_("dialogs-action", "Open paint dynamics dialog"),
"gimp-dynamics-list|gimp-dynamics-grid",
GIMP_HELP_DYNAMICS_DIALOG },
{ "dialogs-dynamics-editor", GIMP_STOCK_DYNAMICS,
{ "dialogs-dynamics-editor", GIMP_ICON_DYNAMICS,
NC_("dialogs-action", "Paint Dynamics Editor"), NULL,
NC_("dialogs-action", "Open the paint dynamics editor"),
"gimp-dynamics-editor",
@ -163,73 +163,73 @@ const GimpStringActionEntry dialogs_dockable_actions[] =
"gimp-mypaint-brush-grid|gimp-mapyint-brush-list",
GIMP_HELP_MYPAINT_BRUSH_DIALOG },
{ "dialogs-patterns", GIMP_STOCK_PATTERN,
{ "dialogs-patterns", GIMP_ICON_PATTERN,
NC_("dialogs-action", "P_atterns"), "<primary><shift>P",
NC_("dialogs-action", "Open the patterns dialog"),
"gimp-pattern-grid|gimp-pattern-list",
GIMP_HELP_PATTERN_DIALOG },
{ "dialogs-gradients", GIMP_STOCK_GRADIENT,
{ "dialogs-gradients", GIMP_ICON_GRADIENT,
NC_("dialogs-action", "_Gradients"), "<primary>G",
NC_("dialogs-action", "Open the gradients dialog"),
"gimp-gradient-list|gimp-gradient-grid",
GIMP_HELP_GRADIENT_DIALOG },
{ "dialogs-gradient-editor", GIMP_STOCK_GRADIENT,
{ "dialogs-gradient-editor", GIMP_ICON_GRADIENT,
NC_("dialogs-action", "Gradient Editor"), NULL,
NC_("dialogs-action", "Open the gradient editor"),
"gimp-gradient-editor",
GIMP_HELP_GRADIENT_EDIT },
{ "dialogs-palettes", GIMP_STOCK_PALETTE,
{ "dialogs-palettes", GIMP_ICON_PALETTE,
NC_("dialogs-action", "Pal_ettes"), NULL,
NC_("dialogs-action", "Open the palettes dialog"),
"gimp-palette-list|gimp-palette-grid",
GIMP_HELP_PALETTE_DIALOG },
{ "dialogs-palette-editor", GIMP_STOCK_PALETTE,
{ "dialogs-palette-editor", GIMP_ICON_PALETTE,
NC_("dialogs-action", "Palette Editor"), NULL,
NC_("dialogs-action", "Open the palette editor"),
"gimp-palette-editor",
GIMP_HELP_PALETTE_EDIT },
{ "dialogs-tool-presets", GIMP_STOCK_TOOL_PRESET,
{ "dialogs-tool-presets", GIMP_ICON_TOOL_PRESET,
NC_("dialogs-action", "Tool presets"), NULL,
NC_("dialogs-action", "Open tool presets dialog"),
"gimp-tool-preset-list|gimp-tool-preset-grid",
GIMP_HELP_TOOL_PRESET_DIALOG },
{ "dialogs-fonts", "gtk-select-font",
{ "dialogs-fonts", GIMP_ICON_FONT,
NC_("dialogs-action", "_Fonts"), NULL,
NC_("dialogs-action", "Open the fonts dialog"),
"gimp-font-list|gimp-font-grid",
GIMP_HELP_FONT_DIALOG },
{ "dialogs-buffers", GIMP_STOCK_BUFFER,
{ "dialogs-buffers", GIMP_ICON_BUFFER,
NC_("dialogs-action", "B_uffers"), "",
NC_("dialogs-action", "Open the named buffers dialog"),
"gimp-buffer-list|gimp-buffer-grid",
GIMP_HELP_BUFFER_DIALOG },
{ "dialogs-images", GIMP_STOCK_IMAGES,
{ "dialogs-images", GIMP_ICON_DIALOG_IMAGES,
NC_("dialogs-action", "_Images"), NULL,
NC_("dialogs-action", "Open the images dialog"),
"gimp-image-list|gimp-image-grid",
GIMP_HELP_IMAGE_DIALOG },
{ "dialogs-document-history", "document-open-recent",
{ "dialogs-document-history", GIMP_ICON_DOCUMENT_OPEN_RECENT,
NC_("dialogs-action", "Document Histor_y"), "",
NC_("dialogs-action", "Open the document history dialog"),
"gimp-document-list|gimp-document-grid",
GIMP_HELP_DOCUMENT_DIALOG },
{ "dialogs-templates", GIMP_STOCK_TEMPLATE,
{ "dialogs-templates", GIMP_ICON_TEMPLATE,
NC_("dialogs-action", "_Templates"), "",
NC_("dialogs-action", "Open the image templates dialog"),
"gimp-template-list|gimp-template-grid",
GIMP_HELP_TEMPLATE_DIALOG },
{ "dialogs-error-console", GIMP_STOCK_WARNING,
{ "dialogs-error-console", GIMP_ICON_DIALOG_WARNING,
NC_("dialogs-action", "Error Co_nsole"), NULL,
NC_("dialogs-action", "Open the error console"),
"gimp-error-console",
@ -240,37 +240,37 @@ gint n_dialogs_dockable_actions = G_N_ELEMENTS (dialogs_dockable_actions);
static const GimpStringActionEntry dialogs_toplevel_actions[] =
{
{ "dialogs-preferences", "preferences-system",
{ "dialogs-preferences", GIMP_ICON_PREFERENCES_SYSTEM,
NC_("dialogs-action", "_Preferences"), NULL,
NC_("dialogs-action", "Open the preferences dialog"),
"gimp-preferences-dialog",
GIMP_HELP_PREFS_DIALOG },
{ "dialogs-input-devices", GIMP_STOCK_INPUT_DEVICE,
{ "dialogs-input-devices", GIMP_ICON_INPUT_DEVICE,
NC_("dialogs-action", "_Input Devices"), NULL,
NC_("dialogs-action", "Open the input devices editor"),
"gimp-input-devices-dialog",
GIMP_HELP_INPUT_DEVICES },
{ "dialogs-keyboard-shortcuts", GIMP_STOCK_CHAR_PICKER,
{ "dialogs-keyboard-shortcuts", GIMP_ICON_CHAR_PICKER,
NC_("dialogs-action", "_Keyboard Shortcuts"), NULL,
NC_("dialogs-action", "Open the keyboard shortcuts editor"),
"gimp-keyboard-shortcuts-dialog",
GIMP_HELP_KEYBOARD_SHORTCUTS },
{ "dialogs-module-dialog", "system-run",
{ "dialogs-module-dialog", GIMP_ICON_SYSTEM_RUN,
NC_("dialogs-action", "_Modules"), NULL,
NC_("dialogs-action", "Open the module manager dialog"),
"gimp-module-dialog",
GIMP_HELP_MODULE_DIALOG },
{ "dialogs-tips", GIMP_STOCK_INFO,
{ "dialogs-tips", GIMP_ICON_DIALOG_INFORMATION,
NC_("dialogs-action", "_Tip of the Day"), NULL,
NC_("dialogs-action", "Show some helpful tips on using GIMP"),
"gimp-tips-dialog",
GIMP_HELP_TIPS_DIALOG },
{ "dialogs-about", "help-about",
{ "dialogs-about", GIMP_ICON_HELP_ABOUT,
#if defined(G_OS_WIN32)
NC_("dialogs-action", "About GIMP"),
#elif defined(PLATFORM_OSX)
@ -283,7 +283,7 @@ static const GimpStringActionEntry dialogs_toplevel_actions[] =
"gimp-about-dialog",
GIMP_HELP_ABOUT_DIALOG },
{ "dialogs-action-search", "edit-find",
{ "dialogs-action-search", GIMP_ICON_EDIT_FIND,
NC_("dialogs-action", "_Search and Run a Command"), "slash",
NC_("dialogs-action", "Search commands by keyword, and run them"),
"gimp-action-search-dialog",

View File

@ -42,11 +42,11 @@
static const GimpActionEntry dock_actions[] =
{
{ "dock-move-to-screen-menu", GIMP_STOCK_MOVE_TO_SCREEN,
{ "dock-move-to-screen-menu", GIMP_ICON_WINDOW_MOVE_TO_SCREEN,
NC_("dock-action", "M_ove to Screen"), NULL, NULL, NULL,
GIMP_HELP_DOCK_CHANGE_SCREEN },
{ "dock-close", "window-close",
{ "dock-close", GIMP_ICON_WINDOW_CLOSE,
NC_("dock-action", "Close Dock"), "", NULL,
G_CALLBACK (window_close_cmd_callback),
GIMP_HELP_DOCK_CLOSE },
@ -113,8 +113,10 @@ dock_actions_update (GimpActionGroup *group,
SET_VISIBLE ("dock-show-image-menu", TRUE);
SET_VISIBLE ("dock-auto-follow-active", TRUE);
SET_ACTIVE ("dock-show-image-menu", gimp_dock_window_get_show_image_menu (dock_window));
SET_ACTIVE ("dock-auto-follow-active", gimp_dock_window_get_auto_follow_active (dock_window));
SET_ACTIVE ("dock-show-image-menu",
gimp_dock_window_get_show_image_menu (dock_window));
SET_ACTIVE ("dock-auto-follow-active",
gimp_dock_window_get_auto_follow_active (dock_window));
}
else
{

View File

@ -62,7 +62,7 @@ static const GimpActionEntry dockable_actions[] =
G_CALLBACK (dockable_close_tab_cmd_callback),
GIMP_HELP_DOCK_TAB_CLOSE },
{ "dockable-detach-tab", GIMP_STOCK_DETACH,
{ "dockable-detach-tab", GIMP_ICON_DETACH,
NC_("dockable-action", "_Detach Tab"), "", NULL,
G_CALLBACK (dockable_detach_tab_cmd_callback),
GIMP_HELP_DOCK_TAB_DETACH }

View File

@ -38,11 +38,11 @@
static const GimpActionEntry documents_actions[] =
{
{ "documents-popup", "document-open-recent",
{ "documents-popup", GIMP_ICON_DOCUMENT_OPEN_RECENT,
NC_("documents-action", "Documents Menu"), NULL, NULL, NULL,
GIMP_HELP_DOCUMENT_DIALOG },
{ "documents-open", "document-open",
{ "documents-open", GIMP_ICON_DOCUMENT_OPEN,
NC_("documents-action", "_Open Image"), NULL,
NC_("documents-action", "Open the selected entry"),
G_CALLBACK (documents_open_cmd_callback),
@ -60,7 +60,7 @@ static const GimpActionEntry documents_actions[] =
G_CALLBACK (documents_file_open_dialog_cmd_callback),
GIMP_HELP_DOCUMENT_OPEN },
{ "documents-copy-location", "edit-copy",
{ "documents-copy-location", GIMP_ICON_EDIT_COPY,
NC_("documents-action", "Copy Image _Location"), NULL,
NC_("documents-action", "Copy image location to clipboard"),
G_CALLBACK (documents_copy_location_cmd_callback),
@ -72,7 +72,7 @@ static const GimpActionEntry documents_actions[] =
G_CALLBACK (documents_show_in_file_manager_cmd_callback),
GIMP_HELP_DOCUMENT_SHOW_IN_FILE_MANAGER },
{ "documents-remove", "list-remove",
{ "documents-remove", GIMP_ICON_LIST_REMOVE,
NC_("documents-action", "Remove _Entry"), NULL,
NC_("documents-action", "Remove the selected entry"),
G_CALLBACK (documents_remove_cmd_callback),
@ -84,7 +84,7 @@ static const GimpActionEntry documents_actions[] =
G_CALLBACK (documents_clear_cmd_callback),
GIMP_HELP_DOCUMENT_CLEAR },
{ "documents-recreate-preview", "view-refresh",
{ "documents-recreate-preview", GIMP_ICON_VIEW_REFRESH,
NC_("documents-action", "Recreate _Preview"), NULL,
NC_("documents-action", "Recreate preview"),
G_CALLBACK (documents_recreate_preview_cmd_callback),

View File

@ -47,19 +47,19 @@ static const GimpActionEntry drawable_actions[] =
G_CALLBACK (drawable_equalize_cmd_callback),
GIMP_HELP_LAYER_EQUALIZE },
{ "drawable-invert", GIMP_STOCK_INVERT,
{ "drawable-invert", GIMP_ICON_INVERT,
NC_("drawable-action", "In_vert"), NULL,
NC_("drawable-action", "Invert the colors perceptually"),
G_CALLBACK (drawable_invert_cmd_callback),
GIMP_HELP_LAYER_INVERT },
{ "drawable-linear-invert", GIMP_STOCK_INVERT,
{ "drawable-linear-invert", GIMP_ICON_INVERT,
NC_("drawable-action", "_Linear Invert"), NULL,
NC_("drawable-action", "Invert the colors in linear light"),
G_CALLBACK (drawable_linear_invert_cmd_callback),
GIMP_HELP_LAYER_INVERT },
{ "drawable-value-invert", GIMP_STOCK_GEGL,
{ "drawable-value-invert", GIMP_ICON_GEGL,
NC_("drawable-action", "_Value Invert"), NULL,
NC_("drawable-action",
"Invert the brightness of each pixel, keeping the color"),
@ -72,13 +72,13 @@ static const GimpActionEntry drawable_actions[] =
G_CALLBACK (drawable_levels_stretch_cmd_callback),
GIMP_HELP_LAYER_WHITE_BALANCE },
{ "drawable-dilate", GIMP_STOCK_GEGL,
{ "drawable-dilate", GIMP_ICON_GEGL,
NC_("drawable-action", "_Dilate"), NULL,
NC_("drawable-action", "Grow lighter areas of the image"),
G_CALLBACK (drawable_dilate_cmd_callback),
GIMP_HELP_LAYER_DILATE },
{ "drawable-erode", GIMP_STOCK_GEGL,
{ "drawable-erode", GIMP_ICON_GEGL,
NC_("drawable-action", "E_rode"), NULL,
NC_("drawable-action", "Grow darker areas of the image"),
G_CALLBACK (drawable_erode_cmd_callback),
@ -94,21 +94,21 @@ static const GimpActionEntry drawable_actions[] =
static const GimpToggleActionEntry drawable_toggle_actions[] =
{
{ "drawable-visible", GIMP_STOCK_VISIBLE,
{ "drawable-visible", GIMP_ICON_VISIBLE,
NC_("drawable-action", "_Visible"), NULL,
NC_("drawable-action", "Toggle visibility"),
G_CALLBACK (drawable_visible_cmd_callback),
FALSE,
GIMP_HELP_LAYER_VISIBLE },
{ "drawable-linked", GIMP_STOCK_LINKED,
{ "drawable-linked", GIMP_ICON_LINKED,
NC_("drawable-action", "_Linked"), NULL,
NC_("drawable-action", "Toggle the linked state"),
G_CALLBACK (drawable_linked_cmd_callback),
FALSE,
GIMP_HELP_LAYER_LINKED },
{ "drawable-lock-content", NULL /* GIMP_STOCK_LOCK */,
{ "drawable-lock-content", NULL /* GIMP_ICON_LOCK */,
NC_("drawable-action", "L_ock pixels"), NULL,
NC_("drawable-action",
"Keep the pixels on this drawable from being modified"),
@ -116,7 +116,7 @@ static const GimpToggleActionEntry drawable_toggle_actions[] =
FALSE,
GIMP_HELP_LAYER_LOCK_PIXELS },
{ "drawable-lock-position", GIMP_STOCK_TOOL_MOVE,
{ "drawable-lock-position", GIMP_ICON_TOOL_MOVE,
NC_("drawable-action", "L_ock position of channel"), NULL,
NC_("drawable-action",
"Keep the position on this drawable from being modified"),
@ -127,13 +127,13 @@ static const GimpToggleActionEntry drawable_toggle_actions[] =
static const GimpEnumActionEntry drawable_flip_actions[] =
{
{ "drawable-flip-horizontal", GIMP_STOCK_FLIP_HORIZONTAL,
{ "drawable-flip-horizontal", GIMP_ICON_OBJECT_FLIP_HORIZONTAL,
NC_("drawable-action", "Flip _Horizontally"), NULL,
NC_("drawable-action", "Flip horizontally"),
GIMP_ORIENTATION_HORIZONTAL, FALSE,
GIMP_HELP_LAYER_FLIP_HORIZONTAL },
{ "drawable-flip-vertical", GIMP_STOCK_FLIP_VERTICAL,
{ "drawable-flip-vertical", GIMP_ICON_OBJECT_FLIP_VERTICAL,
NC_("drawable-action", "Flip _Vertically"), NULL,
NC_("drawable-action", "Flip vertically"),
GIMP_ORIENTATION_VERTICAL, FALSE,
@ -142,19 +142,19 @@ static const GimpEnumActionEntry drawable_flip_actions[] =
static const GimpEnumActionEntry drawable_rotate_actions[] =
{
{ "drawable-rotate-90", GIMP_STOCK_ROTATE_90,
{ "drawable-rotate-90", GIMP_ICON_OBJECT_ROTATE_90,
NC_("drawable-action", "Rotate 90° _clockwise"), NULL,
NC_("drawable-action", "Rotate 90 degrees to the right"),
GIMP_ROTATE_90, FALSE,
GIMP_HELP_LAYER_ROTATE_90 },
{ "drawable-rotate-180", GIMP_STOCK_ROTATE_180,
{ "drawable-rotate-180", GIMP_ICON_OBJECT_ROTATE_180,
NC_("drawable-action", "Rotate _180°"), NULL,
NC_("drawable-action", "Turn upside-down"),
GIMP_ROTATE_180, FALSE,
GIMP_HELP_LAYER_ROTATE_180 },
{ "drawable-rotate-270", GIMP_STOCK_ROTATE_270,
{ "drawable-rotate-270", GIMP_ICON_OBJECT_ROTATE_270,
NC_("drawable-action", "Rotate 90° counter-clock_wise"), NULL,
NC_("drawable-action", "Rotate 90 degrees to the left"),
GIMP_ROTATE_270, FALSE,

View File

@ -39,23 +39,23 @@
static const GimpActionEntry dynamics_actions[] =
{
{ "dynamics-popup", GIMP_STOCK_DYNAMICS,
{ "dynamics-popup", GIMP_ICON_DYNAMICS,
NC_("dynamics-action", "Paint Dynamics Menu"), NULL, NULL, NULL,
GIMP_HELP_DYNAMICS_DIALOG },
{ "dynamics-new", "document-new",
{ "dynamics-new", GIMP_ICON_DOCUMENT_NEW,
NC_("dynamics-action", "_New Dynamics"), NULL,
NC_("dynamics-action", "Create a new dynamics"),
G_CALLBACK (data_new_cmd_callback),
GIMP_HELP_DYNAMICS_NEW },
{ "dynamics-duplicate", GIMP_STOCK_DUPLICATE,
{ "dynamics-duplicate", GIMP_ICON_OBJECT_DUPLICATE,
NC_("dynamics-action", "D_uplicate Dynamics"), NULL,
NC_("dynamics-action", "Duplicate this dynamics"),
G_CALLBACK (data_duplicate_cmd_callback),
GIMP_HELP_DYNAMICS_DUPLICATE },
{ "dynamics-copy-location", "edit-copy",
{ "dynamics-copy-location", GIMP_ICON_EDIT_COPY,
NC_("dynamics-action", "Copy Dynamics _Location"), NULL,
NC_("dynamics-action", "Copy dynamics file location to clipboard"),
G_CALLBACK (data_copy_location_cmd_callback),
@ -67,13 +67,13 @@ static const GimpActionEntry dynamics_actions[] =
G_CALLBACK (data_show_in_file_manager_cmd_callback),
GIMP_HELP_DYNAMICS_SHOW_IN_FILE_MANAGER },
{ "dynamics-delete", "edit-delete",
{ "dynamics-delete", GIMP_ICON_EDIT_DELETE,
NC_("dynamics-action", "_Delete Dynamics"), NULL,
NC_("dynamics-action", "Delete this dynamics"),
G_CALLBACK (data_delete_cmd_callback),
GIMP_HELP_DYNAMICS_DELETE },
{ "dynamics-refresh", "view-refresh",
{ "dynamics-refresh", GIMP_ICON_VIEW_REFRESH,
NC_("dynamics-action", "_Refresh Dynamics"), NULL,
NC_("dynamics-action", "Refresh dynamics"),
G_CALLBACK (data_refresh_cmd_callback),
@ -82,7 +82,7 @@ static const GimpActionEntry dynamics_actions[] =
static const GimpStringActionEntry dynamics_edit_actions[] =
{
{ "dynamics-edit", "gtk-edit",
{ "dynamics-edit", GIMP_ICON_EDIT,
NC_("dynamics-action", "_Edit Dynamics..."), NULL,
NC_("dynamics-action", "Edit this dynamics"),
"gimp-dynamics-editor",

View File

@ -39,7 +39,7 @@
static const GimpActionEntry dynamics_editor_actions[] =
{
{ "dynamics-editor-popup", GIMP_STOCK_DYNAMICS,
{ "dynamics-editor-popup", GIMP_ICON_DYNAMICS,
NC_("dynamics-editor-action", "Paint Dynamics Editor Menu"), NULL, NULL, NULL,
GIMP_HELP_BRUSH_EDITOR_DIALOG }
};
@ -47,7 +47,7 @@ static const GimpActionEntry dynamics_editor_actions[] =
static const GimpToggleActionEntry dynamics_editor_toggle_actions[] =
{
{ "dynamics-editor-edit-active", GIMP_STOCK_LINKED,
{ "dynamics-editor-edit-active", GIMP_ICON_LINKED,
NC_("dynamics-editor-action", "Edit Active Dynamics"), NULL, NULL,
G_CALLBACK (data_editor_edit_active_cmd_callback),
FALSE,

View File

@ -70,25 +70,25 @@ static const GimpActionEntry edit_actions[] =
"edit-undo", NC_("edit-action", "Undo History Menu"), NULL, NULL, NULL,
GIMP_HELP_UNDO_DIALOG },
{ "edit-undo", "edit-undo",
{ "edit-undo", GIMP_ICON_EDIT_UNDO,
NC_("edit-action", "_Undo"), "<primary>Z",
NC_("edit-action", "Undo the last operation"),
G_CALLBACK (edit_undo_cmd_callback),
GIMP_HELP_EDIT_UNDO },
{ "edit-redo", "edit-redo",
{ "edit-redo", GIMP_ICON_EDIT_REDO,
NC_("edit-action", "_Redo"), "<primary>Y",
NC_("edit-action", "Redo the last operation that was undone"),
G_CALLBACK (edit_redo_cmd_callback),
GIMP_HELP_EDIT_REDO },
{ "edit-strong-undo", "edit-undo",
{ "edit-strong-undo", GIMP_ICON_EDIT_UNDO,
NC_("edit-action", "Strong Undo"), "<primary><shift>Z",
NC_("edit-action", "Undo the last operation, skipping visibility changes"),
G_CALLBACK (edit_strong_undo_cmd_callback),
GIMP_HELP_EDIT_STRONG_UNDO },
{ "edit-strong-redo", "edit-redo",
{ "edit-strong-redo", GIMP_ICON_EDIT_REDO,
NC_("edit-action", "Strong Redo"), "<primary><shift>Y",
NC_("edit-action",
"Redo the last operation that was undone, skipping visibility changes"),
@ -101,38 +101,38 @@ static const GimpActionEntry edit_actions[] =
G_CALLBACK (edit_undo_clear_cmd_callback),
GIMP_HELP_EDIT_UNDO_CLEAR },
{ "edit-fade", "edit-undo",
{ "edit-fade", GIMP_ICON_EDIT_UNDO,
NC_("edit-action", "_Fade..."), NULL,
NC_("edit-action",
"Modify paint mode and opacity of the last pixel manipulation"),
G_CALLBACK (edit_fade_cmd_callback),
GIMP_HELP_EDIT_FADE },
{ "edit-cut", "edit-cut",
{ "edit-cut", GIMP_ICON_EDIT_CUT,
NC_("edit-action", "Cu_t"), "<primary>X",
NC_("edit-action", "Move the selected pixels to the clipboard"),
G_CALLBACK (edit_cut_cmd_callback),
GIMP_HELP_EDIT_CUT },
{ "edit-copy", "edit-copy",
{ "edit-copy", GIMP_ICON_EDIT_COPY,
NC_("edit-action", "_Copy"), "<primary>C",
NC_("edit-action", "Copy the selected pixels to the clipboard"),
G_CALLBACK (edit_copy_cmd_callback),
GIMP_HELP_EDIT_COPY },
{ "edit-copy-visible", NULL, /* GIMP_STOCK_COPY_VISIBLE, */
{ "edit-copy-visible", NULL, /* GIMP_ICON_COPY_VISIBLE, */
NC_("edit-action", "Copy _Visible"), "<primary><shift>C",
NC_("edit-action", "Copy what is visible in the selected region"),
G_CALLBACK (edit_copy_visible_cmd_callback),
GIMP_HELP_EDIT_COPY_VISIBLE },
{ "edit-paste", "edit-paste",
{ "edit-paste", GIMP_ICON_EDIT_PASTE,
NC_("edit-action", "_Paste"), "<primary>V",
NC_("edit-action", "Paste the content of the clipboard"),
G_CALLBACK (edit_paste_cmd_callback),
GIMP_HELP_EDIT_PASTE },
{ "edit-paste-into", GIMP_STOCK_PASTE_INTO,
{ "edit-paste-into", GIMP_ICON_EDIT_PASTE_INTO,
NC_("edit-action", "Paste _Into"), NULL,
NC_("edit-action",
"Paste the content of the clipboard into the current selection"),
@ -145,44 +145,44 @@ static const GimpActionEntry edit_actions[] =
G_CALLBACK (edit_paste_as_new_layer_cmd_callback),
GIMP_HELP_EDIT_PASTE_AS_NEW_LAYER },
{ "edit-paste-as-new-image", GIMP_STOCK_PASTE_AS_NEW,
{ "edit-paste-as-new-image", GIMP_ICON_EDIT_PASTE_AS_NEW,
NC_("edit-action", "From _Clipboard"), "<primary><shift>V",
NC_("edit-action", "Create a new image from the content of the clipboard"),
G_CALLBACK (edit_paste_as_new_image_cmd_callback),
GIMP_HELP_EDIT_PASTE_AS_NEW_IMAGE },
{ "edit-paste-as-new-image-short", GIMP_STOCK_PASTE_AS_NEW,
{ "edit-paste-as-new-image-short", GIMP_ICON_EDIT_PASTE_AS_NEW,
NC_("edit-action", "_New Image"), NULL,
NC_("edit-action", "Create a new image from the content of the clipboard"),
G_CALLBACK (edit_paste_as_new_image_cmd_callback),
GIMP_HELP_EDIT_PASTE_AS_NEW_IMAGE },
{ "edit-named-cut", "edit-cut",
{ "edit-named-cut", GIMP_ICON_EDIT_CUT,
NC_("edit-action", "Cu_t Named..."), NULL,
NC_("edit-action", "Move the selected pixels to a named buffer"),
G_CALLBACK (edit_named_cut_cmd_callback),
GIMP_HELP_BUFFER_CUT },
{ "edit-named-copy", "edit-copy",
{ "edit-named-copy", GIMP_ICON_EDIT_COPY,
NC_("edit-action", "_Copy Named..."), NULL,
NC_("edit-action", "Copy the selected pixels to a named buffer"),
G_CALLBACK (edit_named_copy_cmd_callback),
GIMP_HELP_BUFFER_COPY },
{ "edit-named-copy-visible", NULL, /* GIMP_STOCK_COPY_VISIBLE, */
{ "edit-named-copy-visible", NULL, /* GIMP_ICON_COPY_VISIBLE, */
NC_("edit-action", "Copy _Visible Named..."), "",
NC_("edit-action",
"Copy what is visible in the selected region to a named buffer"),
G_CALLBACK (edit_named_copy_visible_cmd_callback),
GIMP_HELP_BUFFER_COPY },
{ "edit-named-paste", "edit-paste",
{ "edit-named-paste", GIMP_ICON_EDIT_PASTE,
NC_("edit-action", "_Paste Named..."), NULL,
NC_("edit-action", "Paste the content of a named buffer"),
G_CALLBACK (edit_named_paste_cmd_callback),
GIMP_HELP_BUFFER_PASTE },
{ "edit-clear", "edit-clear",
{ "edit-clear", GIMP_ICON_EDIT_CLEAR,
NC_("edit-action", "Cl_ear"), "Delete",
NC_("edit-action", "Clear the selected pixels"),
G_CALLBACK (edit_clear_cmd_callback),
@ -191,19 +191,19 @@ static const GimpActionEntry edit_actions[] =
static const GimpEnumActionEntry edit_fill_actions[] =
{
{ "edit-fill-fg", GIMP_STOCK_TOOL_BUCKET_FILL,
{ "edit-fill-fg", GIMP_ICON_TOOL_BUCKET_FILL,
NC_("edit-action", "Fill with _FG Color"), "<primary>comma",
NC_("edit-action", "Fill the selection using the foreground color"),
GIMP_FILL_FOREGROUND, FALSE,
GIMP_HELP_EDIT_FILL_FG },
{ "edit-fill-bg", GIMP_STOCK_TOOL_BUCKET_FILL,
{ "edit-fill-bg", GIMP_ICON_TOOL_BUCKET_FILL,
NC_("edit-action", "Fill with B_G Color"), "<primary>period",
NC_("edit-action", "Fill the selection using the background color"),
GIMP_FILL_BACKGROUND, FALSE,
GIMP_HELP_EDIT_FILL_BG },
{ "edit-fill-pattern", GIMP_STOCK_PATTERN,
{ "edit-fill-pattern", GIMP_ICON_PATTERN,
NC_("edit-action", "Fill _with Pattern"), "<primary>semicolon",
NC_("edit-action", "Fill the selection using the active pattern"),
GIMP_FILL_PATTERN, FALSE,

View File

@ -151,7 +151,8 @@ edit_undo_clear_cmd_callback (GtkAction *action,
return_if_no_image (image, data);
return_if_no_widget (widget, data);
dialog = gimp_message_dialog_new (_("Clear Undo History"), GIMP_STOCK_WARNING,
dialog = gimp_message_dialog_new (_("Clear Undo History"),
GIMP_ICON_DIALOG_WARNING,
widget,
GTK_DIALOG_MODAL |
GTK_DIALOG_DESTROY_WITH_PARENT,

View File

@ -36,11 +36,11 @@
static const GimpActionEntry error_console_actions[] =
{
{ "error-console-popup", GIMP_STOCK_WARNING,
{ "error-console-popup", GIMP_ICON_DIALOG_WARNING,
NC_("error-console-action", "Error Console Menu"), NULL, NULL, NULL,
GIMP_HELP_ERRORS_DIALOG },
{ "error-console-clear", "edit-clear",
{ "error-console-clear", GIMP_ICON_EDIT_CLEAR,
NC_("error-console-action", "_Clear"), NULL,
NC_("error-console-action", "Clear error console"),
G_CALLBACK (error_console_clear_cmd_callback),
@ -55,13 +55,13 @@ static const GimpActionEntry error_console_actions[] =
static const GimpEnumActionEntry error_console_save_actions[] =
{
{ "error-console-save-all", "document-save-as",
{ "error-console-save-all", GIMP_ICON_DOCUMENT_SAVE_AS,
NC_("error-console-action", "_Save Error Log to File..."), NULL,
NC_("error-console-action", "Write all error messages to a file"),
FALSE, FALSE,
GIMP_HELP_ERRORS_SAVE },
{ "error-console-save-selection", "document-save-as",
{ "error-console-save-selection", GIMP_ICON_DOCUMENT_SAVE_AS,
NC_("error-console-action", "Save S_election to File..."), NULL,
NC_("error-console-action", "Write the selected error messages to a file"),
TRUE, FALSE,

View File

@ -78,13 +78,13 @@ static const GimpActionEntry file_actions[] =
G_CALLBACK (file_open_cmd_callback),
GIMP_HELP_FILE_OPEN },
{ "file-open-as-layers", GIMP_STOCK_LAYER,
{ "file-open-as-layers", GIMP_ICON_LAYER,
NC_("file-action", "Op_en as Layers..."), "<primary><alt>O",
NC_("file-action", "Open an image file as layers"),
G_CALLBACK (file_open_as_layers_cmd_callback),
GIMP_HELP_FILE_OPEN_AS_LAYER },
{ "file-open-location", GIMP_STOCK_WEB,
{ "file-open-location", GIMP_ICON_WEB,
NC_("file-action", "Open _Location..."), NULL,
NC_("file-action", "Open an image file from a specified location"),
G_CALLBACK (file_open_location_cmd_callback),
@ -108,7 +108,7 @@ static const GimpActionEntry file_actions[] =
G_CALLBACK (file_close_all_cmd_callback),
GIMP_HELP_FILE_CLOSE_ALL },
{ "file-copy-location", "edit-copy",
{ "file-copy-location", GIMP_ICON_EDIT_COPY,
NC_("file-action", "Copy _Image Location"), NULL,
NC_("file-action", "Copy image file location to clipboard"),
G_CALLBACK (file_copy_location_cmd_callback),
@ -120,7 +120,7 @@ static const GimpActionEntry file_actions[] =
G_CALLBACK (file_show_in_file_manager_cmd_callback),
GIMP_HELP_FILE_SHOW_IN_FILE_MANAGER },
{ "file-quit", "application-exit",
{ "file-quit", GIMP_ICON_APPLICATION_EXIT,
NC_("file-action", "_Quit"), "<primary>Q",
NC_("file-action", "Quit the GNU Image Manipulation Program"),
G_CALLBACK (file_quit_cmd_callback),
@ -129,13 +129,13 @@ static const GimpActionEntry file_actions[] =
static const GimpEnumActionEntry file_save_actions[] =
{
{ "file-save", "document-save",
{ "file-save", GIMP_ICON_DOCUMENT_SAVE,
NC_("file-action", "_Save"), "<primary>S",
NC_("file-action", "Save this image"),
GIMP_SAVE_MODE_SAVE, FALSE,
GIMP_HELP_FILE_SAVE },
{ "file-save-as", "document-save-as",
{ "file-save-as", GIMP_ICON_DOCUMENT_SAVE_AS,
NC_("file-action", "Save _As..."), "<primary><shift>S",
NC_("file-action", "Save this image with a different name"),
GIMP_SAVE_MODE_SAVE_AS, FALSE,
@ -198,7 +198,7 @@ file_actions_setup (GimpActionGroup *group)
{
entries[i].name = g_strdup_printf ("file-open-recent-%02d",
i + 1);
entries[i].icon_name = "document-open";
entries[i].icon_name = GIMP_ICON_DOCUMENT_OPEN,
entries[i].label = entries[i].name;
entries[i].tooltip = NULL;
entries[i].value = i;

View File

@ -433,7 +433,7 @@ file_revert_cmd_callback (GtkAction *action,
if (! dialog)
{
dialog =
gimp_message_dialog_new (_("Revert Image"), "document-revert",
gimp_message_dialog_new (_("Revert Image"), GIMP_ICON_DOCUMENT_REVERT,
GTK_WIDGET (gimp_display_get_shell (display)),
0,
gimp_standard_help_func, GIMP_HELP_FILE_REVERT,

View File

@ -97,492 +97,492 @@ static const GimpActionEntry filters_menu_actions[] =
static const GimpStringActionEntry filters_actions[] =
{
{ "filters-alien-map", GIMP_STOCK_GEGL,
{ "filters-alien-map", GIMP_ICON_GEGL,
NC_("filters-action", "_Alien Map..."), NULL, NULL,
"gegl:alien-map",
GIMP_HELP_FILTER_ALIEN_MAP },
{ "filters-antialias", GIMP_STOCK_GEGL,
{ "filters-antialias", GIMP_ICON_GEGL,
NC_("filters-action", "_Antialias..."), NULL, NULL,
"gegl:antialias",
GIMP_HELP_FILTER_ANTIALIAS },
{ "filters-apply-canvas", GIMP_STOCK_GEGL,
{ "filters-apply-canvas", GIMP_ICON_GEGL,
NC_("filters-action", "_Apply Canvas..."), NULL, NULL,
"gegl:texturize-canvas",
GIMP_HELP_FILTER_APPLY_CANVAS },
{ "filters-apply-lens", GIMP_STOCK_GEGL,
{ "filters-apply-lens", GIMP_ICON_GEGL,
NC_("filters-action", "Apply _Lens..."), NULL, NULL,
"gegl:apply-lens",
GIMP_HELP_FILTER_APPLY_LENS },
{ "filters-bump-map", GIMP_STOCK_GEGL,
{ "filters-bump-map", GIMP_ICON_GEGL,
NC_("filters-action", "_Bump Map..."), NULL, NULL,
"gegl:bump-map",
GIMP_HELP_FILTER_BUMP_MAP },
{ "filters-c2g", GIMP_STOCK_GEGL,
{ "filters-c2g", GIMP_ICON_GEGL,
NC_("filters-action", "_Color to Gray..."), NULL, NULL,
"gegl:c2g",
GIMP_HELP_FILTER_C2G },
{ "filters-cartoon", GIMP_STOCK_GEGL,
{ "filters-cartoon", GIMP_ICON_GEGL,
NC_("filters-action", "Ca_rtoon..."), NULL, NULL,
"gegl:cartoon",
GIMP_HELP_FILTER_CARTOON },
{ "filters-channel-mixer", GIMP_STOCK_GEGL,
{ "filters-channel-mixer", GIMP_ICON_GEGL,
NC_("filters-action", "_Channel Mixer..."), NULL, NULL,
"gegl:channel-mixer",
GIMP_HELP_FILTER_CHANNEL_MIXER },
{ "filters-checkerboard", GIMP_STOCK_GEGL,
{ "filters-checkerboard", GIMP_ICON_GEGL,
NC_("filters-action", "_Checkerboard..."), NULL, NULL,
"gegl:checkerboard",
GIMP_HELP_FILTER_CHECKERBOARD },
{ "filters-color-enhance", GIMP_STOCK_GEGL,
{ "filters-color-enhance", GIMP_ICON_GEGL,
NC_("filters-action", "_Color Enhance..."), NULL, NULL,
"gegl:color-enhance",
GIMP_HELP_FILTER_COLOR_ENHANCE },
{ "filters-color-exchange", GIMP_STOCK_GEGL,
{ "filters-color-exchange", GIMP_ICON_GEGL,
NC_("filters-action", "_Color Exchange..."), NULL, NULL,
"gegl:color-exchange",
GIMP_HELP_FILTER_COLOR_EXCHANGE },
{ "filters-dither", GIMP_STOCK_GEGL,
{ "filters-dither", GIMP_ICON_GEGL,
NC_("filters-action", "Dithe_r..."), NULL, NULL,
"gegl:dither",
GIMP_HELP_FILTER_DITHER },
{ "filters-color-rotate", GIMP_STOCK_GEGL,
{ "filters-color-rotate", GIMP_ICON_GEGL,
NC_("filters-action", "_Rotate Colors..."), NULL, NULL,
"gegl:color-rotate",
GIMP_HELP_FILTER_COLOR_ROTATE },
{ "filters-color-temperature", GIMP_STOCK_GEGL,
{ "filters-color-temperature", GIMP_ICON_GEGL,
NC_("filters-action", "Color T_emperature..."), NULL, NULL,
"gegl:color-temperature",
GIMP_HELP_FILTER_COLOR_TEMPERATURE },
{ "filters-color-to-alpha", GIMP_STOCK_GEGL,
{ "filters-color-to-alpha", GIMP_ICON_GEGL,
NC_("filters-action", "Color to _Alpha..."), NULL, NULL,
"gegl:color-to-alpha",
GIMP_HELP_FILTER_COLOR_TO_ALPHA },
{ "filters-component-extract", GIMP_STOCK_GEGL,
{ "filters-component-extract", GIMP_ICON_GEGL,
NC_("filters-action", "_Extract Component..."), NULL, NULL,
"gegl:component-extract",
GIMP_HELP_FILTER_COMPONENT_EXTRACT },
{ "filters-convolution-matrix", GIMP_STOCK_GEGL,
{ "filters-convolution-matrix", GIMP_ICON_GEGL,
NC_("filters-action", "_Convolution Matrix..."), NULL, NULL,
"gegl:convolution-matrix",
GIMP_HELP_FILTER_CONVOLUTION_MATRIX },
{ "filters-cubism", GIMP_STOCK_GEGL,
{ "filters-cubism", GIMP_ICON_GEGL,
NC_("filters-action", "_Cubism..."), NULL, NULL,
"gegl:cubism",
GIMP_HELP_FILTER_CUBISM },
{ "filters-deinterlace", GIMP_STOCK_GEGL,
{ "filters-deinterlace", GIMP_ICON_GEGL,
NC_("filters-action", "_Deinterlace..."), NULL, NULL,
"gegl:deinterlace",
GIMP_HELP_FILTER_DEINTERLACE },
{ "filters-desaturate", GIMP_STOCK_TOOL_DESATURATE,
{ "filters-desaturate", GIMP_ICON_TOOL_DESATURATE,
NC_("filters-action", "_Desaturate..."), NULL, NULL,
"gimp:desaturate",
GIMP_HELP_FILTER_DESATURATE },
{ "filters-difference-of-gaussians", GIMP_STOCK_GEGL,
{ "filters-difference-of-gaussians", GIMP_ICON_GEGL,
NC_("filters-action", "Difference of Gaussians..."), NULL, NULL,
"gegl:difference-of-gaussians",
GIMP_HELP_FILTER_DIFFERENCE_OF_GAUSSIANS },
{ "filters-diffraction-patterns", GIMP_STOCK_GEGL,
{ "filters-diffraction-patterns", GIMP_ICON_GEGL,
NC_("filters-action", "Diffraction Patterns..."), NULL, NULL,
"gegl:diffraction-patterns",
GIMP_HELP_FILTER_DIFFRACTION_PATTERNS },
{ "filters-displace", GIMP_STOCK_GEGL,
{ "filters-displace", GIMP_ICON_GEGL,
NC_("filters-action", "Displace..."), NULL, NULL,
"gegl:displace",
GIMP_HELP_FILTER_DISPLACE },
{ "filters-distance-map", GIMP_STOCK_GEGL,
{ "filters-distance-map", GIMP_ICON_GEGL,
NC_("filters-action", "Distance Map..."), NULL, NULL,
"gegl:distance-transform",
GIMP_HELP_FILTER_DISTANCE_MAP },
{ "filters-dropshadow", GIMP_STOCK_GEGL,
{ "filters-dropshadow", GIMP_ICON_GEGL,
NC_("filters-action", "_Drop Shadow..."), NULL, NULL,
"gegl:dropshadow",
GIMP_HELP_FILTER_DROPSHADOW },
{ "filters-edge", GIMP_STOCK_GEGL,
{ "filters-edge", GIMP_ICON_GEGL,
NC_("filters-action", "_Edge..."), NULL, NULL,
"gegl:edge",
GIMP_HELP_FILTER_EDGE },
{ "filters-edge-laplace", GIMP_STOCK_GEGL,
{ "filters-edge-laplace", GIMP_ICON_GEGL,
NC_("filters-action", "_Laplace"), NULL, NULL,
"gegl:edge-laplace",
GIMP_HELP_FILTER_EDGE_LAPLACE },
{ "filters-edge-neon", GIMP_STOCK_GEGL,
{ "filters-edge-neon", GIMP_ICON_GEGL,
NC_("filters-action", "_Neon..."), NULL, NULL,
"gegl:edge-neon",
GIMP_HELP_FILTER_EDGE_NEON },
{ "filters-edge-sobel", GIMP_STOCK_GEGL,
{ "filters-edge-sobel", GIMP_ICON_GEGL,
NC_("filters-action", "_Sobel..."), NULL, NULL,
"gegl:edge-sobel",
GIMP_HELP_FILTER_EDGE_SOBEL },
{ "filters-emboss", GIMP_STOCK_GEGL,
{ "filters-emboss", GIMP_ICON_GEGL,
NC_("filters-action", "_Emboss..."), NULL, NULL,
"gegl:emboss",
GIMP_HELP_FILTER_EMBOSS },
{ "filters-engrave", GIMP_STOCK_GEGL,
{ "filters-engrave", GIMP_ICON_GEGL,
NC_("filters-action", "En_grave..."), NULL, NULL,
"gegl:engrave",
GIMP_HELP_FILTER_ENGRAVE },
{ "filters-exposure", GIMP_STOCK_GEGL,
{ "filters-exposure", GIMP_ICON_GEGL,
NC_("filters-action", "E_xposure..."), NULL, NULL,
"gegl:exposure",
GIMP_HELP_FILTER_EXPOSURE },
{ "filters-fattal-2002", GIMP_STOCK_GEGL,
{ "filters-fattal-2002", GIMP_ICON_GEGL,
NC_("filters-action", "_Fattal et al. 2002..."), NULL, NULL,
"gegl:fattal02",
GIMP_HELP_FILTER_FATTAL_2002 },
{ "filters-fractal-trace", GIMP_STOCK_GEGL,
{ "filters-fractal-trace", GIMP_ICON_GEGL,
NC_("filters-action", "_Fractal Trace..."), NULL, NULL,
"gegl:fractal-trace",
GIMP_HELP_FILTER_FRACTAL_TRACE },
{ "filters-gaussian-blur", GIMP_STOCK_GEGL,
{ "filters-gaussian-blur", GIMP_ICON_GEGL,
NC_("filters-action", "_Gaussian Blur..."), NULL, NULL,
"gegl:gaussian-blur",
GIMP_HELP_FILTER_GAUSSIAN_BLUR },
{ "filters-gaussian-blur-selective", GIMP_STOCK_GEGL,
{ "filters-gaussian-blur-selective", GIMP_ICON_GEGL,
NC_("filters-action", "_Selective Gaussian Blur..."), NULL, NULL,
"gegl:gaussian-blur-selective",
GIMP_HELP_FILTER_GAUSSIAN_BLUR_SELECTIVE },
{ "filters-gegl-graph", GIMP_STOCK_GEGL,
{ "filters-gegl-graph", GIMP_ICON_GEGL,
NC_("filters-action", "_GEGL graph..."), NULL, NULL,
"gegl:gegl",
GIMP_HELP_FILTER_GEGL_GRAPH },
{ "filters-grid", GIMP_STOCK_GRID,
{ "filters-grid", GIMP_ICON_GRID,
NC_("filters-action", "_Grid..."), NULL, NULL,
"gegl:grid",
GIMP_HELP_FILTER_GAUSSIAN_GRID },
{ "filters-high-pass", GIMP_STOCK_GEGL,
{ "filters-high-pass", GIMP_ICON_GEGL,
NC_("filters-action", "_High Pass..."), NULL, NULL,
"gegl:high-pass",
GIMP_HELP_FILTER_HIGH_PASS },
{ "filters-illusion", GIMP_STOCK_GEGL,
{ "filters-illusion", GIMP_ICON_GEGL,
NC_("filters-action", "_Illusion..."), NULL, NULL,
"gegl:illusion",
GIMP_HELP_FILTER_ILLUSION },
{ "filters-image-gradient", GIMP_STOCK_GEGL,
{ "filters-image-gradient", GIMP_ICON_GEGL,
NC_("filters-action", "_Image Gradient..."), NULL, NULL,
"gegl:image-gradient",
GIMP_HELP_FILTER_IMAGE_GRADIENT },
{ "filters-kaleidoscope", GIMP_STOCK_GEGL,
{ "filters-kaleidoscope", GIMP_ICON_GEGL,
NC_("filters-action", "_Kaleidoscope..."), NULL, NULL,
"gegl:mirrors",
GIMP_HELP_FILTER_KALEIDOSCOPE },
{ "filters-lens-distortion", GIMP_STOCK_GEGL,
{ "filters-lens-distortion", GIMP_ICON_GEGL,
NC_("filters-action", "Lens Distortion..."), NULL, NULL,
"gegl:lens-distortion",
GIMP_HELP_FILTER_LENS_DISTORTION },
{ "filters-lens-flare", GIMP_STOCK_GEGL,
{ "filters-lens-flare", GIMP_ICON_GEGL,
NC_("filters-action", "Lens Flare..."), NULL, NULL,
"gegl:lens-flare",
GIMP_HELP_FILTER_LENS_FLARE },
{ "filters-mantiuk-2006", GIMP_STOCK_GEGL,
{ "filters-mantiuk-2006", GIMP_ICON_GEGL,
NC_("filters-action", "_Mantiuk 2006..."), NULL, NULL,
"gegl:mantiuk06",
GIMP_HELP_FILTER_MANTIUK_2006 },
{ "filters-maze", GIMP_STOCK_GEGL,
{ "filters-maze", GIMP_ICON_GEGL,
NC_("filters-action", "_Maze..."), NULL, NULL,
"gegl:maze",
GIMP_HELP_FILTER_MAZE },
{ "filters-mono-mixer", GIMP_STOCK_GEGL,
{ "filters-mono-mixer", GIMP_ICON_GEGL,
NC_("filters-action", "_Mono Mixer..."), NULL, NULL,
"gegl:mono-mixer",
GIMP_HELP_FILTER_MONO_MIXER },
{ "filters-mosaic", GIMP_STOCK_GEGL,
{ "filters-mosaic", GIMP_ICON_GEGL,
NC_("filters-action", "_Mosaic..."), NULL, NULL,
"gegl:mosaic",
GIMP_HELP_FILTER_MOSAIC },
{ "filters-motion-blur-circular", GIMP_STOCK_GEGL,
{ "filters-motion-blur-circular", GIMP_ICON_GEGL,
NC_("filters-action", "_Circular Motion Blur..."), NULL, NULL,
"gegl:motion-blur-circular",
GIMP_HELP_FILTER_MOTION_BLUR_CIRCULAR },
{ "filters-motion-blur-linear", GIMP_STOCK_GEGL,
{ "filters-motion-blur-linear", GIMP_ICON_GEGL,
NC_("filters-action", "_Linear Motion Blur..."), NULL, NULL,
"gegl:motion-blur-linear",
GIMP_HELP_FILTER_MOTION_BLUR_LINEAR },
{ "filters-motion-blur-zoom", GIMP_STOCK_GEGL,
{ "filters-motion-blur-zoom", GIMP_ICON_GEGL,
NC_("filters-action", "_Zoom Motion Blur..."), NULL, NULL,
"gegl:motion-blur-zoom",
GIMP_HELP_FILTER_MOTION_BLUR_ZOOM },
{ "filters-noise-cell", GIMP_STOCK_GEGL,
{ "filters-noise-cell", GIMP_ICON_GEGL,
NC_("filters-action", "_Cell Noise..."), NULL, NULL,
"gegl:cell-noise",
GIMP_HELP_FILTER_NOISE_CELL },
{ "filters-noise-cie-lch", GIMP_STOCK_GEGL,
{ "filters-noise-cie-lch", GIMP_ICON_GEGL,
NC_("filters-action", "CIE lch Noise..."), NULL, NULL,
"gegl:noise-cie-lch",
GIMP_HELP_FILTER_NOISE_CIE_LCH },
{ "filters-noise-hsv", GIMP_STOCK_GEGL,
{ "filters-noise-hsv", GIMP_ICON_GEGL,
NC_("filters-action", "HSV Noise..."), NULL, NULL,
"gegl:noise-hsv",
GIMP_HELP_FILTER_NOISE_HSV },
{ "filters-noise-hurl", GIMP_STOCK_GEGL,
{ "filters-noise-hurl", GIMP_ICON_GEGL,
NC_("filters-action", "_Hurl..."), NULL, NULL,
"gegl:noise-hurl",
GIMP_HELP_FILTER_NOISE_HURL },
{ "filters-noise-perlin", GIMP_STOCK_GEGL,
{ "filters-noise-perlin", GIMP_ICON_GEGL,
NC_("filters-action", "_Perlin Noise..."), NULL, NULL,
"gegl:perlin-noise",
GIMP_HELP_FILTER_NOISE_PERLIN },
{ "filters-noise-pick", GIMP_STOCK_GEGL,
{ "filters-noise-pick", GIMP_ICON_GEGL,
NC_("filters-action", "_Pick..."), NULL, NULL,
"gegl:noise-pick",
GIMP_HELP_FILTER_NOISE_PICK },
{ "filters-noise-rgb", GIMP_STOCK_GEGL,
{ "filters-noise-rgb", GIMP_ICON_GEGL,
NC_("filters-action", "_RGB Noise..."), NULL, NULL,
"gegl:noise-rgb",
GIMP_HELP_FILTER_NOISE_RGB },
{ "filters-noise-reduction", GIMP_STOCK_GEGL,
{ "filters-noise-reduction", GIMP_ICON_GEGL,
NC_("filters-action", "Noise R_eduction..."), NULL, NULL,
"gegl:noise-reduction",
GIMP_HELP_FILTER_NOISE_REDUCTION },
{ "filters-noise-simplex", GIMP_STOCK_GEGL,
{ "filters-noise-simplex", GIMP_ICON_GEGL,
NC_("filters-action", "_Simplex Noise..."), NULL, NULL,
"gegl:simplex-noise",
GIMP_HELP_FILTER_NOISE_SIMPLEX },
{ "filters-noise-slur", GIMP_STOCK_GEGL,
{ "filters-noise-slur", GIMP_ICON_GEGL,
NC_("filters-action", "_Slur..."), NULL, NULL,
"gegl:noise-slur",
GIMP_HELP_FILTER_NOISE_SLUR },
{ "filters-noise-solid", GIMP_STOCK_GEGL,
{ "filters-noise-solid", GIMP_ICON_GEGL,
NC_("filters-action", "_Solid Noise..."), NULL, NULL,
"gegl:noise-solid",
GIMP_HELP_FILTER_NOISE_SOLID },
{ "filters-noise-spread", GIMP_STOCK_GEGL,
{ "filters-noise-spread", GIMP_ICON_GEGL,
NC_("filters-action", "Sp_read..."), NULL, NULL,
"gegl:noise-spread",
GIMP_HELP_FILTER_NOISE_SPREAD },
{ "filters-oilify", GIMP_STOCK_GEGL,
{ "filters-oilify", GIMP_ICON_GEGL,
NC_("filters-action", "Oili_fy..."), NULL, NULL,
"gegl:oilify",
GIMP_HELP_FILTER_OILIFY },
{ "filters-panorama-projection", GIMP_STOCK_GEGL,
{ "filters-panorama-projection", GIMP_ICON_GEGL,
NC_("filters-action", "_Panorama Projection..."), NULL, NULL,
"gegl:panorama-projection",
GIMP_HELP_FILTER_PANORAMA_PROJECTION },
{ "filters-photocopy", GIMP_STOCK_GEGL,
{ "filters-photocopy", GIMP_ICON_GEGL,
NC_("filters-action", "_Photocopy..."), NULL, NULL,
"gegl:photocopy",
GIMP_HELP_FILTER_PHOTOCOPY },
{ "filters-pixelize", GIMP_STOCK_GEGL,
{ "filters-pixelize", GIMP_ICON_GEGL,
NC_("filters-action", "_Pixelize..."), NULL, NULL,
"gegl:pixelize",
GIMP_HELP_FILTER_PIXELIZE },
{ "filters-plasma", GIMP_STOCK_GEGL,
{ "filters-plasma", GIMP_ICON_GEGL,
NC_("filters-action", "_Plasma..."), NULL, NULL,
"gegl:plasma",
GIMP_HELP_FILTER_PLASMA },
{ "filters-polar-coordinates", GIMP_STOCK_GEGL,
{ "filters-polar-coordinates", GIMP_ICON_GEGL,
NC_("filters-action", "P_olar Coordinates..."), NULL, NULL,
"gegl:polar-coordinates",
GIMP_HELP_FILTER_POLAR_COORDINATES },
{ "filters-posterize", GIMP_STOCK_TOOL_POSTERIZE,
{ "filters-posterize", GIMP_ICON_TOOL_POSTERIZE,
NC_("filters-action", "_Posterize..."), NULL, NULL,
"gimp:posterize",
GIMP_HELP_FILTER_POSTERIZE },
{ "filters-red-eye-removal", GIMP_STOCK_GEGL,
{ "filters-red-eye-removal", GIMP_ICON_GEGL,
NC_("filters-action", "_Red Eye Removal..."), NULL, NULL,
"gegl:red-eye-removal",
GIMP_HELP_FILTER_RED_EYE_REMOVAL },
{ "filters-reinhard-2005", GIMP_STOCK_GEGL,
{ "filters-reinhard-2005", GIMP_ICON_GEGL,
NC_("filters-action", "_Reinhard 2005..."), NULL, NULL,
"gegl:reinhard05",
GIMP_HELP_FILTER_REINHARD_2005 },
{ "filters-rgb-clip", GIMP_STOCK_GEGL,
{ "filters-rgb-clip", GIMP_ICON_GEGL,
NC_("filters-action", "RGB _Clip..."), NULL, NULL,
"gegl:rgb-clip",
GIMP_HELP_FILTER_RGB_CLIP },
{ "filters-ripple", GIMP_STOCK_GEGL,
{ "filters-ripple", GIMP_ICON_GEGL,
NC_("filters-action", "_Ripple..."), NULL, NULL,
"gegl:ripple",
GIMP_HELP_FILTER_RIPPLE },
{ "filters-saturation", GIMP_STOCK_GEGL,
{ "filters-saturation", GIMP_ICON_GEGL,
NC_("filters-action", "Sat_uration..."), NULL, NULL,
"gegl:saturation",
GIMP_HELP_FILTER_SATURATION },
{ "filters-semi-flatten", GIMP_STOCK_GEGL,
{ "filters-semi-flatten", GIMP_ICON_GEGL,
NC_("filters-action", "_Semi-Flatten..."), NULL, NULL,
"gimp:semi-flatten",
GIMP_HELP_FILTER_SEMI_FLATTEN },
{ "filters-sepia", GIMP_STOCK_GEGL,
{ "filters-sepia", GIMP_ICON_GEGL,
NC_("filters-action", "_Sepia..."), NULL, NULL,
"gegl:sepia",
GIMP_HELP_FILTER_SEPIA },
{ "filters-shift", GIMP_STOCK_GEGL,
{ "filters-shift", GIMP_ICON_GEGL,
NC_("filters-action", "_Shift..."), NULL, NULL,
"gegl:shift",
GIMP_HELP_FILTER_SHIFT },
{ "filters-sinus", GIMP_STOCK_GEGL,
{ "filters-sinus", GIMP_ICON_GEGL,
NC_("filters-action", "_Sinus..."), NULL, NULL,
"gegl:sinus",
GIMP_HELP_FILTER_SINUS },
{ "filters-slic", GIMP_STOCK_GEGL,
{ "filters-slic", GIMP_ICON_GEGL,
NC_("filters-action", "_Simple Linear Iterative Clustering..."), NULL, NULL,
"gegl:slic",
GIMP_HELP_FILTER_SLIC },
{ "filters-snn-mean", GIMP_STOCK_GEGL,
{ "filters-snn-mean", GIMP_ICON_GEGL,
NC_("filters-action", "_Symmetric Nearest Neighbor..."), NULL, NULL,
"gegl:snn-mean",
GIMP_HELP_FILTER_SNN_MEAN },
{ "filters-softglow", GIMP_STOCK_GEGL,
{ "filters-softglow", GIMP_ICON_GEGL,
NC_("filters-action", "_Softglow..."), NULL, NULL,
"gegl:softglow",
GIMP_HELP_FILTER_SOFTGLOW },
{ "filters-stretch-contrast", GIMP_STOCK_GEGL,
{ "filters-stretch-contrast", GIMP_ICON_GEGL,
NC_("filters-action", "_Stretch Contrast..."), NULL, NULL,
"gegl:stretch-contrast",
GIMP_HELP_FILTER_STRETCH_CONTRAST },
{ "filters-stretch-contrast-hsv", GIMP_STOCK_GEGL,
{ "filters-stretch-contrast-hsv", GIMP_ICON_GEGL,
NC_("filters-action", "_Stretch Contrast HSV..."), NULL, NULL,
"gegl:stretch-contrast-hsv",
GIMP_HELP_FILTER_STRETCH_CONTRAST_HSV },
{ "filters-stress", GIMP_STOCK_GEGL,
{ "filters-stress", GIMP_ICON_GEGL,
NC_("filters-action", "_Stress..."), NULL, NULL,
"gegl:stress",
GIMP_HELP_FILTER_STRESS },
{ "filters-supernova", GIMP_STOCK_GEGL,
{ "filters-supernova", GIMP_ICON_GEGL,
NC_("filters-action", "Super_nova..."), NULL, NULL,
"gegl:supernova",
GIMP_HELP_FILTER_SUPERNOVA },
{ "filters-threshold-alpha", GIMP_STOCK_GEGL,
{ "filters-threshold-alpha", GIMP_ICON_GEGL,
NC_("filters-action", "_Threshold Alpha..."), NULL, NULL,
"gimp:threshold-alpha",
GIMP_HELP_FILTER_THRESHOLD_ALPHA },
{ "filters-tile-glass", GIMP_STOCK_GEGL,
{ "filters-tile-glass", GIMP_ICON_GEGL,
NC_("filters-action", "_Glass Tile..."), NULL, NULL,
"gegl:tile-glass",
GIMP_HELP_FILTER_TILE_GLASS },
{ "filters-tile-paper", GIMP_STOCK_GEGL,
{ "filters-tile-paper", GIMP_ICON_GEGL,
NC_("filters-action", "_Paper Tile..."), NULL, NULL,
"gegl:tile-paper",
GIMP_HELP_FILTER_TILE_PAPER },
{ "filters-tile-seamless", GIMP_STOCK_GEGL,
{ "filters-tile-seamless", GIMP_ICON_GEGL,
NC_("filters-action", "_Tile Seamless..."), NULL, NULL,
"gegl:tile-seamless",
GIMP_HELP_FILTER_TILE_SEAMLESS },
{ "filters-unsharp-mask", GIMP_STOCK_GEGL,
{ "filters-unsharp-mask", GIMP_ICON_GEGL,
NC_("filters-action", "_Unsharp Mask..."), NULL, NULL,
"gegl:unsharp-mask",
GIMP_HELP_FILTER_UNSHARP_MASK },
{ "filters-value-propagate", GIMP_STOCK_GEGL,
{ "filters-value-propagate", GIMP_ICON_GEGL,
NC_("filters-action", "_Value Propagate..."), NULL, NULL,
"gegl:value-propagate",
GIMP_HELP_FILTER_VALUE_PROPAGATE },
{ "filters-video-degradation", GIMP_STOCK_GEGL,
{ "filters-video-degradation", GIMP_ICON_GEGL,
NC_("filters-action", "Vi_deo Degradation..."), NULL, NULL,
"gegl:video-degradation",
GIMP_HELP_FILTER_VIDEO_DEGRADATION },
{ "filters-vignette", GIMP_STOCK_GEGL,
{ "filters-vignette", GIMP_ICON_GEGL,
NC_("filters-action", "_Vignette..."), NULL, NULL,
"gegl:vignette",
GIMP_HELP_FILTER_VIGNETTE },
{ "filters-waterpixels", GIMP_STOCK_GEGL,
{ "filters-waterpixels", GIMP_ICON_GEGL,
NC_("filters-action", "_Waterpixels..."), NULL, NULL,
"gegl:waterpixels",
GIMP_HELP_FILTER_WATERPIXELS },
{ "filters-waves", GIMP_STOCK_GEGL,
{ "filters-waves", GIMP_ICON_GEGL,
NC_("filters-action", "_Waves..."), NULL, NULL,
"gegl:waves",
GIMP_HELP_FILTER_WAVES },
{ "filters-whirl-pinch", GIMP_STOCK_GEGL,
{ "filters-whirl-pinch", GIMP_ICON_GEGL,
NC_("filters-action", "W_hirl and Pinch..."), NULL, NULL,
"gegl:whirl-pinch",
GIMP_HELP_FILTER_WHIRL_PINCH },
{ "filters-wind", GIMP_STOCK_GEGL,
{ "filters-wind", GIMP_ICON_GEGL,
NC_("filters-action", "W_ind..."), NULL, NULL,
"gegl:wind",
GIMP_HELP_FILTER_WIND }
@ -590,14 +590,14 @@ static const GimpStringActionEntry filters_actions[] =
static const GimpEnumActionEntry filters_repeat_actions[] =
{
{ "filters-repeat", "system-run",
{ "filters-repeat", GIMP_ICON_SYSTEM_RUN,
NC_("filters-action", "Re_peat Last"), "<primary>F",
NC_("filters-action",
"Rerun the last used filter using the same settings"),
GIMP_RUN_WITH_LAST_VALS, FALSE,
GIMP_HELP_FILTER_REPEAT },
{ "filters-reshow", GIMP_STOCK_RESHOW_FILTER,
{ "filters-reshow", GIMP_ICON_DIALOG_RESHOW_FILTER,
NC_("filters-action", "R_e-Show Last"), "<primary><shift>F",
NC_("filters-action", "Show the last used filter dialog again"),
GIMP_RUN_INTERACTIVE, FALSE,

View File

@ -40,11 +40,11 @@
static const GimpActionEntry fonts_actions[] =
{
{ "fonts-popup", "gtk-select-font",
{ "fonts-popup", GIMP_ICON_FONT,
NC_("fonts-action", "Fonts Menu"), NULL, NULL, NULL,
GIMP_HELP_FONT_DIALOG },
{ "fonts-refresh", "view-refresh",
{ "fonts-refresh", GIMP_ICON_VIEW_REFRESH,
NC_("fonts-action", "_Rescan Font List"), NULL,
NC_("fonts-action", "Rescan the installed fonts"),
G_CALLBACK (fonts_refresh_cmd_callback),

View File

@ -42,22 +42,22 @@
static const GimpActionEntry gradient_editor_actions[] =
{
{ "gradient-editor-popup", GIMP_STOCK_GRADIENT,
{ "gradient-editor-popup", GIMP_ICON_GRADIENT,
NC_("gradient-editor-action", "Gradient Editor Menu"), NULL, NULL, NULL,
GIMP_HELP_GRADIENT_EDITOR_DIALOG },
{ "gradient-editor-left-color-type", NULL,
NC_("gradient-editor-action", "Left Color Type") },
{ "gradient-editor-load-left-color", "document-revert",
{ "gradient-editor-load-left-color", GIMP_ICON_DOCUMENT_REVERT,
NC_("gradient-editor-action", "_Load Left Color From") },
{ "gradient-editor-save-left-color", "document-save",
{ "gradient-editor-save-left-color", GIMP_ICON_DOCUMENT_SAVE,
NC_("gradient-editor-action", "_Save Left Color To") },
{ "gradient-editor-right-color-type", NULL,
NC_("gradient-editor-action", "Right Color Type") },
{ "gradient-editor-load-right-color", "document-revert",
{ "gradient-editor-load-right-color", GIMP_ICON_DOCUMENT_REVERT,
NC_("gradient-editor-action", "Load Right Color Fr_om") },
{ "gradient-editor-save-right-color", "document-save",
{ "gradient-editor-save-right-color", GIMP_ICON_DOCUMENT_SAVE,
NC_("gradient-editor-action", "Sa_ve Right Color To") },
{ "gradient-editor-blending-func", NULL, "blending-function" },
@ -73,12 +73,12 @@ static const GimpActionEntry gradient_editor_actions[] =
G_CALLBACK (gradient_editor_right_color_cmd_callback),
GIMP_HELP_GRADIENT_EDITOR_RIGHT_COLOR },
{ "gradient-editor-flip", GIMP_STOCK_FLIP_HORIZONTAL,
{ "gradient-editor-flip", GIMP_ICON_OBJECT_FLIP_HORIZONTAL,
"flip", NULL, NULL,
G_CALLBACK (gradient_editor_flip_cmd_callback),
GIMP_HELP_GRADIENT_EDITOR_FLIP },
{ "gradient-editor-replicate", GIMP_STOCK_DUPLICATE,
{ "gradient-editor-replicate", GIMP_ICON_OBJECT_DUPLICATE,
"replicate", NULL, NULL,
G_CALLBACK (gradient_editor_replicate_cmd_callback),
GIMP_HELP_GRADIENT_EDITOR_FLIP },
@ -93,7 +93,7 @@ static const GimpActionEntry gradient_editor_actions[] =
G_CALLBACK (gradient_editor_split_uniformly_cmd_callback),
GIMP_HELP_GRADIENT_EDITOR_SPLIT_UNIFORM },
{ "gradient-editor-delete", "edit-delete",
{ "gradient-editor-delete", GIMP_ICON_EDIT_DELETE,
"delete", "", NULL,
G_CALLBACK (gradient_editor_delete_cmd_callback),
GIMP_HELP_GRADIENT_EDITOR_DELETE },
@ -121,7 +121,7 @@ static const GimpActionEntry gradient_editor_actions[] =
static const GimpToggleActionEntry gradient_editor_toggle_actions[] =
{
{ "gradient-editor-edit-active", GIMP_STOCK_LINKED,
{ "gradient-editor-edit-active", GIMP_ICON_LINKED,
NC_("gradient-editor-action", "Edit Active Gradient"), NULL, NULL,
G_CALLBACK (data_editor_edit_active_cmd_callback),
FALSE,
@ -370,19 +370,19 @@ static const GimpRadioActionEntry gradient_editor_coloring_actions[] =
static const GimpEnumActionEntry gradient_editor_zoom_actions[] =
{
{ "gradient-editor-zoom-in", "zoom-in",
{ "gradient-editor-zoom-in", GIMP_ICON_ZOOM_IN,
N_("Zoom In"), NULL,
N_("Zoom in"),
GIMP_ZOOM_IN, FALSE,
GIMP_HELP_GRADIENT_EDITOR_ZOOM_IN },
{ "gradient-editor-zoom-out", "zoom-out",
{ "gradient-editor-zoom-out", GIMP_ICON_ZOOM_OUT,
N_("Zoom Out"), NULL,
N_("Zoom out"),
GIMP_ZOOM_OUT, FALSE,
GIMP_HELP_GRADIENT_EDITOR_ZOOM_OUT },
{ "gradient-editor-zoom-all", "zoom-fit-best",
{ "gradient-editor-zoom-all", GIMP_ICON_ZOOM_FIT_BEST,
N_("Zoom All"), NULL,
N_("Zoom all"),
GIMP_ZOOM_OUT_MAX, FALSE,

View File

@ -83,7 +83,7 @@ gradient_editor_left_color_cmd_callback (GtkAction *action,
gimp_color_dialog_new (GIMP_VIEWABLE (gradient),
GIMP_DATA_EDITOR (editor)->context,
_("Left Endpoint Color"),
GIMP_STOCK_GRADIENT,
GIMP_ICON_GRADIENT,
_("Gradient Segment's Left Endpoint Color"),
GTK_WIDGET (editor),
gimp_dialog_factory_get_singleton (),
@ -237,7 +237,7 @@ gradient_editor_right_color_cmd_callback (GtkAction *action,
gimp_color_dialog_new (GIMP_VIEWABLE (gradient),
GIMP_DATA_EDITOR (editor)->context,
_("Right Endpoint Color"),
GIMP_STOCK_GRADIENT,
GIMP_ICON_GRADIENT,
_("Gradient Segment's Right Endpoint Color"),
GTK_WIDGET (editor),
gimp_dialog_factory_get_singleton (),
@ -474,7 +474,7 @@ gradient_editor_replicate_cmd_callback (GtkAction *action,
gimp_viewable_dialog_new (GIMP_VIEWABLE (data_editor->data),
data_editor->context,
title, "gimp-gradient-segment-replicate",
GIMP_STOCK_GRADIENT, desc,
GIMP_ICON_GRADIENT, desc,
GTK_WIDGET (editor),
gimp_standard_help_func,
GIMP_HELP_GRADIENT_EDITOR_REPLICATE,
@ -576,7 +576,7 @@ gradient_editor_split_uniformly_cmd_callback (GtkAction *action,
gimp_viewable_dialog_new (GIMP_VIEWABLE (data_editor->data),
data_editor->context,
title, "gimp-gradient-segment-split-uniformly",
GIMP_STOCK_GRADIENT, desc,
GIMP_ICON_GRADIENT, desc,
GTK_WIDGET (editor),
gimp_standard_help_func,
GIMP_HELP_GRADIENT_EDITOR_SPLIT_UNIFORM,

View File

@ -40,23 +40,23 @@
static const GimpActionEntry gradients_actions[] =
{
{ "gradients-popup", GIMP_STOCK_GRADIENT,
{ "gradients-popup", GIMP_ICON_GRADIENT,
NC_("gradients-action", "Gradients Menu"), NULL, NULL, NULL,
GIMP_HELP_GRADIENT_DIALOG },
{ "gradients-new", "document-new",
{ "gradients-new", GIMP_ICON_DOCUMENT_NEW,
NC_("gradients-action", "_New Gradient"), NULL,
NC_("gradients-action", "Create a new gradient"),
G_CALLBACK (data_new_cmd_callback),
GIMP_HELP_GRADIENT_NEW },
{ "gradients-duplicate", GIMP_STOCK_DUPLICATE,
{ "gradients-duplicate", GIMP_ICON_OBJECT_DUPLICATE,
NC_("gradients-action", "D_uplicate Gradient"), NULL,
NC_("gradients-action", "Duplicate this gradient"),
G_CALLBACK (data_duplicate_cmd_callback),
GIMP_HELP_GRADIENT_DUPLICATE },
{ "gradients-copy-location", "edit-copy",
{ "gradients-copy-location", GIMP_ICON_EDIT_COPY,
NC_("gradients-action", "Copy Gradient _Location"), NULL,
NC_("gradients-action", "Copy gradient file location to clipboard"),
G_CALLBACK (data_copy_location_cmd_callback),
@ -68,19 +68,19 @@ static const GimpActionEntry gradients_actions[] =
G_CALLBACK (data_show_in_file_manager_cmd_callback),
GIMP_HELP_GRADIENT_SHOW_IN_FILE_MANAGER },
{ "gradients-save-as-pov", "document-save-as",
{ "gradients-save-as-pov", GIMP_ICON_DOCUMENT_SAVE_AS,
NC_("gradients-action", "Save as _POV-Ray..."), NULL,
NC_("gradients-action", "Save gradient as POV-Ray"),
G_CALLBACK (gradients_save_as_pov_ray_cmd_callback),
GIMP_HELP_GRADIENT_SAVE_AS_POV },
{ "gradients-delete", "edit-delete",
{ "gradients-delete", GIMP_ICON_EDIT_DELETE,
NC_("gradients-action", "_Delete Gradient"), NULL,
NC_("gradients-action", "Delete this gradient"),
G_CALLBACK (data_delete_cmd_callback),
GIMP_HELP_GRADIENT_DELETE },
{ "gradients-refresh", "view-refresh",
{ "gradients-refresh", GIMP_ICON_VIEW_REFRESH,
NC_("gradients-action", "_Refresh Gradients"), NULL,
NC_("gradients-action", "Refresh gradients"),
G_CALLBACK (data_refresh_cmd_callback),
@ -89,7 +89,7 @@ static const GimpActionEntry gradients_actions[] =
static const GimpStringActionEntry gradients_edit_actions[] =
{
{ "gradients-edit", "gtk-edit",
{ "gradients-edit", GIMP_ICON_EDIT,
NC_("gradients-action", "_Edit Gradient..."), NULL,
NC_("gradients-action", "Edit this gradient"),
"gimp-gradient-editor",

View File

@ -71,13 +71,13 @@ static const GimpActionEntry image_actions[] =
{ "colors-components-menu", NULL, NC_("image-action", "C_omponents") },
{ "colors-desaturate-menu", NULL, NC_("image-action", "D_esaturate") },
{ "image-new", "document-new",
{ "image-new", GIMP_ICON_DOCUMENT_NEW,
NC_("image-action", "_New..."), "<primary>N",
NC_("image-action", "Create a new image"),
G_CALLBACK (image_new_cmd_callback),
GIMP_HELP_FILE_NEW },
{ "image-duplicate", GIMP_STOCK_DUPLICATE,
{ "image-duplicate", GIMP_ICON_OBJECT_DUPLICATE,
NC_("image-action", "_Duplicate"), "<primary>D",
NC_("image-action", "Create a duplicate of this image"),
G_CALLBACK (image_duplicate_cmd_callback),
@ -107,7 +107,7 @@ static const GimpActionEntry image_actions[] =
G_CALLBACK (image_color_profile_save_cmd_callback),
GIMP_HELP_IMAGE_COLOR_PROFILE_SAVE },
{ "image-resize", GIMP_STOCK_RESIZE,
{ "image-resize", GIMP_ICON_OBJECT_RESIZE,
NC_("image-action", "Can_vas Size..."), NULL,
NC_("image-action", "Adjust the image dimensions"),
G_CALLBACK (image_resize_cmd_callback),
@ -125,25 +125,25 @@ static const GimpActionEntry image_actions[] =
G_CALLBACK (image_resize_to_selection_cmd_callback),
GIMP_HELP_IMAGE_RESIZE_TO_SELECTION },
{ "image-print-size", GIMP_STOCK_PRINT_RESOLUTION,
{ "image-print-size", GIMP_ICON_DOCUMENT_PRINT_RESOLUTION,
NC_("image-action", "_Print Size..."), NULL,
NC_("image-action", "Adjust the print resolution"),
G_CALLBACK (image_print_size_cmd_callback),
GIMP_HELP_IMAGE_PRINT_SIZE },
{ "image-scale", GIMP_STOCK_SCALE,
{ "image-scale", GIMP_ICON_OBJECT_SCALE,
NC_("image-action", "_Scale Image..."), NULL,
NC_("image-action", "Change the size of the image content"),
G_CALLBACK (image_scale_cmd_callback),
GIMP_HELP_IMAGE_SCALE },
{ "image-crop-to-selection", GIMP_STOCK_TOOL_CROP,
{ "image-crop-to-selection", GIMP_ICON_TOOL_CROP,
NC_("image-action", "_Crop to Selection"), NULL,
NC_("image-action", "Crop the image to the extents of the selection"),
G_CALLBACK (image_crop_to_selection_cmd_callback),
GIMP_HELP_IMAGE_CROP },
{ "image-crop-to-content", GIMP_STOCK_TOOL_CROP,
{ "image-crop-to-content", GIMP_ICON_TOOL_CROP,
NC_("image-action", "Crop to C_ontent"), NULL,
NC_("image-action", "Crop the image to the extents of its content (remove empty borders from the image)"),
G_CALLBACK (image_crop_to_content_cmd_callback),
@ -161,7 +161,7 @@ static const GimpActionEntry image_actions[] =
G_CALLBACK (image_flatten_image_cmd_callback),
GIMP_HELP_IMAGE_FLATTEN },
{ "image-configure-grid", GIMP_STOCK_GRID,
{ "image-configure-grid", GIMP_ICON_GRID,
NC_("image-action", "Configure G_rid..."), NULL,
NC_("image-action", "Configure the grid for this image"),
G_CALLBACK (image_configure_grid_cmd_callback),
@ -188,17 +188,17 @@ static const GimpToggleActionEntry image_toggle_actions[] =
static const GimpRadioActionEntry image_convert_base_type_actions[] =
{
{ "image-convert-rgb", GIMP_STOCK_CONVERT_RGB,
{ "image-convert-rgb", GIMP_ICON_CONVERT_RGB,
NC_("image-convert-action", "_RGB"), NULL,
NC_("image-convert-action", "Convert the image to the RGB colorspace"),
GIMP_RGB, GIMP_HELP_IMAGE_CONVERT_RGB },
{ "image-convert-grayscale", GIMP_STOCK_CONVERT_GRAYSCALE,
{ "image-convert-grayscale", GIMP_ICON_CONVERT_GRAYSCALE,
NC_("image-convert-action", "_Grayscale"), NULL,
NC_("image-convert-action", "Convert the image to grayscale"),
GIMP_GRAY, GIMP_HELP_IMAGE_CONVERT_GRAYSCALE },
{ "image-convert-indexed", GIMP_STOCK_CONVERT_INDEXED,
{ "image-convert-indexed", GIMP_ICON_CONVERT_INDEXED,
NC_("image-convert-action", "_Indexed..."), NULL,
NC_("image-convert-action", "Convert the image to indexed colors"),
GIMP_INDEXED, GIMP_HELP_IMAGE_CONVERT_INDEXED }
@ -260,13 +260,13 @@ static const GimpRadioActionEntry image_convert_gamma_actions[] =
static const GimpEnumActionEntry image_flip_actions[] =
{
{ "image-flip-horizontal", GIMP_STOCK_FLIP_HORIZONTAL,
{ "image-flip-horizontal", GIMP_ICON_OBJECT_FLIP_HORIZONTAL,
NC_("image-action", "Flip _Horizontally"), NULL,
NC_("image-action", "Flip image horizontally"),
GIMP_ORIENTATION_HORIZONTAL, FALSE,
GIMP_HELP_IMAGE_FLIP_HORIZONTAL },
{ "image-flip-vertical", GIMP_STOCK_FLIP_VERTICAL,
{ "image-flip-vertical", GIMP_ICON_OBJECT_FLIP_VERTICAL,
NC_("image-action", "Flip _Vertically"), NULL,
NC_("image-action", "Flip image vertically"),
GIMP_ORIENTATION_VERTICAL, FALSE,
@ -275,19 +275,19 @@ static const GimpEnumActionEntry image_flip_actions[] =
static const GimpEnumActionEntry image_rotate_actions[] =
{
{ "image-rotate-90", GIMP_STOCK_ROTATE_90,
{ "image-rotate-90", GIMP_ICON_OBJECT_ROTATE_90,
NC_("image-action", "Rotate 90° _clockwise"), NULL,
NC_("image-action", "Rotate the image 90 degrees to the right"),
GIMP_ROTATE_90, FALSE,
GIMP_HELP_IMAGE_ROTATE_90 },
{ "image-rotate-180", GIMP_STOCK_ROTATE_180,
{ "image-rotate-180", GIMP_ICON_OBJECT_ROTATE_180,
NC_("image-action", "Rotate _180°"), NULL,
NC_("image-action", "Turn the image upside-down"),
GIMP_ROTATE_180, FALSE,
GIMP_HELP_IMAGE_ROTATE_180 },
{ "image-rotate-270", GIMP_STOCK_ROTATE_270,
{ "image-rotate-270", GIMP_ICON_OBJECT_ROTATE_270,
NC_("image-action", "Rotate 90° counter-clock_wise"), NULL,
NC_("image-action", "Rotate the image 90 degrees to the left"),
GIMP_ROTATE_270, FALSE,

View File

@ -39,23 +39,23 @@
static const GimpActionEntry images_actions[] =
{
{ "images-popup", GIMP_STOCK_IMAGES,
{ "images-popup", GIMP_ICON_DIALOG_IMAGES,
NC_("images-action", "Images Menu"), NULL, NULL, NULL,
GIMP_HELP_IMAGE_DIALOG },
{ "images-raise-views", "go-top",
{ "images-raise-views", GIMP_ICON_GO_TOP,
NC_("images-action", "_Raise Views"), NULL,
NC_("images-action", "Raise this image's displays"),
G_CALLBACK (images_raise_views_cmd_callback),
NULL },
{ "images-new-view", "document-new",
{ "images-new-view", GIMP_ICON_DOCUMENT_NEW,
NC_("images-action", "_New View"), NULL,
NC_("images-action", "Create a new display for this image"),
G_CALLBACK (images_new_view_cmd_callback),
NULL },
{ "images-delete", "edit-delete",
{ "images-delete", GIMP_ICON_EDIT_DELETE,
NC_("images-action", "_Delete Image"), NULL,
NC_("images-action", "Delete this image"),
G_CALLBACK (images_delete_image_cmd_callback),

View File

@ -48,7 +48,7 @@
static const GimpActionEntry layers_actions[] =
{
{ "layers-popup", GIMP_STOCK_LAYERS,
{ "layers-popup", GIMP_ICON_DIALOG_LAYERS,
NC_("layers-action", "Layers Menu"), NULL, NULL, NULL,
GIMP_HELP_LAYER_DIALOG },
@ -64,7 +64,7 @@ static const GimpActionEntry layers_actions[] =
NC_("layers-action", "Composite Mode"), NULL, NULL, NULL,
NULL },
{ "layers-color-tag-menu", GIMP_STOCK_CLOSE /* abused */,
{ "layers-color-tag-menu", GIMP_ICON_CLOSE /* abused */,
NC_("layers-action", "Color Tag"), NULL, NULL, NULL,
GIMP_HELP_LAYER_COLOR_TAG },
@ -78,32 +78,32 @@ static const GimpActionEntry layers_actions[] =
NC_("layers-action", "Tr_ansparency") },
{ "layers-transform-menu", NULL,
NC_("layers-action", "_Transform") },
{ "layers-properties-menu", "document-properties",
{ "layers-properties-menu", GIMP_ICON_DOCUMENT_PROPERTIES,
NC_("layers-action", "_Properties") },
{ "layers-opacity-menu", GIMP_STOCK_TRANSPARENCY,
{ "layers-opacity-menu", GIMP_ICON_TRANSPARENCY,
NC_("layers-action", "_Opacity") },
{ "layers-mode-menu", GIMP_STOCK_TOOL_PENCIL,
{ "layers-mode-menu", GIMP_ICON_TOOL_PENCIL,
NC_("layers-action", "Layer _Mode") },
{ "layers-text-tool", GIMP_STOCK_TOOL_TEXT,
{ "layers-text-tool", GIMP_ICON_TOOL_TEXT,
NC_("layers-action", "Te_xt Tool"), NULL,
NC_("layers-action", "Activate the text tool on this text layer"),
G_CALLBACK (layers_text_tool_cmd_callback),
GIMP_HELP_TOOL_TEXT },
{ "layers-edit-attributes", "gtk-edit",
{ "layers-edit-attributes", GIMP_ICON_EDIT,
NC_("layers-action", "_Edit Layer Attributes..."), NULL,
NC_("layers-action", "Edit the layer's name"),
G_CALLBACK (layers_edit_attributes_cmd_callback),
GIMP_HELP_LAYER_EDIT },
{ "layers-new", "document-new",
{ "layers-new", GIMP_ICON_DOCUMENT_NEW,
NC_("layers-action", "_New Layer..."), "<primary><shift>N",
NC_("layers-action", "Create a new layer and add it to the image"),
G_CALLBACK (layers_new_cmd_callback),
GIMP_HELP_LAYER_NEW },
{ "layers-new-last-values", "document-new",
{ "layers-new-last-values", GIMP_ICON_DOCUMENT_NEW,
NC_("layers-action", "_New Layer"), NULL,
NC_("layers-action", "Create a new layer with last used values"),
G_CALLBACK (layers_new_last_vals_cmd_callback),
@ -116,56 +116,56 @@ static const GimpActionEntry layers_actions[] =
G_CALLBACK (layers_new_from_visible_cmd_callback),
GIMP_HELP_LAYER_NEW_FROM_VISIBLE },
{ "layers-new-group", "folder-new",
{ "layers-new-group", GIMP_ICON_FOLDER_NEW,
NC_("layers-action", "New Layer _Group"), NULL,
NC_("layers-action", "Create a new layer group and add it to the image"),
G_CALLBACK (layers_new_group_cmd_callback),
GIMP_HELP_LAYER_NEW },
{ "layers-duplicate", GIMP_STOCK_DUPLICATE,
{ "layers-duplicate", GIMP_ICON_OBJECT_DUPLICATE,
NC_("layers-action", "D_uplicate Layer"), "<primary><shift>D",
NC_("layers-action",
"Create a duplicate of the layer and add it to the image"),
G_CALLBACK (layers_duplicate_cmd_callback),
GIMP_HELP_LAYER_DUPLICATE },
{ "layers-delete", "edit-delete",
{ "layers-delete", GIMP_ICON_EDIT_DELETE,
NC_("layers-action", "_Delete Layer"), NULL,
NC_("layers-action", "Delete this layer"),
G_CALLBACK (layers_delete_cmd_callback),
GIMP_HELP_LAYER_DELETE },
{ "layers-raise", "go-up",
{ "layers-raise", GIMP_ICON_GO_UP,
NC_("layers-action", "_Raise Layer"), NULL,
NC_("layers-action", "Raise this layer one step in the layer stack"),
G_CALLBACK (layers_raise_cmd_callback),
GIMP_HELP_LAYER_RAISE },
{ "layers-raise-to-top", "go-top",
{ "layers-raise-to-top", GIMP_ICON_GO_TOP,
NC_("layers-action", "Layer to _Top"), NULL,
NC_("layers-action", "Move this layer to the top of the layer stack"),
G_CALLBACK (layers_raise_to_top_cmd_callback),
GIMP_HELP_LAYER_RAISE_TO_TOP },
{ "layers-lower", "go-down",
{ "layers-lower", GIMP_ICON_GO_DOWN,
NC_("layers-action", "_Lower Layer"), NULL,
NC_("layers-action", "Lower this layer one step in the layer stack"),
G_CALLBACK (layers_lower_cmd_callback),
GIMP_HELP_LAYER_LOWER },
{ "layers-lower-to-bottom", "go-bottom",
{ "layers-lower-to-bottom", GIMP_ICON_GO_BOTTOM,
NC_("layers-action", "Layer to _Bottom"), NULL,
NC_("layers-action", "Move this layer to the bottom of the layer stack"),
G_CALLBACK (layers_lower_to_bottom_cmd_callback),
GIMP_HELP_LAYER_LOWER_TO_BOTTOM },
{ "layers-anchor", GIMP_STOCK_ANCHOR,
{ "layers-anchor", GIMP_ICON_LAYER_ANCHOR,
NC_("layers-action", "_Anchor Layer"), "<primary>H",
NC_("layers-action", "Anchor the floating layer"),
G_CALLBACK (layers_anchor_cmd_callback),
GIMP_HELP_LAYER_ANCHOR },
{ "layers-merge-down", GIMP_STOCK_MERGE_DOWN,
{ "layers-merge-down", GIMP_ICON_LAYER_MERGE_DOWN,
NC_("layers-action", "Merge Do_wn"), NULL,
NC_("layers-action", "Merge this layer with the first visible layer below it"),
G_CALLBACK (layers_merge_down_cmd_callback),
@ -189,55 +189,55 @@ static const GimpActionEntry layers_actions[] =
G_CALLBACK (image_flatten_image_cmd_callback),
GIMP_HELP_IMAGE_FLATTEN },
{ "layers-text-discard", GIMP_STOCK_TOOL_TEXT,
{ "layers-text-discard", GIMP_ICON_TOOL_TEXT,
NC_("layers-action", "_Discard Text Information"), NULL,
NC_("layers-action", "Turn this text layer into a normal layer"),
G_CALLBACK (layers_text_discard_cmd_callback),
GIMP_HELP_LAYER_TEXT_DISCARD },
{ "layers-text-to-vectors", GIMP_STOCK_TOOL_TEXT,
{ "layers-text-to-vectors", GIMP_ICON_TOOL_TEXT,
NC_("layers-action", "Text to _Path"), NULL,
NC_("layers-action", "Create a path from this text layer"),
G_CALLBACK (layers_text_to_vectors_cmd_callback),
GIMP_HELP_LAYER_TEXT_TO_PATH },
{ "layers-text-along-vectors", GIMP_STOCK_TOOL_TEXT,
{ "layers-text-along-vectors", GIMP_ICON_TOOL_TEXT,
NC_("layers-action", "Text alon_g Path"), NULL,
NC_("layers-action", "Warp this layer's text along the current path"),
G_CALLBACK (layers_text_along_vectors_cmd_callback),
GIMP_HELP_LAYER_TEXT_ALONG_PATH },
{ "layers-resize", GIMP_STOCK_RESIZE,
{ "layers-resize", GIMP_ICON_OBJECT_RESIZE,
NC_("layers-action", "Layer B_oundary Size..."), NULL,
NC_("layers-action", "Adjust the layer dimensions"),
G_CALLBACK (layers_resize_cmd_callback),
GIMP_HELP_LAYER_RESIZE },
{ "layers-resize-to-image", GIMP_STOCK_LAYER_TO_IMAGESIZE,
{ "layers-resize-to-image", GIMP_ICON_LAYER_TO_IMAGESIZE,
NC_("layers-action", "Layer to _Image Size"), NULL,
NC_("layers-action", "Resize the layer to the size of the image"),
G_CALLBACK (layers_resize_to_image_cmd_callback),
GIMP_HELP_LAYER_RESIZE_TO_IMAGE },
{ "layers-scale", GIMP_STOCK_SCALE,
{ "layers-scale", GIMP_ICON_OBJECT_SCALE,
NC_("layers-action", "_Scale Layer..."), NULL,
NC_("layers-action", "Change the size of the layer content"),
G_CALLBACK (layers_scale_cmd_callback),
GIMP_HELP_LAYER_SCALE },
{ "layers-crop-to-selection", GIMP_STOCK_TOOL_CROP,
{ "layers-crop-to-selection", GIMP_ICON_TOOL_CROP,
NC_("layers-action", "_Crop to Selection"), NULL,
NC_("layers-action", "Crop the layer to the extents of the selection"),
G_CALLBACK (layers_crop_to_selection_cmd_callback),
GIMP_HELP_LAYER_CROP },
{ "layers-crop-to-content", GIMP_STOCK_TOOL_CROP,
{ "layers-crop-to-content", GIMP_ICON_TOOL_CROP,
NC_("layers-action", "Crop to C_ontent"), NULL,
NC_("layers-action", "Crop the layer to the extents of its content (remove empty borders from the layer)"),
G_CALLBACK (layers_crop_to_content_cmd_callback),
GIMP_HELP_LAYER_CROP },
{ "layers-mask-add", GIMP_STOCK_LAYER_MASK,
{ "layers-mask-add", GIMP_ICON_LAYER_MASK,
NC_("layers-action", "Add La_yer Mask..."), NULL,
NC_("layers-action",
"Add a mask that allows non-destructive editing of transparency"),
@ -247,21 +247,21 @@ static const GimpActionEntry layers_actions[] =
/* this is the same as layers-mask-add, except it's sensitive even if
* there is a mask on the layer
*/
{ "layers-mask-add-button", GIMP_STOCK_LAYER_MASK,
{ "layers-mask-add-button", GIMP_ICON_LAYER_MASK,
NC_("layers-action", "Add La_yer Mask..."), NULL,
NC_("layers-action",
"Add a mask that allows non-destructive editing of transparency"),
G_CALLBACK (layers_mask_add_cmd_callback),
GIMP_HELP_LAYER_MASK_ADD },
{ "layers-mask-add-last-values", GIMP_STOCK_LAYER_MASK,
{ "layers-mask-add-last-values", GIMP_ICON_LAYER_MASK,
NC_("layers-action", "Add La_yer Mask"), NULL,
NC_("layers-action",
"Add a mask with last used values"),
G_CALLBACK (layers_mask_add_last_vals_cmd_callback),
GIMP_HELP_LAYER_MASK_ADD },
{ "layers-alpha-add", GIMP_STOCK_TRANSPARENCY,
{ "layers-alpha-add", GIMP_ICON_TRANSPARENCY,
NC_("layers-action", "Add Alpha C_hannel"), NULL,
NC_("layers-action", "Add transparency information to the layer"),
G_CALLBACK (layers_alpha_add_cmd_callback),
@ -276,14 +276,14 @@ static const GimpActionEntry layers_actions[] =
static const GimpToggleActionEntry layers_toggle_actions[] =
{
{ "layers-mask-edit", "gtk-edit",
{ "layers-mask-edit", GIMP_ICON_EDIT,
NC_("layers-action", "_Edit Layer Mask"), NULL,
NC_("layers-action", "Work on the layer mask"),
G_CALLBACK (layers_mask_edit_cmd_callback),
FALSE,
GIMP_HELP_LAYER_MASK_EDIT },
{ "layers-mask-show", GIMP_STOCK_VISIBLE,
{ "layers-mask-show", GIMP_ICON_VISIBLE,
NC_("layers-action", "S_how Layer Mask"), NULL, NULL,
G_CALLBACK (layers_mask_show_cmd_callback),
FALSE,
@ -296,31 +296,31 @@ static const GimpToggleActionEntry layers_toggle_actions[] =
FALSE,
GIMP_HELP_LAYER_MASK_DISABLE },
{ "layers-visible", GIMP_STOCK_VISIBLE,
{ "layers-visible", GIMP_ICON_VISIBLE,
NC_("layers-action", "_Visible"), NULL, NULL,
G_CALLBACK (layers_visible_cmd_callback),
FALSE,
GIMP_HELP_LAYER_VISIBLE },
{ "layers-linked", GIMP_STOCK_LINKED,
{ "layers-linked", GIMP_ICON_LINKED,
NC_("layers-action", "_Linked"), NULL, NULL,
G_CALLBACK (layers_linked_cmd_callback),
FALSE,
GIMP_HELP_LAYER_LINKED },
{ "layers-lock-content", NULL /* GIMP_STOCK_LOCK */,
{ "layers-lock-content", NULL /* GIMP_ICON_LOCK */,
NC_("layers-action", "L_ock pixels"), NULL, NULL,
G_CALLBACK (layers_lock_content_cmd_callback),
FALSE,
GIMP_HELP_LAYER_LOCK_PIXELS },
{ "layers-lock-position", GIMP_STOCK_TOOL_MOVE,
{ "layers-lock-position", GIMP_ICON_TOOL_MOVE,
NC_("layers-action", "L_ock position"), NULL, NULL,
G_CALLBACK (layers_lock_position_cmd_callback),
FALSE,
GIMP_HELP_LAYER_LOCK_POSITION },
{ "layers-lock-alpha", GIMP_STOCK_TRANSPARENCY,
{ "layers-lock-alpha", GIMP_ICON_TRANSPARENCY,
NC_("layers-action", "Lock Alph_a Channel"), NULL,
NC_("layers-action",
"Keep transparency information on this layer from being modified"),
@ -395,7 +395,7 @@ static const GimpRadioActionEntry layers_composite_mode_actions[] =
static const GimpEnumActionEntry layers_color_tag_actions[] =
{
{ "layers-color-tag-none", GIMP_STOCK_CLOSE /* abused */,
{ "layers-color-tag-none", GIMP_ICON_CLOSE /* abused */,
NC_("layers-action", "None"), NULL,
NC_("layers-action", "Clear color tag"),
GIMP_COLOR_TAG_NONE, FALSE,
@ -458,7 +458,7 @@ static const GimpEnumActionEntry layers_mask_apply_actions[] =
GIMP_MASK_APPLY, FALSE,
GIMP_HELP_LAYER_MASK_APPLY },
{ "layers-mask-delete", "edit-delete",
{ "layers-mask-delete", GIMP_ICON_EDIT_DELETE,
NC_("layers-action", "Delete Layer Mas_k"), NULL,
NC_("layers-action", "Remove the layer mask and its effect"),
GIMP_MASK_DISCARD, FALSE,
@ -467,25 +467,25 @@ static const GimpEnumActionEntry layers_mask_apply_actions[] =
static const GimpEnumActionEntry layers_mask_to_selection_actions[] =
{
{ "layers-mask-selection-replace", GIMP_STOCK_SELECTION_REPLACE,
{ "layers-mask-selection-replace", GIMP_ICON_SELECTION_REPLACE,
NC_("layers-action", "_Mask to Selection"), NULL,
NC_("layers-action", "Replace the selection with the layer mask"),
GIMP_CHANNEL_OP_REPLACE, FALSE,
GIMP_HELP_LAYER_MASK_SELECTION_REPLACE },
{ "layers-mask-selection-add", GIMP_STOCK_SELECTION_ADD,
{ "layers-mask-selection-add", GIMP_ICON_SELECTION_ADD,
NC_("layers-action", "_Add to Selection"), NULL,
NC_("layers-action", "Add the layer mask to the current selection"),
GIMP_CHANNEL_OP_ADD, FALSE,
GIMP_HELP_LAYER_MASK_SELECTION_ADD },
{ "layers-mask-selection-subtract", GIMP_STOCK_SELECTION_SUBTRACT,
{ "layers-mask-selection-subtract", GIMP_ICON_SELECTION_SUBTRACT,
NC_("layers-action", "_Subtract from Selection"), NULL,
NC_("layers-action", "Subtract the layer mask from the current selection"),
GIMP_CHANNEL_OP_SUBTRACT, FALSE,
GIMP_HELP_LAYER_MASK_SELECTION_SUBTRACT },
{ "layers-mask-selection-intersect", GIMP_STOCK_SELECTION_INTERSECT,
{ "layers-mask-selection-intersect", GIMP_ICON_SELECTION_INTERSECT,
NC_("layers-action", "_Intersect with Selection"), NULL,
NC_("layers-action", "Intersect the layer mask with the current selection"),
GIMP_CHANNEL_OP_INTERSECT, FALSE,
@ -494,28 +494,28 @@ static const GimpEnumActionEntry layers_mask_to_selection_actions[] =
static const GimpEnumActionEntry layers_alpha_to_selection_actions[] =
{
{ "layers-alpha-selection-replace", GIMP_STOCK_SELECTION_REPLACE,
{ "layers-alpha-selection-replace", GIMP_ICON_SELECTION_REPLACE,
NC_("layers-action", "Al_pha to Selection"), NULL,
NC_("layers-action",
"Replace the selection with the layer's alpha channel"),
GIMP_CHANNEL_OP_REPLACE, FALSE,
GIMP_HELP_LAYER_ALPHA_SELECTION_REPLACE },
{ "layers-alpha-selection-add", GIMP_STOCK_SELECTION_ADD,
{ "layers-alpha-selection-add", GIMP_ICON_SELECTION_ADD,
NC_("layers-action", "A_dd to Selection"), NULL,
NC_("layers-action",
"Add the layer's alpha channel to the current selection"),
GIMP_CHANNEL_OP_ADD, FALSE,
GIMP_HELP_LAYER_ALPHA_SELECTION_ADD },
{ "layers-alpha-selection-subtract", GIMP_STOCK_SELECTION_SUBTRACT,
{ "layers-alpha-selection-subtract", GIMP_ICON_SELECTION_SUBTRACT,
NC_("layers-action", "_Subtract from Selection"), NULL,
NC_("layers-action",
"Subtract the layer's alpha channel from the current selection"),
GIMP_CHANNEL_OP_SUBTRACT, FALSE,
GIMP_HELP_LAYER_ALPHA_SELECTION_SUBTRACT },
{ "layers-alpha-selection-intersect", GIMP_STOCK_SELECTION_INTERSECT,
{ "layers-alpha-selection-intersect", GIMP_ICON_SELECTION_INTERSECT,
NC_("layers-action", "_Intersect with Selection"), NULL,
NC_("layers-action",
"Intersect the layer's alpha channel with the current selection"),
@ -552,31 +552,31 @@ static const GimpEnumActionEntry layers_select_actions[] =
static const GimpEnumActionEntry layers_opacity_actions[] =
{
{ "layers-opacity-set", GIMP_STOCK_TRANSPARENCY,
{ "layers-opacity-set", GIMP_ICON_TRANSPARENCY,
"Set Opacity", NULL, NULL,
GIMP_ACTION_SELECT_SET, TRUE,
GIMP_HELP_LAYER_OPACITY },
{ "layers-opacity-transparent", GIMP_STOCK_TRANSPARENCY,
{ "layers-opacity-transparent", GIMP_ICON_TRANSPARENCY,
"Completely Transparent", NULL, NULL,
GIMP_ACTION_SELECT_FIRST, FALSE,
GIMP_HELP_LAYER_OPACITY },
{ "layers-opacity-opaque", GIMP_STOCK_TRANSPARENCY,
{ "layers-opacity-opaque", GIMP_ICON_TRANSPARENCY,
"Completely Opaque", NULL, NULL,
GIMP_ACTION_SELECT_LAST, FALSE,
GIMP_HELP_LAYER_OPACITY },
{ "layers-opacity-decrease", GIMP_STOCK_TRANSPARENCY,
{ "layers-opacity-decrease", GIMP_ICON_TRANSPARENCY,
"More Transparent", NULL, NULL,
GIMP_ACTION_SELECT_PREVIOUS, FALSE,
GIMP_HELP_LAYER_OPACITY },
{ "layers-opacity-increase", GIMP_STOCK_TRANSPARENCY,
{ "layers-opacity-increase", GIMP_ICON_TRANSPARENCY,
"More Opaque", NULL, NULL,
GIMP_ACTION_SELECT_NEXT, FALSE,
GIMP_HELP_LAYER_OPACITY },
{ "layers-opacity-decrease-skip", GIMP_STOCK_TRANSPARENCY,
{ "layers-opacity-decrease-skip", GIMP_ICON_TRANSPARENCY,
"10% More Transparent", NULL, NULL,
GIMP_ACTION_SELECT_SKIP_PREVIOUS, FALSE,
GIMP_HELP_LAYER_OPACITY },
{ "layers-opacity-increase-skip", GIMP_STOCK_TRANSPARENCY,
{ "layers-opacity-increase-skip", GIMP_ICON_TRANSPARENCY,
"10% More Opaque", NULL, NULL,
GIMP_ACTION_SELECT_SKIP_NEXT, FALSE,
GIMP_HELP_LAYER_OPACITY }
@ -584,19 +584,19 @@ static const GimpEnumActionEntry layers_opacity_actions[] =
static const GimpEnumActionEntry layers_mode_actions[] =
{
{ "layers-mode-first", GIMP_STOCK_TOOL_PENCIL,
{ "layers-mode-first", GIMP_ICON_TOOL_PENCIL,
"First Layer Mode", NULL, NULL,
GIMP_ACTION_SELECT_FIRST, FALSE,
GIMP_HELP_LAYER_MODE },
{ "layers-mode-last", GIMP_STOCK_TOOL_PENCIL,
{ "layers-mode-last", GIMP_ICON_TOOL_PENCIL,
"Last Layer Mode", NULL, NULL,
GIMP_ACTION_SELECT_LAST, FALSE,
GIMP_HELP_LAYER_MODE },
{ "layers-mode-previous", GIMP_STOCK_TOOL_PENCIL,
{ "layers-mode-previous", GIMP_ICON_TOOL_PENCIL,
"Previous Layer Mode", NULL, NULL,
GIMP_ACTION_SELECT_PREVIOUS, FALSE,
GIMP_HELP_LAYER_MODE },
{ "layers-mode-next", GIMP_STOCK_TOOL_PENCIL,
{ "layers-mode-next", GIMP_ICON_TOOL_PENCIL,
"Next Layer Mode", NULL, NULL,
GIMP_ACTION_SELECT_NEXT, FALSE,
GIMP_HELP_LAYER_MODE }

View File

@ -235,7 +235,7 @@ layers_edit_attributes_cmd_callback (GtkAction *action,
widget,
_("Layer Attributes"),
"gimp-layer-edit",
"gtk-edit",
GIMP_ICON_EDIT,
_("Edit Layer Attributes"),
GIMP_HELP_LAYER_EDIT,
gimp_object_get_name (layer),
@ -304,7 +304,7 @@ layers_new_cmd_callback (GtkAction *action,
widget,
_("New Layer"),
"gimp-layer-new",
GIMP_STOCK_LAYER,
GIMP_ICON_LAYER,
_("Create a New Layer"),
GIMP_HELP_LAYER_NEW,
config->layer_new_name,

View File

@ -43,19 +43,19 @@ static const GimpActionEntry mypaint_brushes_actions[] =
NC_("mypaint-brushes-action", "MyPaint Brushes Menu"), NULL, NULL, NULL,
GIMP_HELP_MYPAINT_BRUSH_DIALOG },
{ "mypaint-brushes-new", "document-new",
{ "mypaint-brushes-new", GIMP_ICON_DOCUMENT_NEW,
NC_("mypaint-brushes-action", "_New MyPaint Brush"), NULL,
NC_("mypaint-brushes-action", "Create a new MyPaint brush"),
G_CALLBACK (data_new_cmd_callback),
GIMP_HELP_MYPAINT_BRUSH_NEW },
{ "mypaint-brushes-duplicate", GIMP_STOCK_DUPLICATE,
{ "mypaint-brushes-duplicate", GIMP_ICON_OBJECT_DUPLICATE,
NC_("mypaint-brushes-action", "D_uplicate MyPaint Brush"), NULL,
NC_("mypaint-brushes-action", "Duplicate this MyPaint brush"),
G_CALLBACK (data_duplicate_cmd_callback),
GIMP_HELP_MYPAINT_BRUSH_DUPLICATE },
{ "mypaint-brushes-copy-location", "edit-copy",
{ "mypaint-brushes-copy-location", GIMP_ICON_EDIT_COPY,
NC_("mypaint-brushes-action", "Copy MyPaint Brush _Location"), NULL,
NC_("mypaint-brushes-action", "Copy MyPaint brush file location to clipboard"),
G_CALLBACK (data_copy_location_cmd_callback),
@ -67,13 +67,13 @@ static const GimpActionEntry mypaint_brushes_actions[] =
G_CALLBACK (data_show_in_file_manager_cmd_callback),
GIMP_HELP_MYPAINT_BRUSH_SHOW_IN_FILE_MANAGER },
{ "mypaint-brushes-delete", "edit-delete",
{ "mypaint-brushes-delete", GIMP_ICON_EDIT_DELETE,
NC_("mypaint-brushes-action", "_Delete MyPaint Brush"), NULL,
NC_("mypaint-brushes-action", "Delete this MyPaint brush"),
G_CALLBACK (data_delete_cmd_callback),
GIMP_HELP_MYPAINT_BRUSH_DELETE },
{ "mypaint-brushes-refresh", "view-refresh",
{ "mypaint-brushes-refresh", GIMP_ICON_VIEW_REFRESH,
NC_("mypaint-brushes-action", "_Refresh MyPaint Brushes"), NULL,
NC_("mypaint-brushes-action", "Refresh MyPaint brushes"),
G_CALLBACK (data_refresh_cmd_callback),
@ -82,7 +82,7 @@ static const GimpActionEntry mypaint_brushes_actions[] =
static const GimpStringActionEntry mypaint_brushes_edit_actions[] =
{
{ "mypaint-brushes-edit", "gtk-edit",
{ "mypaint-brushes-edit", GIMP_ICON_EDIT,
NC_("mypaint-brushes-action", "_Edit MyPaint Brush..."), NULL,
NC_("mypaint-brushes-action", "Edit MyPaint brush"),
"gimp-mybrush-editor",

View File

@ -40,17 +40,17 @@
static const GimpActionEntry palette_editor_actions[] =
{
{ "palette-editor-popup", GIMP_STOCK_PALETTE,
{ "palette-editor-popup", GIMP_ICON_PALETTE,
NC_("palette-editor-action", "Palette Editor Menu"), NULL, NULL, NULL,
GIMP_HELP_PALETTE_EDITOR_DIALOG },
{ "palette-editor-edit-color", "gtk-edit",
{ "palette-editor-edit-color", GIMP_ICON_EDIT,
NC_("palette-editor-action", "_Edit Color..."), NULL,
NC_("palette-editor-action", "Edit this entry"),
G_CALLBACK (palette_editor_edit_color_cmd_callback),
GIMP_HELP_PALETTE_EDITOR_EDIT },
{ "palette-editor-delete-color", "edit-delete",
{ "palette-editor-delete-color", GIMP_ICON_EDIT_DELETE,
NC_("palette-editor-action", "_Delete Color"), NULL,
NC_("palette-editor-action", "Delete this entry"),
G_CALLBACK (palette_editor_delete_color_cmd_callback),
@ -59,7 +59,7 @@ static const GimpActionEntry palette_editor_actions[] =
static const GimpToggleActionEntry palette_editor_toggle_actions[] =
{
{ "palette-editor-edit-active", GIMP_STOCK_LINKED,
{ "palette-editor-edit-active", GIMP_ICON_LINKED,
NC_("palette-editor-action", "Edit Active Palette"), NULL, NULL,
G_CALLBACK (data_editor_edit_active_cmd_callback),
FALSE,
@ -68,14 +68,14 @@ static const GimpToggleActionEntry palette_editor_toggle_actions[] =
static const GimpEnumActionEntry palette_editor_new_actions[] =
{
{ "palette-editor-new-color-fg", "document-new",
{ "palette-editor-new-color-fg", GIMP_ICON_DOCUMENT_NEW,
NC_("palette-editor-action", "New Color from _FG"), NULL,
NC_("palette-editor-action",
"Create a new entry from the foreground color"),
FALSE, FALSE,
GIMP_HELP_PALETTE_EDITOR_NEW },
{ "palette-editor-new-color-bg", "document-new",
{ "palette-editor-new-color-bg", GIMP_ICON_DOCUMENT_NEW,
NC_("palette-editor-action", "New Color from _BG"), NULL,
NC_("palette-editor-action",
"Create a new entry from the background color"),
@ -85,19 +85,19 @@ static const GimpEnumActionEntry palette_editor_new_actions[] =
static const GimpEnumActionEntry palette_editor_zoom_actions[] =
{
{ "palette-editor-zoom-in", "zoom-in",
{ "palette-editor-zoom-in", GIMP_ICON_ZOOM_IN,
N_("Zoom _In"), NULL,
N_("Zoom in"),
GIMP_ZOOM_IN, FALSE,
GIMP_HELP_PALETTE_EDITOR_ZOOM_IN },
{ "palette-editor-zoom-out", "zoom-out",
{ "palette-editor-zoom-out", GIMP_ICON_ZOOM_OUT,
N_("Zoom _Out"), NULL,
N_("Zoom out"),
GIMP_ZOOM_OUT, FALSE,
GIMP_HELP_PALETTE_EDITOR_ZOOM_OUT },
{ "palette-editor-zoom-all", "zoom-fit-best",
{ "palette-editor-zoom-all", GIMP_ICON_ZOOM_FIT_BEST,
N_("Zoom _All"), NULL,
N_("Zoom all"),
GIMP_ZOOM_OUT_MAX, FALSE,

View File

@ -67,7 +67,7 @@ palette_editor_edit_color_cmd_callback (GtkAction *action,
gimp_color_dialog_new (GIMP_VIEWABLE (palette),
data_editor->context,
_("Edit Palette Color"),
GIMP_STOCK_PALETTE,
GIMP_ICON_PALETTE,
_("Edit Color Palette Entry"),
GTK_WIDGET (editor),
gimp_dialog_factory_get_singleton (),

View File

@ -40,11 +40,11 @@
static const GimpActionEntry palettes_actions[] =
{
{ "palettes-popup", GIMP_STOCK_PALETTE,
{ "palettes-popup", GIMP_ICON_PALETTE,
NC_("palettes-action", "Palettes Menu"), NULL, NULL, NULL,
GIMP_HELP_PALETTE_DIALOG },
{ "palettes-new", "document-new",
{ "palettes-new", GIMP_ICON_DOCUMENT_NEW,
NC_("palettes-action", "_New Palette"), NULL,
NC_("palettes-action", "Create a new palette"),
G_CALLBACK (data_new_cmd_callback),
@ -56,7 +56,7 @@ static const GimpActionEntry palettes_actions[] =
G_CALLBACK (palettes_import_cmd_callback),
GIMP_HELP_PALETTE_IMPORT },
{ "palettes-duplicate", GIMP_STOCK_DUPLICATE,
{ "palettes-duplicate", GIMP_ICON_OBJECT_DUPLICATE,
NC_("palettes-action", "D_uplicate Palette"), NULL,
NC_("palettes-action", "Duplicate this palette"),
G_CALLBACK (data_duplicate_cmd_callback),
@ -68,7 +68,7 @@ static const GimpActionEntry palettes_actions[] =
G_CALLBACK (palettes_merge_cmd_callback),
GIMP_HELP_PALETTE_MERGE },
{ "palettes-copy-location", "edit-copy",
{ "palettes-copy-location", GIMP_ICON_EDIT_COPY,
NC_("palettes-action", "Copy Palette _Location"), NULL,
NC_("palettes-action", "Copy palette file location to clipboard"),
G_CALLBACK (data_copy_location_cmd_callback),
@ -80,13 +80,13 @@ static const GimpActionEntry palettes_actions[] =
G_CALLBACK (data_show_in_file_manager_cmd_callback),
GIMP_HELP_PALETTE_SHOW_IN_FILE_MANAGER },
{ "palettes-delete", "edit-delete",
{ "palettes-delete", GIMP_ICON_EDIT_DELETE,
NC_("palettes-action", "_Delete Palette"), NULL,
NC_("palettes-action", "Delete this palette"),
G_CALLBACK (data_delete_cmd_callback),
GIMP_HELP_PALETTE_DELETE },
{ "palettes-refresh", "view-refresh",
{ "palettes-refresh", GIMP_ICON_VIEW_REFRESH,
NC_("palettes-action", "_Refresh Palettes"), NULL,
NC_("palettes-action", "Refresh palettes"),
G_CALLBACK (data_refresh_cmd_callback),
@ -95,7 +95,7 @@ static const GimpActionEntry palettes_actions[] =
static const GimpStringActionEntry palettes_edit_actions[] =
{
{ "palettes-edit", "gtk-edit",
{ "palettes-edit", GIMP_ICON_EDIT,
NC_("palettes-action", "_Edit Palette..."), NULL,
NC_("palettes-action", "Edit this palette"),
"gimp-palette-editor",

View File

@ -39,29 +39,29 @@
static const GimpActionEntry patterns_actions[] =
{
{ "patterns-popup", GIMP_STOCK_PATTERN,
{ "patterns-popup", GIMP_ICON_PATTERN,
NC_("patterns-action", "Patterns Menu"), NULL, NULL, NULL,
GIMP_HELP_PATTERN_DIALOG },
{ "patterns-open-as-image", "document-open",
{ "patterns-open-as-image", GIMP_ICON_DOCUMENT_OPEN,
NC_("patterns-action", "_Open Pattern as Image"), NULL,
NC_("patterns-action", "Open this pattern as an image"),
G_CALLBACK (data_open_as_image_cmd_callback),
GIMP_HELP_PATTERN_OPEN_AS_IMAGE },
{ "patterns-new", "document-new",
{ "patterns-new", GIMP_ICON_DOCUMENT_NEW,
NC_("patterns-action", "_New Pattern"), NULL,
NC_("patterns-action", "Create a new pattern"),
G_CALLBACK (data_new_cmd_callback),
GIMP_HELP_PATTERN_NEW },
{ "patterns-duplicate", GIMP_STOCK_DUPLICATE,
{ "patterns-duplicate", GIMP_ICON_OBJECT_DUPLICATE,
NC_("patterns-action", "D_uplicate Pattern"), NULL,
NC_("patterns-action", "Duplicate this pattern"),
G_CALLBACK (data_duplicate_cmd_callback),
GIMP_HELP_PATTERN_DUPLICATE },
{ "patterns-copy-location", "edit-copy",
{ "patterns-copy-location", GIMP_ICON_EDIT_COPY,
NC_("patterns-action", "Copy Pattern _Location"), NULL,
NC_("patterns-action", "Copy pattern file location to clipboard"),
G_CALLBACK (data_copy_location_cmd_callback),
@ -73,13 +73,13 @@ static const GimpActionEntry patterns_actions[] =
G_CALLBACK (data_show_in_file_manager_cmd_callback),
GIMP_HELP_PATTERN_SHOW_IN_FILE_MANAGER },
{ "patterns-delete", "edit-delete",
{ "patterns-delete", GIMP_ICON_EDIT_DELETE,
NC_("patterns-action", "_Delete Pattern"), NULL,
NC_("patterns-action", "Delete this pattern"),
G_CALLBACK (data_delete_cmd_callback),
GIMP_HELP_PATTERN_DELETE },
{ "patterns-refresh", "view-refresh",
{ "patterns-refresh", GIMP_ICON_VIEW_REFRESH,
NC_("patterns-action", "_Refresh Patterns"), NULL,
NC_("patterns-action", "Refresh patterns"),
G_CALLBACK (data_refresh_cmd_callback),
@ -88,7 +88,7 @@ static const GimpActionEntry patterns_actions[] =
static const GimpStringActionEntry patterns_edit_actions[] =
{
{ "patterns-edit", "gtk-edit",
{ "patterns-edit", GIMP_ICON_EDIT,
NC_("patterns-action", "_Edit Pattern..."), NULL,
NC_("patterns-action", "Edit pattern"),
"gimp-pattern-editor",

View File

@ -78,7 +78,7 @@ static void plug_in_actions_build_path (GimpActionGroup *group
static const GimpActionEntry plug_in_actions[] =
{
{ "plug-in-reset-all", GIMP_STOCK_RESET,
{ "plug-in-reset-all", GIMP_ICON_RESET,
NC_("plug-in-action", "Reset all _Filters"), NULL,
NC_("plug-in-action", "Reset all plug-ins to their default settings"),
G_CALLBACK (plug_in_reset_all_cmd_callback),

View File

@ -173,7 +173,7 @@ plug_in_reset_all_cmd_callback (GtkAction *action,
if (! dialog)
{
dialog = gimp_message_dialog_new (_("Reset all Filters"),
GIMP_STOCK_QUESTION,
GIMP_ICON_DIALOG_QUESTION,
NULL, 0,
gimp_standard_help_func, NULL,

View File

@ -51,7 +51,7 @@ static const GimpActionEntry quick_mask_actions[] =
static const GimpToggleActionEntry quick_mask_toggle_actions[] =
{
{ "quick-mask-toggle", GIMP_STOCK_QUICK_MASK_ON,
{ "quick-mask-toggle", GIMP_ICON_QUICK_MASK_ON,
NC_("quick-mask-action", "Toggle _Quick Mask"), "<shift>Q",
NC_("quick-mask-action", "Toggle Quick Mask on/off"),
G_CALLBACK (quick_mask_toggle_cmd_callback),

View File

@ -121,7 +121,7 @@ quick_mask_configure_cmd_callback (GtkAction *action,
widget,
_("Quick Mask Attributes"),
"gimp-quick-mask-edit",
GIMP_STOCK_QUICK_MASK_ON,
GIMP_ICON_QUICK_MASK_ON,
_("Edit Quick Mask Attributes"),
GIMP_HELP_QUICK_MASK_EDIT,
_("Edit Quick Mask Color"),

View File

@ -36,7 +36,7 @@
static const GimpActionEntry sample_points_actions[] =
{
{ "sample-points-popup", GIMP_STOCK_SAMPLE_POINT,
{ "sample-points-popup", GIMP_ICON_SAMPLE_POINT,
NC_("sample-points-action", "Sample Point Menu"), NULL, NULL, NULL,
GIMP_HELP_SAMPLE_POINT_DIALOG }
};

View File

@ -40,31 +40,31 @@
static const GimpActionEntry select_actions[] =
{
{ "selection-popup", GIMP_STOCK_SELECTION,
{ "selection-popup", GIMP_ICON_SELECTION,
NC_("select-action", "Selection Editor Menu"), NULL, NULL, NULL,
GIMP_HELP_SELECTION_DIALOG },
{ "select-menu", NULL, NC_("select-action", "_Select") },
{ "select-all", GIMP_STOCK_SELECTION_ALL,
{ "select-all", GIMP_ICON_SELECTION_ALL,
NC_("select-action", "_All"), "<primary>A",
NC_("select-action", "Select everything"),
G_CALLBACK (select_all_cmd_callback),
GIMP_HELP_SELECTION_ALL },
{ "select-none", GIMP_STOCK_SELECTION_NONE,
{ "select-none", GIMP_ICON_SELECTION_NONE,
NC_("select-action", "_None"), "<primary><shift>A",
NC_("select-action", "Dismiss the selection"),
G_CALLBACK (select_none_cmd_callback),
GIMP_HELP_SELECTION_NONE },
{ "select-invert", GIMP_STOCK_INVERT,
{ "select-invert", GIMP_ICON_INVERT,
NC_("select-action", "_Invert"), "<primary>I",
NC_("select-action", "Invert the selection"),
G_CALLBACK (select_invert_cmd_callback),
GIMP_HELP_SELECTION_INVERT },
{ "select-float", GIMP_STOCK_FLOATING_SELECTION,
{ "select-float", GIMP_ICON_LAYER_FLOATING_SELECTION,
NC_("select-action", "_Float"), "<primary><shift>L",
NC_("select-action", "Create a floating selection"),
G_CALLBACK (select_float_cmd_callback),
@ -83,19 +83,19 @@ static const GimpActionEntry select_actions[] =
G_CALLBACK (select_sharpen_cmd_callback),
GIMP_HELP_SELECTION_SHARPEN },
{ "select-shrink", GIMP_STOCK_SELECTION_SHRINK,
{ "select-shrink", GIMP_ICON_SELECTION_SHRINK,
NC_("select-action", "S_hrink..."), NULL,
NC_("select-action", "Contract the selection"),
G_CALLBACK (select_shrink_cmd_callback),
GIMP_HELP_SELECTION_SHRINK },
{ "select-grow", GIMP_STOCK_SELECTION_GROW,
{ "select-grow", GIMP_ICON_SELECTION_GROW,
NC_("select-action", "_Grow..."), NULL,
NC_("select-action", "Enlarge the selection"),
G_CALLBACK (select_grow_cmd_callback),
GIMP_HELP_SELECTION_GROW },
{ "select-border", GIMP_STOCK_SELECTION_BORDER,
{ "select-border", GIMP_ICON_SELECTION_BORDER,
NC_("select-action", "Bo_rder..."), NULL,
NC_("select-action", "Replace the selection by its border"),
G_CALLBACK (select_border_cmd_callback),
@ -107,31 +107,31 @@ static const GimpActionEntry select_actions[] =
G_CALLBACK (select_flood_cmd_callback),
GIMP_HELP_SELECTION_FLOOD },
{ "select-save", GIMP_STOCK_SELECTION_TO_CHANNEL,
{ "select-save", GIMP_ICON_SELECTION_TO_CHANNEL,
NC_("select-action", "Save to _Channel"), NULL,
NC_("select-action", "Save the selection to a channel"),
G_CALLBACK (select_save_cmd_callback),
GIMP_HELP_SELECTION_TO_CHANNEL },
{ "select-fill", GIMP_STOCK_TOOL_BUCKET_FILL,
{ "select-fill", GIMP_ICON_TOOL_BUCKET_FILL,
NC_("select-action", "_Fill Selection Outline..."), NULL,
NC_("select-action", "Fill the selection outline"),
G_CALLBACK (select_fill_cmd_callback),
GIMP_HELP_SELECTION_FILL },
{ "select-fill-last-values", GIMP_STOCK_TOOL_BUCKET_FILL,
{ "select-fill-last-values", GIMP_ICON_TOOL_BUCKET_FILL,
NC_("select-action", "_Fill Selection Outline"), NULL,
NC_("select-action", "Fill the selection outline with last used values"),
G_CALLBACK (select_fill_last_vals_cmd_callback),
GIMP_HELP_SELECTION_FILL },
{ "select-stroke", GIMP_STOCK_SELECTION_STROKE,
{ "select-stroke", GIMP_ICON_SELECTION_STROKE,
NC_("select-action", "_Stroke Selection..."), NULL,
NC_("select-action", "Paint along the selection outline"),
G_CALLBACK (select_stroke_cmd_callback),
GIMP_HELP_SELECTION_STROKE },
{ "select-stroke-last-values", GIMP_STOCK_SELECTION_STROKE,
{ "select-stroke-last-values", GIMP_ICON_SELECTION_STROKE,
NC_("select-action", "_Stroke Selection"), NULL,
NC_("select-action", "Stroke the selection with last used values"),
G_CALLBACK (select_stroke_last_vals_cmd_callback),

View File

@ -413,7 +413,7 @@ select_fill_cmd_callback (GtkAction *action,
image, GIMP_ITEM (gimp_image_get_mask (image)),
"gimp-selection-fill-dialog",
_("Fill Selection Outline"),
GIMP_STOCK_TOOL_BUCKET_FILL,
GIMP_ICON_TOOL_BUCKET_FILL,
GIMP_HELP_SELECTION_FILL,
data);
}
@ -442,7 +442,7 @@ select_stroke_cmd_callback (GtkAction *action,
image, GIMP_ITEM (gimp_image_get_mask (image)),
"gimp-selection-stroke-dialog",
_("Stroke Selection"),
GIMP_STOCK_SELECTION_STROKE,
GIMP_ICON_SELECTION_STROKE,
GIMP_HELP_SELECTION_STROKE,
data);
}

View File

@ -38,35 +38,35 @@
static const GimpActionEntry templates_actions[] =
{
{ "templates-popup", GIMP_STOCK_TEMPLATE,
{ "templates-popup", GIMP_ICON_TEMPLATE,
NC_("templates-action", "Templates Menu"), NULL, NULL, NULL,
GIMP_HELP_TEMPLATE_DIALOG },
{ "templates-create-image", GIMP_STOCK_IMAGE,
{ "templates-create-image", GIMP_ICON_IMAGE,
NC_("templates-action", "_Create Image from Template"), "",
NC_("templates-action", "Create a new image from the selected template"),
G_CALLBACK (templates_create_image_cmd_callback),
GIMP_HELP_TEMPLATE_IMAGE_NEW },
{ "templates-new", "document-new",
{ "templates-new", GIMP_ICON_DOCUMENT_NEW,
NC_("templates-action", "_New Template..."), NULL,
NC_("templates-action", "Create a new template"),
G_CALLBACK (templates_new_cmd_callback),
GIMP_HELP_TEMPLATE_NEW },
{ "templates-duplicate", GIMP_STOCK_DUPLICATE,
{ "templates-duplicate", GIMP_ICON_OBJECT_DUPLICATE,
NC_("templates-action", "D_uplicate Template..."), "",
NC_("templates-action", "Duplicate this template"),
G_CALLBACK (templates_duplicate_cmd_callback),
GIMP_HELP_TEMPLATE_DUPLICATE },
{ "templates-edit", "gtk-edit",
{ "templates-edit", GIMP_ICON_EDIT,
NC_("templates-action", "_Edit Template..."), NULL,
NC_("templates-action", "Edit this template"),
G_CALLBACK (templates_edit_cmd_callback),
GIMP_HELP_TEMPLATE_EDIT },
{ "templates-delete", "edit-delete",
{ "templates-delete", GIMP_ICON_EDIT_DELETE,
NC_("templates-action", "_Delete Template"), NULL,
NC_("templates-action", "Delete this template"),
G_CALLBACK (templates_delete_cmd_callback),

View File

@ -130,7 +130,7 @@ templates_new_cmd_callback (GtkAction *action,
GTK_WIDGET (editor),
_("New Template"),
"gimp-template-new",
GIMP_STOCK_TEMPLATE,
GIMP_ICON_TEMPLATE,
_("Create a New Template"),
GIMP_HELP_TEMPLATE_NEW,
templates_new_callback,
@ -200,7 +200,7 @@ templates_edit_cmd_callback (GtkAction *action,
GTK_WIDGET (editor),
_("Edit Template"),
"gimp-template-edit",
"gtk-edit",
GIMP_ICON_EDIT,
_("Edit Template"),
GIMP_HELP_TEMPLATE_EDIT,
templates_edit_callback,

View File

@ -36,17 +36,17 @@
static const GimpActionEntry text_editor_actions[] =
{
{ "text-editor-toolbar", "gtk-edit",
{ "text-editor-toolbar", GIMP_ICON_EDIT,
"Text Editor Toolbar", NULL, NULL, NULL,
GIMP_HELP_TEXT_EDITOR_DIALOG },
{ "text-editor-load", "document-open",
{ "text-editor-load", GIMP_ICON_DOCUMENT_OPEN,
NC_("text-editor-action", "Open"), NULL,
NC_("text-editor-action", "Load text from file"),
G_CALLBACK (text_editor_load_cmd_callback),
NULL },
{ "text-editor-clear", "edit-clear",
{ "text-editor-clear", GIMP_ICON_EDIT_CLEAR,
NC_("text-editor-action", "Clear"), NULL,
NC_("text-editor-action", "Clear all text"),
G_CALLBACK (text_editor_clear_cmd_callback),
@ -55,13 +55,13 @@ static const GimpActionEntry text_editor_actions[] =
static const GimpRadioActionEntry text_editor_direction_actions[] =
{
{ "text-editor-direction-ltr", GIMP_STOCK_TEXT_DIR_LTR,
{ "text-editor-direction-ltr", GIMP_ICON_FORMAT_TEXT_DIRECTION_LTR,
NC_("text-editor-action", "LTR"), NULL,
NC_("text-editor-action", "From left to right"),
GIMP_TEXT_DIRECTION_LTR,
NULL },
{ "text-editor-direction-rtl", GIMP_STOCK_TEXT_DIR_RTL,
{ "text-editor-direction-rtl", GIMP_ICON_FORMAT_TEXT_DIRECTION_RTL,
NC_("text-editor-action", "RTL"), NULL,
NC_("text-editor-action", "From right to left"),
GIMP_TEXT_DIRECTION_RTL,

View File

@ -54,45 +54,45 @@ static const GimpActionEntry text_tool_actions[] =
NC_("text-tool-action", "Input _Methods"), NULL, NULL, NULL,
NULL },
{ "text-tool-cut", "edit-cut",
{ "text-tool-cut", GIMP_ICON_EDIT_CUT,
NC_("text-tool-action", "Cu_t"), NULL, "<primary>X",
G_CALLBACK (text_tool_cut_cmd_callback),
NULL },
{ "text-tool-copy", "edit-copy",
{ "text-tool-copy", GIMP_ICON_EDIT_COPY,
NC_("text-tool-action", "_Copy"), NULL, "<primary>C",
G_CALLBACK (text_tool_copy_cmd_callback),
NULL },
{ "text-tool-paste", "edit-paste",
{ "text-tool-paste", GIMP_ICON_EDIT_PASTE,
NC_("text-tool-action", "_Paste"), NULL, "<primary>V",
G_CALLBACK (text_tool_paste_cmd_callback),
NULL },
{ "text-tool-delete", "edit-delete",
{ "text-tool-delete", GIMP_ICON_EDIT_DELETE,
NC_("text-tool-action", "_Delete"), NULL, NULL,
G_CALLBACK (text_tool_delete_cmd_callback),
NULL },
{ "text-tool-load", "document-open",
{ "text-tool-load", GIMP_ICON_DOCUMENT_OPEN,
NC_("text-tool-action", "_Open text file..."), NULL, NULL,
G_CALLBACK (text_tool_load_cmd_callback),
NULL },
{ "text-tool-clear", "edit-clear",
{ "text-tool-clear", GIMP_ICON_EDIT_CLEAR,
NC_("text-tool-action", "Cl_ear"), NULL,
NC_("text-tool-action", "Clear all text"),
G_CALLBACK (text_tool_clear_cmd_callback),
NULL },
{ "text-tool-text-to-path", GIMP_STOCK_PATH,
{ "text-tool-text-to-path", GIMP_ICON_PATH,
NC_("text-tool-action", "_Path from Text"), "",
NC_("text-tool-action",
"Create a path from the outlines of the current text"),
G_CALLBACK (text_tool_text_to_path_cmd_callback),
NULL },
{ "text-tool-text-along-path", GIMP_STOCK_PATH,
{ "text-tool-text-along-path", GIMP_ICON_PATH,
NC_("text-tool-action", "Text _along Path"), "",
NC_("text-tool-action",
"Bend the text along the currently active path"),
@ -102,12 +102,12 @@ static const GimpActionEntry text_tool_actions[] =
static const GimpRadioActionEntry text_tool_direction_actions[] =
{
{ "text-tool-direction-ltr", GIMP_STOCK_TEXT_DIR_LTR,
{ "text-tool-direction-ltr", GIMP_ICON_FORMAT_TEXT_DIRECTION_LTR,
NC_("text-tool-action", "From left to right"), NULL, NULL,
GIMP_TEXT_DIRECTION_LTR,
NULL },
{ "text-tool-direction-rtl", GIMP_STOCK_TEXT_DIR_RTL,
{ "text-tool-direction-rtl", GIMP_ICON_FORMAT_TEXT_DIRECTION_RTL,
NC_("text-tool-action", "From right to left"), NULL, NULL,
GIMP_TEXT_DIRECTION_RTL,
NULL }

View File

@ -53,38 +53,38 @@ static void tool_options_actions_update_presets (GimpActionGroup *group,
static const GimpActionEntry tool_options_actions[] =
{
{ "tool-options-popup", GIMP_STOCK_TOOL_OPTIONS,
{ "tool-options-popup", GIMP_ICON_DIALOG_TOOL_OPTIONS,
NC_("tool-options-action", "Tool Options Menu"), NULL, NULL, NULL,
GIMP_HELP_TOOL_OPTIONS_DIALOG },
{ "tool-options-save-preset-menu", "document-save",
{ "tool-options-save-preset-menu", GIMP_ICON_DOCUMENT_SAVE,
NC_("tool-options-action", "_Save Tool Preset"), "", NULL, NULL,
GIMP_HELP_TOOL_OPTIONS_SAVE },
{ "tool-options-restore-preset-menu", "document-revert",
{ "tool-options-restore-preset-menu", GIMP_ICON_DOCUMENT_REVERT,
NC_("tool-options-action", "_Restore Tool Preset"), "", NULL, NULL,
GIMP_HELP_TOOL_OPTIONS_RESTORE },
{ "tool-options-edit-preset-menu", "gtk-edit",
{ "tool-options-edit-preset-menu", GIMP_ICON_EDIT,
NC_("tool-options-action", "E_dit Tool Preset"), NULL, NULL, NULL,
GIMP_HELP_TOOL_OPTIONS_EDIT },
{ "tool-options-delete-preset-menu", "edit-delete",
{ "tool-options-delete-preset-menu", GIMP_ICON_EDIT_DELETE,
NC_("tool-options-action", "_Delete Tool Preset"), "", NULL, NULL,
GIMP_HELP_TOOL_OPTIONS_DELETE },
{ "tool-options-save-new-preset", "document-new",
{ "tool-options-save-new-preset", GIMP_ICON_DOCUMENT_NEW,
NC_("tool-options-action", "_New Tool Preset..."), "", NULL,
G_CALLBACK (tool_options_save_new_preset_cmd_callback),
GIMP_HELP_TOOL_OPTIONS_SAVE },
{ "tool-options-reset", GIMP_STOCK_RESET,
{ "tool-options-reset", GIMP_ICON_RESET,
NC_("tool-options-action", "R_eset Tool Options"), NULL,
NC_("tool-options-action", "Reset to default values"),
G_CALLBACK (tool_options_reset_cmd_callback),
GIMP_HELP_TOOL_OPTIONS_RESET },
{ "tool-options-reset-all", GIMP_STOCK_RESET,
{ "tool-options-reset-all", GIMP_ICON_RESET,
NC_("tool-options-action", "Reset _all Tool Options"), NULL,
NC_("tool-options-action", "Reset all tool options"),
G_CALLBACK (tool_options_reset_all_cmd_callback),

View File

@ -186,7 +186,7 @@ tool_options_reset_all_cmd_callback (GtkAction *action,
GtkWidget *dialog;
dialog = gimp_message_dialog_new (_("Reset All Tool Options"),
GIMP_STOCK_QUESTION,
GIMP_ICON_DIALOG_QUESTION,
GTK_WIDGET (editor),
GTK_DIALOG_MODAL |
GTK_DIALOG_DESTROY_WITH_PARENT,

View File

@ -40,18 +40,18 @@
static const GimpActionEntry tool_preset_editor_actions[] =
{
{ "tool-preset-editor-popup", GIMP_STOCK_TOOL_PRESET,
{ "tool-preset-editor-popup", GIMP_ICON_TOOL_PRESET,
NC_("tool-preset-editor-action", "Tool Preset Editor Menu"), NULL, NULL, NULL,
GIMP_HELP_TOOL_PRESET_EDITOR_DIALOG },
{ "tool-preset-editor-save", "document-save",
{ "tool-preset-editor-save", GIMP_ICON_DOCUMENT_SAVE,
NC_("tool-preset-editor-action", "_Save Tool Options to Preset"), NULL,
NC_("tool-preset-editor-action", "Save the active tool options to this "
"tool preset"),
G_CALLBACK (tool_preset_editor_save_cmd_callback),
GIMP_HELP_TOOL_PRESET_SAVE },
{ "tool-preset-editor-restore", "document-revert",
{ "tool-preset-editor-restore", GIMP_ICON_DOCUMENT_REVERT,
NC_("tool-preset-editor-action", "_Restore Tool Preset"), NULL,
NC_("tool-preset-editor-action", "Restore this tool preset"),
G_CALLBACK (tool_preset_editor_restore_cmd_callback),
@ -61,7 +61,7 @@ static const GimpActionEntry tool_preset_editor_actions[] =
static const GimpToggleActionEntry tool_preset_editor_toggle_actions[] =
{
{ "tool-preset-editor-edit-active", GIMP_STOCK_LINKED,
{ "tool-preset-editor-edit-active", GIMP_ICON_LINKED,
NC_("tool-preset-editor-action", "Edit Active Tool Preset"), NULL, NULL,
G_CALLBACK (data_editor_edit_active_cmd_callback),
FALSE,

View File

@ -42,23 +42,23 @@
static const GimpActionEntry tool_presets_actions[] =
{
{ "tool-presets-popup", GIMP_STOCK_TOOL_PRESET,
{ "tool-presets-popup", GIMP_ICON_TOOL_PRESET,
NC_("tool-presets-action", "Tool Presets Menu"), NULL, NULL, NULL,
GIMP_HELP_TOOL_PRESET_DIALOG },
{ "tool-presets-new", "document-new",
{ "tool-presets-new", GIMP_ICON_DOCUMENT_NEW,
NC_("tool-presets-action", "_New Tool Preset"), NULL,
NC_("tool-presets-action", "Create a new tool preset"),
G_CALLBACK (data_new_cmd_callback),
GIMP_HELP_TOOL_PRESET_NEW },
{ "tool-presets-duplicate", GIMP_STOCK_DUPLICATE,
{ "tool-presets-duplicate", GIMP_ICON_OBJECT_DUPLICATE,
NC_("tool-presets-action", "D_uplicate Tool Preset"), NULL,
NC_("tool-presets-action", "Duplicate this tool preset"),
G_CALLBACK (data_duplicate_cmd_callback),
GIMP_HELP_TOOL_PRESET_DUPLICATE },
{ "tool-presets-copy-location", "edit-copy",
{ "tool-presets-copy-location", GIMP_ICON_EDIT_COPY,
NC_("tool-presets-action", "Copy Tool Preset _Location"), NULL,
NC_("tool-presets-action", "Copy tool preset file location to clipboard"),
G_CALLBACK (data_copy_location_cmd_callback),
@ -70,26 +70,26 @@ static const GimpActionEntry tool_presets_actions[] =
G_CALLBACK (data_show_in_file_manager_cmd_callback),
GIMP_HELP_TOOL_PRESET_SHOW_IN_FILE_MANAGER },
{ "tool-presets-save", "document-save",
{ "tool-presets-save", GIMP_ICON_DOCUMENT_SAVE,
NC_("tool-presets-action", "_Save Tool Options to Preset"), NULL,
NC_("tool-presets-action", "Save the active tool options to this "
"tool preset"),
G_CALLBACK (tool_presets_save_cmd_callback),
GIMP_HELP_TOOL_PRESET_SAVE },
{ "tool-presets-restore", "document-revert",
{ "tool-presets-restore", GIMP_ICON_DOCUMENT_REVERT,
NC_("tool-presets-action", "_Restore Tool Preset"), NULL,
NC_("tool-presets-action", "Restore this tool preset"),
G_CALLBACK (tool_presets_restore_cmd_callback),
GIMP_HELP_TOOL_PRESET_RESTORE },
{ "tool-presets-delete", "edit-delete",
{ "tool-presets-delete", GIMP_ICON_EDIT_DELETE,
NC_("tool-presets-action", "_Delete Tool Preset"), NULL,
NC_("tool-presets-action", "Delete this tool preset"),
G_CALLBACK (data_delete_cmd_callback),
GIMP_HELP_TOOL_PRESET_DELETE },
{ "tool-presets-refresh", "view-refresh",
{ "tool-presets-refresh", GIMP_ICON_VIEW_REFRESH,
NC_("tool-presets-action", "_Refresh Tool Presets"), NULL,
NC_("tool-presets-action", "Refresh tool presets"),
G_CALLBACK (data_refresh_cmd_callback),
@ -98,7 +98,7 @@ static const GimpActionEntry tool_presets_actions[] =
static const GimpStringActionEntry tool_presets_edit_actions[] =
{
{ "tool-presets-edit", "gtk-edit",
{ "tool-presets-edit", GIMP_ICON_EDIT,
NC_("tool-presets-action", "_Edit Tool Preset..."), NULL,
NC_("tool-presets-action", "Edit this tool preset"),
"gimp-tool-preset-editor",

View File

@ -52,13 +52,13 @@ static const GimpActionEntry tools_actions[] =
static const GimpStringActionEntry tools_alternative_actions[] =
{
{ "tools-by-color-select-short", GIMP_STOCK_TOOL_BY_COLOR_SELECT,
{ "tools-by-color-select-short", GIMP_ICON_TOOL_BY_COLOR_SELECT,
NC_("tools-action", "_By Color"), NULL,
NC_("tools-action", "Select regions with similar colors"),
"gimp-by-color-select-tool",
GIMP_HELP_TOOL_BY_COLOR_SELECT },
{ "tools-rotate-arbitrary", GIMP_STOCK_TOOL_ROTATE,
{ "tools-rotate-arbitrary", GIMP_ICON_TOOL_ROTATE,
NC_("tools-action", "_Arbitrary Rotation..."), "",
NC_("tools-action", "Rotate by an arbitrary angle"),
"gimp-rotate-layer",
@ -67,7 +67,7 @@ static const GimpStringActionEntry tools_alternative_actions[] =
static const GimpEnumActionEntry tools_color_average_radius_actions[] =
{
{ "tools-color-average-radius-set", GIMP_STOCK_TOOL_COLOR_PICKER,
{ "tools-color-average-radius-set", GIMP_ICON_TOOL_COLOR_PICKER,
"Set Color Picker Radius", NULL, NULL,
GIMP_ACTION_SELECT_SET, TRUE,
NULL }
@ -75,7 +75,7 @@ static const GimpEnumActionEntry tools_color_average_radius_actions[] =
static const GimpEnumActionEntry tools_paintbrush_size_actions[] =
{
{ "tools-paintbrush-size-set", GIMP_STOCK_TOOL_PAINTBRUSH,
{ "tools-paintbrush-size-set", GIMP_ICON_TOOL_PAINTBRUSH,
"Set Brush Size", NULL, NULL,
GIMP_ACTION_SELECT_SET, TRUE,
NULL }
@ -83,7 +83,7 @@ static const GimpEnumActionEntry tools_paintbrush_size_actions[] =
static const GimpEnumActionEntry tools_paintbrush_aspect_ratio_actions[] =
{
{ "tools-paintbrush-aspect-ratio-set", GIMP_STOCK_TOOL_PAINTBRUSH,
{ "tools-paintbrush-aspect-ratio-set", GIMP_ICON_TOOL_PAINTBRUSH,
"Set Brush Aspect Ratio", NULL, NULL,
GIMP_ACTION_SELECT_SET, TRUE,
NULL }
@ -91,7 +91,7 @@ static const GimpEnumActionEntry tools_paintbrush_aspect_ratio_actions[] =
static const GimpEnumActionEntry tools_paintbrush_angle_actions[] =
{
{ "tools-paintbrush-angle-set", GIMP_STOCK_TOOL_PAINTBRUSH,
{ "tools-paintbrush-angle-set", GIMP_ICON_TOOL_PAINTBRUSH,
"Set Brush Angle", NULL, NULL,
GIMP_ACTION_SELECT_SET, TRUE,
NULL }
@ -99,7 +99,7 @@ static const GimpEnumActionEntry tools_paintbrush_angle_actions[] =
static const GimpEnumActionEntry tools_paintbrush_spacing_actions[] =
{
{ "tools-paintbrush-spacing-set", GIMP_STOCK_TOOL_PAINTBRUSH,
{ "tools-paintbrush-spacing-set", GIMP_ICON_TOOL_PAINTBRUSH,
"Set Brush Spacing", NULL, NULL,
GIMP_ACTION_SELECT_SET, TRUE,
NULL }
@ -107,7 +107,7 @@ static const GimpEnumActionEntry tools_paintbrush_spacing_actions[] =
static const GimpEnumActionEntry tools_paintbrush_hardness_actions[] =
{
{ "tools-paintbrush-hardness-set", GIMP_STOCK_TOOL_PAINTBRUSH,
{ "tools-paintbrush-hardness-set", GIMP_ICON_TOOL_PAINTBRUSH,
"Set Brush Hardness", NULL, NULL,
GIMP_ACTION_SELECT_SET, TRUE,
NULL }
@ -115,7 +115,7 @@ static const GimpEnumActionEntry tools_paintbrush_hardness_actions[] =
static const GimpEnumActionEntry tools_paintbrush_force_actions[] =
{
{ "tools-paintbrush-force-set", GIMP_STOCK_TOOL_PAINTBRUSH,
{ "tools-paintbrush-force-set", GIMP_ICON_TOOL_PAINTBRUSH,
"Set Brush Force", NULL, NULL,
GIMP_ACTION_SELECT_SET, TRUE,
NULL }
@ -123,7 +123,7 @@ static const GimpEnumActionEntry tools_paintbrush_force_actions[] =
static const GimpEnumActionEntry tools_ink_blob_size_actions[] =
{
{ "tools-ink-blob-size-set", GIMP_STOCK_TOOL_INK,
{ "tools-ink-blob-size-set", GIMP_ICON_TOOL_INK,
"Set Ink Blob Size", NULL, NULL,
GIMP_ACTION_SELECT_SET, TRUE,
NULL }
@ -131,7 +131,7 @@ static const GimpEnumActionEntry tools_ink_blob_size_actions[] =
static const GimpEnumActionEntry tools_ink_blob_aspect_actions[] =
{
{ "tools-ink-blob-aspect-set", GIMP_STOCK_TOOL_INK,
{ "tools-ink-blob-aspect-set", GIMP_ICON_TOOL_INK,
"Set Ink Blob Aspect", NULL, NULL,
GIMP_ACTION_SELECT_SET, TRUE,
NULL }
@ -139,7 +139,7 @@ static const GimpEnumActionEntry tools_ink_blob_aspect_actions[] =
static const GimpEnumActionEntry tools_ink_blob_angle_actions[] =
{
{ "tools-ink-blob-angle-set", GIMP_STOCK_TOOL_INK,
{ "tools-ink-blob-angle-set", GIMP_ICON_TOOL_INK,
"Set Ink Blob Angle", NULL, NULL,
GIMP_ACTION_SELECT_SET, TRUE,
NULL }
@ -147,31 +147,31 @@ static const GimpEnumActionEntry tools_ink_blob_angle_actions[] =
static const GimpEnumActionEntry tools_airbrush_rate_actions[] =
{
{ "tools-airbrush-rate-set", GIMP_STOCK_TOOL_AIRBRUSH,
{ "tools-airbrush-rate-set", GIMP_ICON_TOOL_AIRBRUSH,
"Set Airrush Rate", NULL, NULL,
GIMP_ACTION_SELECT_SET, TRUE,
NULL },
{ "tools-airbrush-rate-minimum", GIMP_STOCK_TOOL_AIRBRUSH,
{ "tools-airbrush-rate-minimum", GIMP_ICON_TOOL_AIRBRUSH,
"Minimum Rate", NULL, NULL,
GIMP_ACTION_SELECT_FIRST, FALSE,
NULL },
{ "tools-airbrush-rate-maximum", GIMP_STOCK_TOOL_AIRBRUSH,
{ "tools-airbrush-rate-maximum", GIMP_ICON_TOOL_AIRBRUSH,
"Maximum Rate", NULL, NULL,
GIMP_ACTION_SELECT_LAST, FALSE,
NULL },
{ "tools-airbrush-rate-decrease", GIMP_STOCK_TOOL_AIRBRUSH,
{ "tools-airbrush-rate-decrease", GIMP_ICON_TOOL_AIRBRUSH,
"Decrease Rate", NULL, NULL,
GIMP_ACTION_SELECT_PREVIOUS, FALSE,
NULL },
{ "tools-airbrush-rate-increase", GIMP_STOCK_TOOL_AIRBRUSH,
{ "tools-airbrush-rate-increase", GIMP_ICON_TOOL_AIRBRUSH,
"Increase Rate", NULL, NULL,
GIMP_ACTION_SELECT_NEXT, FALSE,
NULL },
{ "tools-airbrush-rate-decrease-skip", GIMP_STOCK_TOOL_AIRBRUSH,
{ "tools-airbrush-rate-decrease-skip", GIMP_ICON_TOOL_AIRBRUSH,
"Decrease Rate More", NULL, NULL,
GIMP_ACTION_SELECT_SKIP_PREVIOUS, FALSE,
NULL },
{ "tools-airbrush-rate-increase-skip", GIMP_STOCK_TOOL_AIRBRUSH,
{ "tools-airbrush-rate-increase-skip", GIMP_ICON_TOOL_AIRBRUSH,
"Increase Rate More", NULL, NULL,
GIMP_ACTION_SELECT_SKIP_NEXT, FALSE,
NULL }
@ -179,31 +179,31 @@ static const GimpEnumActionEntry tools_airbrush_rate_actions[] =
static const GimpEnumActionEntry tools_airbrush_flow_actions[] =
{
{ "tools-airbrush-flow-set", GIMP_STOCK_TOOL_AIRBRUSH,
{ "tools-airbrush-flow-set", GIMP_ICON_TOOL_AIRBRUSH,
"Set Airrush Flow", NULL, NULL,
GIMP_ACTION_SELECT_SET, TRUE,
NULL },
{ "tools-airbrush-flow-minimum", GIMP_STOCK_TOOL_AIRBRUSH,
{ "tools-airbrush-flow-minimum", GIMP_ICON_TOOL_AIRBRUSH,
"Minimum Flow", NULL, NULL,
GIMP_ACTION_SELECT_FIRST, FALSE,
NULL },
{ "tools-airbrush-flow-maximum", GIMP_STOCK_TOOL_AIRBRUSH,
{ "tools-airbrush-flow-maximum", GIMP_ICON_TOOL_AIRBRUSH,
"Maximum Flow", NULL, NULL,
GIMP_ACTION_SELECT_LAST, FALSE,
NULL },
{ "tools-airbrush-flow-decrease", GIMP_STOCK_TOOL_AIRBRUSH,
{ "tools-airbrush-flow-decrease", GIMP_ICON_TOOL_AIRBRUSH,
"Decrease Flow", NULL, NULL,
GIMP_ACTION_SELECT_PREVIOUS, FALSE,
NULL },
{ "tools-airbrush-flow-increase", GIMP_STOCK_TOOL_AIRBRUSH,
{ "tools-airbrush-flow-increase", GIMP_ICON_TOOL_AIRBRUSH,
"Increase Flow", NULL, NULL,
GIMP_ACTION_SELECT_NEXT, FALSE,
NULL },
{ "tools-airbrush-flow-decrease-skip", GIMP_STOCK_TOOL_AIRBRUSH,
{ "tools-airbrush-flow-decrease-skip", GIMP_ICON_TOOL_AIRBRUSH,
"Decrease Flow More", NULL, NULL,
GIMP_ACTION_SELECT_SKIP_PREVIOUS, FALSE,
NULL },
{ "tools-airbrush-flow-increase-skip", GIMP_STOCK_TOOL_AIRBRUSH,
{ "tools-airbrush-flow-increase-skip", GIMP_ICON_TOOL_AIRBRUSH,
"Increase Flow More", NULL, NULL,
GIMP_ACTION_SELECT_SKIP_NEXT, FALSE,
NULL }
@ -228,7 +228,7 @@ static const GimpEnumActionEntry tools_mybrush_hardness_actions[] =
static const GimpEnumActionEntry tools_foreground_select_brush_size_actions[] =
{
{ "tools-foreground-select-brush-size-set",
GIMP_STOCK_TOOL_FOREGROUND_SELECT,
GIMP_ICON_TOOL_FOREGROUND_SELECT,
"Set Foreground Select Brush Size", NULL, NULL,
GIMP_ACTION_SELECT_SET, TRUE,
NULL }
@ -236,7 +236,7 @@ static const GimpEnumActionEntry tools_foreground_select_brush_size_actions[] =
static const GimpEnumActionEntry tools_transform_preview_opacity_actions[] =
{
{ "tools-transform-preview-opacity-set", GIMP_STOCK_TOOL_PERSPECTIVE,
{ "tools-transform-preview-opacity-set", GIMP_ICON_TOOL_PERSPECTIVE,
"Set Transform Tool Preview Opacity", NULL, NULL,
GIMP_ACTION_SELECT_SET, TRUE,
NULL }
@ -260,43 +260,43 @@ static const GimpEnumActionEntry tools_warp_effect_hardness_actions[] =
static const GimpEnumActionEntry tools_opacity_actions[] =
{
{ "tools-opacity-set", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-opacity-set", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Set Opacity", NULL, NULL,
GIMP_ACTION_SELECT_SET, TRUE,
NULL },
{ "tools-opacity-set-to-default", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-opacity-set-to-default", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Set Opacity To Default Value", NULL, NULL,
GIMP_ACTION_SELECT_SET_TO_DEFAULT, FALSE,
NULL },
{ "tools-opacity-minimum", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-opacity-minimum", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Minimize Opacity", NULL, NULL,
GIMP_ACTION_SELECT_FIRST, FALSE,
NULL },
{ "tools-opacity-maximum", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-opacity-maximum", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Maximize Opacity", NULL, NULL,
GIMP_ACTION_SELECT_LAST, FALSE,
NULL },
{ "tools-opacity-decrease", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-opacity-decrease", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Decrease Opacity", "less", NULL,
GIMP_ACTION_SELECT_PREVIOUS, FALSE,
NULL },
{ "tools-opacity-increase", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-opacity-increase", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Increase Opacity", "greater", NULL,
GIMP_ACTION_SELECT_NEXT, FALSE,
NULL },
{ "tools-opacity-decrease-skip", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-opacity-decrease-skip", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Decrease Opacity More", "<primary>less", NULL,
GIMP_ACTION_SELECT_SKIP_PREVIOUS, FALSE,
NULL },
{ "tools-opacity-increase-skip", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-opacity-increase-skip", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Increase Opacity More", "<primary>greater", NULL,
GIMP_ACTION_SELECT_SKIP_NEXT, FALSE,
NULL },
{ "tools-opacity-decrease-percent", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-opacity-decrease-percent", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Decrease Opacity Relative", NULL, NULL,
GIMP_ACTION_SELECT_PERCENT_PREVIOUS, FALSE,
NULL },
{ "tools-opacity-increase-percent", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-opacity-increase-percent", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Increase Opacity Relative", NULL, NULL,
GIMP_ACTION_SELECT_PERCENT_NEXT, FALSE,
NULL },
@ -304,43 +304,43 @@ static const GimpEnumActionEntry tools_opacity_actions[] =
static const GimpEnumActionEntry tools_size_actions[] =
{
{ "tools-size-set", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-size-set", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Set Size", NULL, NULL,
GIMP_ACTION_SELECT_SET, TRUE,
NULL },
{ "tools-size-set-to-default", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-size-set-to-default", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Set Size To Default Value", "backslash", NULL,
GIMP_ACTION_SELECT_SET_TO_DEFAULT, FALSE,
NULL },
{ "tools-size-minimum", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-size-minimum", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Minimize Size", NULL, NULL,
GIMP_ACTION_SELECT_FIRST, FALSE,
NULL },
{ "tools-size-maximum", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-size-maximum", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Maximize Size", NULL, NULL,
GIMP_ACTION_SELECT_LAST, FALSE,
NULL },
{ "tools-size-decrease", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-size-decrease", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Decrease Size", "bracketleft", NULL,
GIMP_ACTION_SELECT_PREVIOUS, FALSE,
NULL },
{ "tools-size-increase", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-size-increase", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Increase Size", "bracketright", NULL,
GIMP_ACTION_SELECT_NEXT, FALSE,
NULL },
{ "tools-size-decrease-skip", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-size-decrease-skip", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Decrease Size More", "<shift>bracketleft", NULL,
GIMP_ACTION_SELECT_SKIP_PREVIOUS, FALSE,
NULL },
{ "tools-size-increase-skip", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-size-increase-skip", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Increase Size More", "<shift>bracketright", NULL,
GIMP_ACTION_SELECT_SKIP_NEXT, FALSE,
NULL },
{ "tools-size-decrease-percent", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-size-decrease-percent", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Decrease Size Relative", NULL, NULL,
GIMP_ACTION_SELECT_PERCENT_PREVIOUS, FALSE,
NULL },
{ "tools-size-increase-percent", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-size-increase-percent", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Increase Size Relative", NULL, NULL,
GIMP_ACTION_SELECT_PERCENT_NEXT, FALSE,
NULL },
@ -348,43 +348,43 @@ static const GimpEnumActionEntry tools_size_actions[] =
static const GimpEnumActionEntry tools_aspect_actions[] =
{
{ "tools-aspect-set", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-aspect-set", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Set Aspect Ratio", NULL, NULL,
GIMP_ACTION_SELECT_SET, TRUE,
NULL },
{ "tools-aspect-set-to-default", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-aspect-set-to-default", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Set Aspect Ratio To Default Value", NULL, NULL,
GIMP_ACTION_SELECT_SET_TO_DEFAULT, FALSE,
NULL },
{ "tools-aspect-minimum", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-aspect-minimum", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Minimize Aspect Ratio", NULL, NULL,
GIMP_ACTION_SELECT_FIRST, FALSE,
NULL },
{ "tools-aspect-maximum", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-aspect-maximum", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Maximize Aspect Ratio", NULL, NULL,
GIMP_ACTION_SELECT_LAST, FALSE,
NULL },
{ "tools-aspect-decrease", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-aspect-decrease", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Decrease Aspect Ratio", NULL, NULL,
GIMP_ACTION_SELECT_PREVIOUS, FALSE,
NULL },
{ "tools-aspect-increase", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-aspect-increase", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Increase Aspect Ratio", NULL, NULL,
GIMP_ACTION_SELECT_NEXT, FALSE,
NULL },
{ "tools-aspect-decrease-skip", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-aspect-decrease-skip", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Decrease Aspect Ratio More", NULL, NULL,
GIMP_ACTION_SELECT_SKIP_PREVIOUS, FALSE,
NULL },
{ "tools-aspect-increase-skip", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-aspect-increase-skip", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Increase Aspect Ratio More", NULL, NULL,
GIMP_ACTION_SELECT_SKIP_NEXT, FALSE,
NULL },
{ "tools-aspect-decrease-percent", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-aspect-decrease-percent", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Decrease Aspect Ratio Relative", NULL, NULL,
GIMP_ACTION_SELECT_PERCENT_PREVIOUS, FALSE,
NULL },
{ "tools-aspect-increase-percent", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-aspect-increase-percent", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Increase Aspect Ratio Relative", NULL, NULL,
GIMP_ACTION_SELECT_PERCENT_NEXT, FALSE,
NULL },
@ -392,43 +392,43 @@ static const GimpEnumActionEntry tools_aspect_actions[] =
static const GimpEnumActionEntry tools_angle_actions[] =
{
{ "tools-angle-set", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-angle-set", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Set Angle", NULL, NULL,
GIMP_ACTION_SELECT_SET, TRUE,
NULL },
{ "tools-angle-set-to-default", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-angle-set-to-default", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Set Angle To Default Value", NULL, NULL,
GIMP_ACTION_SELECT_SET_TO_DEFAULT, FALSE,
NULL },
{ "tools-angle-minimum", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-angle-minimum", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Minimize Angle", NULL, NULL,
GIMP_ACTION_SELECT_FIRST, FALSE,
NULL },
{ "tools-angle-maximum", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-angle-maximum", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Maximize Angle", NULL, NULL,
GIMP_ACTION_SELECT_LAST, FALSE,
NULL },
{ "tools-angle-decrease", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-angle-decrease", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Decrease Angle", NULL, NULL,
GIMP_ACTION_SELECT_PREVIOUS, FALSE,
NULL },
{ "tools-angle-increase", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-angle-increase", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Increase Angle", NULL, NULL,
GIMP_ACTION_SELECT_NEXT, FALSE,
NULL },
{ "tools-angle-decrease-skip", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-angle-decrease-skip", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Decrease Angle More", NULL, NULL,
GIMP_ACTION_SELECT_SKIP_PREVIOUS, FALSE,
NULL },
{ "tools-angle-increase-skip", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-angle-increase-skip", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Increase Angle More", NULL, NULL,
GIMP_ACTION_SELECT_SKIP_NEXT, FALSE,
NULL },
{ "tools-angle-decrease-percent", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-angle-decrease-percent", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Decrease Angle Relative", NULL, NULL,
GIMP_ACTION_SELECT_PERCENT_PREVIOUS, FALSE,
NULL },
{ "tools-angle-increase-percent", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-angle-increase-percent", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Increase Angle Relative", NULL, NULL,
GIMP_ACTION_SELECT_PERCENT_NEXT, FALSE,
NULL },
@ -436,43 +436,43 @@ static const GimpEnumActionEntry tools_angle_actions[] =
static const GimpEnumActionEntry tools_spacing_actions[] =
{
{ "tools-spacing-set", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-spacing-set", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Set Spacing", NULL, NULL,
GIMP_ACTION_SELECT_SET, TRUE,
NULL },
{ "tools-spacing-set-to-default", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-spacing-set-to-default", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Set Spacing To Default Value", NULL, NULL,
GIMP_ACTION_SELECT_SET_TO_DEFAULT, FALSE,
NULL },
{ "tools-spacing-minimum", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-spacing-minimum", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Minimize Spacing", NULL, NULL,
GIMP_ACTION_SELECT_FIRST, FALSE,
NULL },
{ "tools-spacing-maximum", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-spacing-maximum", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Maximize Spacing", NULL, NULL,
GIMP_ACTION_SELECT_LAST, FALSE,
NULL },
{ "tools-spacing-decrease", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-spacing-decrease", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Decrease Spacing", NULL, NULL,
GIMP_ACTION_SELECT_PREVIOUS, FALSE,
NULL },
{ "tools-spacing-increase", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-spacing-increase", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Increase Spacing", NULL, NULL,
GIMP_ACTION_SELECT_NEXT, FALSE,
NULL },
{ "tools-spacing-decrease-skip", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-spacing-decrease-skip", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Decrease Spacing More", NULL, NULL,
GIMP_ACTION_SELECT_SKIP_PREVIOUS, FALSE,
NULL },
{ "tools-spacing-increase-skip", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-spacing-increase-skip", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Increase Spacing More", NULL, NULL,
GIMP_ACTION_SELECT_SKIP_NEXT, FALSE,
NULL },
{ "tools-spacing-decrease-percent", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-spacing-decrease-percent", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Decrease Spacing Relative", NULL, NULL,
GIMP_ACTION_SELECT_PERCENT_PREVIOUS, FALSE,
NULL },
{ "tools-spacing-increase-percent", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-spacing-increase-percent", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Increase Spacing Relative", NULL, NULL,
GIMP_ACTION_SELECT_PERCENT_NEXT, FALSE,
NULL },
@ -480,43 +480,43 @@ static const GimpEnumActionEntry tools_spacing_actions[] =
static const GimpEnumActionEntry tools_hardness_actions[] =
{
{ "tools-hardness-set", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-hardness-set", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Set Hardness", NULL, NULL,
GIMP_ACTION_SELECT_SET, TRUE,
NULL },
{ "tools-hardness-set-to-default", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-hardness-set-to-default", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Set Hardness To Default Value", NULL, NULL,
GIMP_ACTION_SELECT_SET_TO_DEFAULT, FALSE,
NULL },
{ "tools-hardness-minimum", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-hardness-minimum", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Minimize Hardness", NULL, NULL,
GIMP_ACTION_SELECT_FIRST, FALSE,
NULL },
{ "tools-hardness-maximum", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-hardness-maximum", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Maximize Hardness", NULL, NULL,
GIMP_ACTION_SELECT_LAST, FALSE,
NULL },
{ "tools-hardness-decrease", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-hardness-decrease", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Decrease Hardness", NULL, NULL,
GIMP_ACTION_SELECT_PREVIOUS, FALSE,
NULL },
{ "tools-hardness-increase", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-hardness-increase", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Increase Hardness", NULL, NULL,
GIMP_ACTION_SELECT_NEXT, FALSE,
NULL },
{ "tools-hardness-decrease-skip", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-hardness-decrease-skip", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Decrease Hardness More", NULL, NULL,
GIMP_ACTION_SELECT_SKIP_PREVIOUS, FALSE,
NULL },
{ "tools-hardness-increase-skip", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-hardness-increase-skip", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Increase Hardness More", NULL, NULL,
GIMP_ACTION_SELECT_SKIP_NEXT, FALSE,
NULL },
{ "tools-hardness-decrease-percent", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-hardness-decrease-percent", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Decrease Hardness Relative", NULL, NULL,
GIMP_ACTION_SELECT_PERCENT_PREVIOUS, FALSE,
NULL },
{ "tools-hardness-increase-percent", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-hardness-increase-percent", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Increase Hardness Relative", NULL, NULL,
GIMP_ACTION_SELECT_PERCENT_NEXT, FALSE,
NULL },
@ -524,43 +524,43 @@ static const GimpEnumActionEntry tools_hardness_actions[] =
static const GimpEnumActionEntry tools_force_actions[] =
{
{ "tools-force-set", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-force-set", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Set Force", NULL, NULL,
GIMP_ACTION_SELECT_SET, TRUE,
NULL },
{ "tools-force-set-to-default", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-force-set-to-default", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Set Force To Default Value", NULL, NULL,
GIMP_ACTION_SELECT_SET_TO_DEFAULT, FALSE,
NULL },
{ "tools-force-minimum", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-force-minimum", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Minimize Force", NULL, NULL,
GIMP_ACTION_SELECT_FIRST, FALSE,
NULL },
{ "tools-force-maximum", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-force-maximum", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Maximize Force", NULL, NULL,
GIMP_ACTION_SELECT_LAST, FALSE,
NULL },
{ "tools-force-decrease", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-force-decrease", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Decrease Force", NULL, NULL,
GIMP_ACTION_SELECT_PREVIOUS, FALSE,
NULL },
{ "tools-force-increase", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-force-increase", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Increase Force", NULL, NULL,
GIMP_ACTION_SELECT_NEXT, FALSE,
NULL },
{ "tools-force-decrease-skip", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-force-decrease-skip", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Decrease Force More", NULL, NULL,
GIMP_ACTION_SELECT_SKIP_PREVIOUS, FALSE,
NULL },
{ "tools-force-increase-skip", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-force-increase-skip", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Increase Force More", NULL, NULL,
GIMP_ACTION_SELECT_SKIP_NEXT, FALSE,
NULL },
{ "tools-force-decrease-percent", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-force-decrease-percent", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Decrease Force Relative", NULL, NULL,
GIMP_ACTION_SELECT_PERCENT_PREVIOUS, FALSE,
NULL },
{ "tools-force-increase-percent", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-force-increase-percent", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Increase Force Relative", NULL, NULL,
GIMP_ACTION_SELECT_PERCENT_NEXT, FALSE,
NULL },
@ -568,23 +568,23 @@ static const GimpEnumActionEntry tools_force_actions[] =
static const GimpEnumActionEntry tools_object_1_actions[] =
{
{ "tools-object-1-set", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-object-1-set", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Select Object 1 by Index", NULL, NULL,
GIMP_ACTION_SELECT_SET, TRUE,
NULL },
{ "tools-object-1-first", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-object-1-first", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"First Object 1", NULL, NULL,
GIMP_ACTION_SELECT_FIRST, FALSE,
NULL },
{ "tools-object-1-last", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-object-1-last", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Last Object 1", NULL, NULL,
GIMP_ACTION_SELECT_LAST, FALSE,
NULL },
{ "tools-object-1-previous", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-object-1-previous", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Previous Object 1", NULL, NULL,
GIMP_ACTION_SELECT_PREVIOUS, FALSE,
NULL },
{ "tools-object-1-next", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-object-1-next", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Next Object 1", NULL, NULL,
GIMP_ACTION_SELECT_NEXT, FALSE,
NULL }
@ -592,23 +592,23 @@ static const GimpEnumActionEntry tools_object_1_actions[] =
static const GimpEnumActionEntry tools_object_2_actions[] =
{
{ "tools-object-2-set", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-object-2-set", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Select Object 2 by Index", NULL, NULL,
GIMP_ACTION_SELECT_SET, TRUE,
NULL },
{ "tools-object-2-first", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-object-2-first", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"First Object 2", NULL, NULL,
GIMP_ACTION_SELECT_FIRST, FALSE,
NULL },
{ "tools-object-2-last", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-object-2-last", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Last Object 2", NULL, NULL,
GIMP_ACTION_SELECT_LAST, FALSE,
NULL },
{ "tools-object-2-previous", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-object-2-previous", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Previous Object 2", NULL, NULL,
GIMP_ACTION_SELECT_PREVIOUS, FALSE,
NULL },
{ "tools-object-2-next", GIMP_STOCK_TOOL_OPTIONS,
{ "tools-object-2-next", GIMP_ICON_DIALOG_TOOL_OPTIONS,
"Next Object 2", NULL, NULL,
GIMP_ACTION_SELECT_NEXT, FALSE,
NULL }

View File

@ -42,44 +42,44 @@
static const GimpActionEntry vectors_actions[] =
{
{ "vectors-popup", GIMP_STOCK_PATHS,
{ "vectors-popup", GIMP_ICON_DIALOG_PATHS,
NC_("vectors-action", "Paths Menu"), NULL, NULL, NULL,
GIMP_HELP_PATH_DIALOG },
{ "vectors-color-tag-menu", GIMP_STOCK_CLOSE /* abused */,
{ "vectors-color-tag-menu", GIMP_ICON_CLOSE /* abused */,
NC_("vectors-action", "Color Tag"), NULL, NULL, NULL,
GIMP_HELP_PATH_COLOR_TAG },
{ "vectors-path-tool", GIMP_STOCK_TOOL_PATH,
{ "vectors-path-tool", GIMP_ICON_TOOL_PATH,
NC_("vectors-action", "Path _Tool"), NULL, NULL,
G_CALLBACK (vectors_vectors_tool_cmd_callback),
GIMP_HELP_TOOL_VECTORS },
{ "vectors-edit-attributes", "gtk-edit",
{ "vectors-edit-attributes", GIMP_ICON_EDIT,
NC_("vectors-action", "_Edit Path Attributes..."), NULL,
NC_("vectors-action", "Edit path attributes"),
G_CALLBACK (vectors_edit_attributes_cmd_callback),
GIMP_HELP_PATH_EDIT },
{ "vectors-new", "document-new",
{ "vectors-new", GIMP_ICON_DOCUMENT_NEW,
NC_("vectors-action", "_New Path..."), NULL,
NC_("vectors-action", "Create a new path..."),
G_CALLBACK (vectors_new_cmd_callback),
GIMP_HELP_PATH_NEW },
{ "vectors-new-last-values", "document-new",
{ "vectors-new-last-values", GIMP_ICON_DOCUMENT_NEW,
NC_("vectors-action", "_New Path with last values"), NULL,
NC_("vectors-action", "Create a new path with last used values"),
G_CALLBACK (vectors_new_last_vals_cmd_callback),
GIMP_HELP_PATH_NEW },
{ "vectors-duplicate", GIMP_STOCK_DUPLICATE,
{ "vectors-duplicate", GIMP_ICON_OBJECT_DUPLICATE,
NC_("vectors-action", "D_uplicate Path"), NULL,
NC_("vectors-action", "Duplicate this path"),
G_CALLBACK (vectors_duplicate_cmd_callback),
GIMP_HELP_PATH_DUPLICATE },
{ "vectors-delete", "edit-delete",
{ "vectors-delete", GIMP_ICON_EDIT_DELETE,
NC_("vectors-action", "_Delete Path"), NULL,
NC_("vectors-action", "Delete this path"),
G_CALLBACK (vectors_delete_cmd_callback),
@ -90,70 +90,70 @@ static const GimpActionEntry vectors_actions[] =
G_CALLBACK (vectors_merge_visible_cmd_callback),
GIMP_HELP_PATH_MERGE_VISIBLE },
{ "vectors-raise", "go-up",
{ "vectors-raise", GIMP_ICON_GO_UP,
NC_("vectors-action", "_Raise Path"), NULL,
NC_("vectors-action", "Raise this path"),
G_CALLBACK (vectors_raise_cmd_callback),
GIMP_HELP_PATH_RAISE },
{ "vectors-raise-to-top", "go-top",
{ "vectors-raise-to-top", GIMP_ICON_GO_TOP,
NC_("vectors-action", "Raise Path to _Top"), NULL,
NC_("vectors-action", "Raise this path to the top"),
G_CALLBACK (vectors_raise_to_top_cmd_callback),
GIMP_HELP_PATH_RAISE_TO_TOP },
{ "vectors-lower", "go-down",
{ "vectors-lower", GIMP_ICON_GO_DOWN,
NC_("vectors-action", "_Lower Path"), NULL,
NC_("vectors-action", "Lower this path"),
G_CALLBACK (vectors_lower_cmd_callback),
GIMP_HELP_PATH_LOWER },
{ "vectors-lower-to-bottom", "go-bottom",
{ "vectors-lower-to-bottom", GIMP_ICON_GO_BOTTOM,
NC_("vectors-action", "Lower Path to _Bottom"), NULL,
NC_("vectors-action", "Lower this path to the bottom"),
G_CALLBACK (vectors_lower_to_bottom_cmd_callback),
GIMP_HELP_PATH_LOWER_TO_BOTTOM },
{ "vectors-fill", GIMP_STOCK_TOOL_BUCKET_FILL,
{ "vectors-fill", GIMP_ICON_TOOL_BUCKET_FILL,
NC_("vectors-action", "Fill Path..."), NULL,
NC_("vectors-action", "Fill the path"),
G_CALLBACK (vectors_fill_cmd_callback),
GIMP_HELP_PATH_FILL },
{ "vectors-fill-last-values", GIMP_STOCK_TOOL_BUCKET_FILL,
{ "vectors-fill-last-values", GIMP_ICON_TOOL_BUCKET_FILL,
NC_("vectors-action", "Fill Path"), NULL,
NC_("vectors-action", "Fill the path with last values"),
G_CALLBACK (vectors_fill_last_vals_cmd_callback),
GIMP_HELP_PATH_FILL },
{ "vectors-stroke", GIMP_STOCK_PATH_STROKE,
{ "vectors-stroke", GIMP_ICON_PATH_STROKE,
NC_("vectors-action", "Stro_ke Path..."), NULL,
NC_("vectors-action", "Paint along the path"),
G_CALLBACK (vectors_stroke_cmd_callback),
GIMP_HELP_PATH_STROKE },
{ "vectors-stroke-last-values", GIMP_STOCK_PATH_STROKE,
{ "vectors-stroke-last-values", GIMP_ICON_PATH_STROKE,
NC_("vectors-action", "Stro_ke Path"), NULL,
NC_("vectors-action", "Paint along the path with last values"),
G_CALLBACK (vectors_stroke_last_vals_cmd_callback),
GIMP_HELP_PATH_STROKE },
{ "vectors-copy", "edit-copy",
{ "vectors-copy", GIMP_ICON_EDIT_COPY,
NC_("vectors-action", "Co_py Path"), "", NULL,
G_CALLBACK (vectors_copy_cmd_callback),
GIMP_HELP_PATH_COPY },
{ "vectors-paste", "edit-paste",
{ "vectors-paste", GIMP_ICON_EDIT_PASTE,
NC_("vectors-action", "Paste Pat_h"), "", NULL,
G_CALLBACK (vectors_paste_cmd_callback),
GIMP_HELP_PATH_PASTE },
{ "vectors-export", "document-save",
{ "vectors-export", GIMP_ICON_DOCUMENT_SAVE,
NC_("vectors-action", "E_xport Path..."), "", NULL,
G_CALLBACK (vectors_export_cmd_callback),
GIMP_HELP_PATH_EXPORT },
{ "vectors-import", "document-open",
{ "vectors-import", GIMP_ICON_DOCUMENT_OPEN,
NC_("vectors-action", "I_mport Path..."), "", NULL,
G_CALLBACK (vectors_import_cmd_callback),
GIMP_HELP_PATH_IMPORT }
@ -161,25 +161,25 @@ static const GimpActionEntry vectors_actions[] =
static const GimpToggleActionEntry vectors_toggle_actions[] =
{
{ "vectors-visible", GIMP_STOCK_VISIBLE,
{ "vectors-visible", GIMP_ICON_VISIBLE,
NC_("vectors-action", "_Visible"), NULL, NULL,
G_CALLBACK (vectors_visible_cmd_callback),
FALSE,
GIMP_HELP_PATH_VISIBLE },
{ "vectors-linked", GIMP_STOCK_LINKED,
{ "vectors-linked", GIMP_ICON_LINKED,
NC_("vectors-action", "_Linked"), NULL, NULL,
G_CALLBACK (vectors_linked_cmd_callback),
FALSE,
GIMP_HELP_PATH_LINKED },
{ "vectors-lock-content", NULL /* GIMP_STOCK_LOCK */,
{ "vectors-lock-content", NULL /* GIMP_ICON_LOCK */,
NC_("vectors-action", "L_ock strokes"), NULL, NULL,
G_CALLBACK (vectors_lock_content_cmd_callback),
FALSE,
GIMP_HELP_PATH_LOCK_STROKES },
{ "vectors-lock-position", GIMP_STOCK_TOOL_MOVE,
{ "vectors-lock-position", GIMP_ICON_TOOL_MOVE,
NC_("vectors-action", "L_ock position"), NULL, NULL,
G_CALLBACK (vectors_lock_position_cmd_callback),
FALSE,
@ -188,7 +188,7 @@ static const GimpToggleActionEntry vectors_toggle_actions[] =
static const GimpEnumActionEntry vectors_color_tag_actions[] =
{
{ "vectors-color-tag-none", GIMP_STOCK_CLOSE /* abused */,
{ "vectors-color-tag-none", GIMP_ICON_CLOSE /* abused */,
NC_("vectors-action", "None"), NULL,
NC_("vectors-action", "Clear color tag"),
GIMP_COLOR_TAG_NONE, FALSE,
@ -245,31 +245,31 @@ static const GimpEnumActionEntry vectors_color_tag_actions[] =
static const GimpEnumActionEntry vectors_to_selection_actions[] =
{
{ "vectors-selection-replace", GIMP_STOCK_SELECTION_REPLACE,
{ "vectors-selection-replace", GIMP_ICON_SELECTION_REPLACE,
NC_("vectors-action", "Path to Sele_ction"), NULL,
NC_("vectors-action", "Path to selection"),
GIMP_CHANNEL_OP_REPLACE, FALSE,
GIMP_HELP_PATH_SELECTION_REPLACE },
{ "vectors-selection-from-vectors", GIMP_STOCK_SELECTION_REPLACE,
{ "vectors-selection-from-vectors", GIMP_ICON_SELECTION_REPLACE,
NC_("vectors-action", "Fr_om Path"), "<shift>V",
NC_("vectors-action", "Replace selection with path"),
GIMP_CHANNEL_OP_REPLACE, FALSE,
GIMP_HELP_PATH_SELECTION_REPLACE },
{ "vectors-selection-add", GIMP_STOCK_SELECTION_ADD,
{ "vectors-selection-add", GIMP_ICON_SELECTION_ADD,
NC_("vectors-action", "_Add to Selection"), NULL,
NC_("vectors-action", "Add path to selection"),
GIMP_CHANNEL_OP_ADD, FALSE,
GIMP_HELP_PATH_SELECTION_ADD },
{ "vectors-selection-subtract", GIMP_STOCK_SELECTION_SUBTRACT,
{ "vectors-selection-subtract", GIMP_ICON_SELECTION_SUBTRACT,
NC_("vectors-action", "_Subtract from Selection"), NULL,
NC_("vectors-action", "Subtract path from selection"),
GIMP_CHANNEL_OP_SUBTRACT, FALSE,
GIMP_HELP_PATH_SELECTION_SUBTRACT },
{ "vectors-selection-intersect", GIMP_STOCK_SELECTION_INTERSECT,
{ "vectors-selection-intersect", GIMP_ICON_SELECTION_INTERSECT,
NC_("vectors-action", "_Intersect with Selection"), NULL,
NC_("vectors-action", "Intersect path with selection"),
GIMP_CHANNEL_OP_INTERSECT, FALSE,
@ -278,19 +278,19 @@ static const GimpEnumActionEntry vectors_to_selection_actions[] =
static const GimpEnumActionEntry vectors_selection_to_vectors_actions[] =
{
{ "vectors-selection-to-vectors", GIMP_STOCK_SELECTION_TO_PATH,
{ "vectors-selection-to-vectors", GIMP_ICON_SELECTION_TO_PATH,
NC_("vectors-action", "Selecti_on to Path"), NULL,
NC_("vectors-action", "Selection to path"),
FALSE, FALSE,
GIMP_HELP_SELECTION_TO_PATH },
{ "vectors-selection-to-vectors-short", GIMP_STOCK_SELECTION_TO_PATH,
{ "vectors-selection-to-vectors-short", GIMP_ICON_SELECTION_TO_PATH,
NC_("vectors-action", "To _Path"), NULL,
NC_("vectors-action", "Selection to path"),
FALSE, FALSE,
GIMP_HELP_SELECTION_TO_PATH },
{ "vectors-selection-to-vectors-advanced", GIMP_STOCK_SELECTION_TO_PATH,
{ "vectors-selection-to-vectors-advanced", GIMP_ICON_SELECTION_TO_PATH,
NC_("vectors-action", "Selection to Path (_Advanced)"), NULL,
NC_("vectors-action", "Advanced options"),
TRUE, FALSE,

View File

@ -161,7 +161,7 @@ vectors_edit_attributes_cmd_callback (GtkAction *action,
widget,
_("Path Attributes"),
"gimp-vectors-edit",
"gtk-edit",
GIMP_ICON_EDIT,
_("Edit Path Attributes"),
GIMP_HELP_PATH_EDIT,
gimp_object_get_name (vectors),
@ -202,7 +202,7 @@ vectors_new_cmd_callback (GtkAction *action,
widget,
_("New Path"),
"gimp-vectors-new",
GIMP_STOCK_PATH,
GIMP_ICON_PATH,
_("Create a New Path"),
GIMP_HELP_PATH_NEW,
config->vectors_new_name,
@ -423,7 +423,7 @@ vectors_fill_cmd_callback (GtkAction *action,
image, GIMP_ITEM (vectors),
"gimp-vectors-fill-dialog",
_("Fill Path"),
GIMP_STOCK_TOOL_BUCKET_FILL,
GIMP_ICON_TOOL_BUCKET_FILL,
GIMP_HELP_PATH_FILL,
data);
}
@ -453,7 +453,7 @@ vectors_stroke_cmd_callback (GtkAction *action,
image, GIMP_ITEM (vectors),
"gimp-vectors-stroke-dialog",
_("Stroke Path"),
GIMP_STOCK_PATH_STROKE,
GIMP_ICON_PATH_STROKE,
GIMP_HELP_PATH_STROKE,
data);
}

View File

@ -81,35 +81,35 @@ static const GimpActionEntry view_actions[] =
{ "view-softproof-intent-menu", NULL,
NC_("view-action", "Soft-Proofing Re_ndering Intent") },
{ "view-move-to-screen-menu", GIMP_STOCK_MOVE_TO_SCREEN,
{ "view-move-to-screen-menu", GIMP_ICON_WINDOW_MOVE_TO_SCREEN,
NC_("view-action", "Move to Screen"), NULL, NULL, NULL,
GIMP_HELP_VIEW_CHANGE_SCREEN },
{ "view-new", "window-new",
{ "view-new", GIMP_ICON_WINDOW_NEW,
NC_("view-action", "_New View"), NULL,
NC_("view-action", "Create another view on this image"),
G_CALLBACK (view_new_cmd_callback),
GIMP_HELP_VIEW_NEW },
{ "view-close", "window-close",
{ "view-close", GIMP_ICON_WINDOW_CLOSE,
NC_("view-action", "_Close View"), "<primary>W",
NC_("view-action", "Close the active image view"),
G_CALLBACK (view_close_cmd_callback),
GIMP_HELP_FILE_CLOSE },
{ "view-zoom-fit-in", "zoom-fit-best",
{ "view-zoom-fit-in", GIMP_ICON_ZOOM_FIT_BEST,
NC_("view-action", "_Fit Image in Window"), "<primary><shift>J",
NC_("view-action", "Adjust the zoom ratio so that the image becomes fully visible"),
G_CALLBACK (view_zoom_fit_in_cmd_callback),
GIMP_HELP_VIEW_ZOOM_FIT_IN },
{ "view-zoom-fill", "zoom-fit-best",
{ "view-zoom-fill", GIMP_ICON_ZOOM_FIT_BEST,
NC_("view-action", "Fi_ll Window"), NULL,
NC_("view-action", "Adjust the zoom ratio so that the entire window is used"),
G_CALLBACK (view_zoom_fill_cmd_callback),
GIMP_HELP_VIEW_ZOOM_FILL },
{ "view-zoom-selection", "gimp-selection",
{ "view-zoom-selection", GIMP_ICON_SELECTION,
NC_("view-action", "Zoom to _Selection"), NULL,
NC_("view-action", "Adjust the zoom ratio so that the selection fills the window"),
G_CALLBACK (view_zoom_selection_cmd_callback),
@ -127,19 +127,19 @@ static const GimpActionEntry view_actions[] =
G_CALLBACK (view_rotate_other_cmd_callback),
GIMP_HELP_VIEW_ROTATE_OTHER },
{ "view-navigation-window", GIMP_STOCK_NAVIGATION,
{ "view-navigation-window", GIMP_ICON_DIALOG_NAVIGATION,
NC_("view-action", "Na_vigation Window"), NULL,
NC_("view-action", "Show an overview window for this image"),
G_CALLBACK (view_navigation_window_cmd_callback),
GIMP_HELP_NAVIGATION_DIALOG },
{ "view-display-filters", GIMP_STOCK_DISPLAY_FILTER,
{ "view-display-filters", GIMP_ICON_DISPLAY_FILTER,
NC_("view-action", "Display _Filters..."), NULL,
NC_("view-action", "Configure filters applied to this view"),
G_CALLBACK (view_display_filters_cmd_callback),
GIMP_HELP_DISPLAY_FILTER_DIALOG },
{ "view-color-management-reset", GIMP_STOCK_RESET,
{ "view-color-management-reset", GIMP_ICON_RESET,
NC_("view-action", "As in _Preferences"), NULL,
NC_("view-action",
"Reset color management to what's configured in preferences"),
@ -152,7 +152,7 @@ static const GimpActionEntry view_actions[] =
G_CALLBACK (view_softproof_profile_cmd_callback),
GIMP_HELP_VIEW_COLOR_MANAGEMENT },
{ "view-shrink-wrap", "zoom-fit-best",
{ "view-shrink-wrap", GIMP_ICON_ZOOM_FIT_BEST,
NC_("view-action", "Shrink _Wrap"), "<primary>J",
NC_("view-action", "Reduce the image window to the size of the image display"),
G_CALLBACK (view_shrink_wrap_cmd_callback),
@ -301,7 +301,7 @@ static const GimpToggleActionEntry view_toggle_actions[] =
TRUE,
GIMP_HELP_VIEW_SHOW_STATUSBAR },
{ "view-fullscreen", "view-fullscreen",
{ "view-fullscreen", GIMP_ICON_VIEW_FULLSCREEN,
NC_("view-action", "Fullscr_een"), "F11",
NC_("view-action", "Toggle fullscreen view"),
G_CALLBACK (view_fullscreen_cmd_callback),
@ -316,46 +316,46 @@ static const GimpEnumActionEntry view_zoom_actions[] =
GIMP_ACTION_SELECT_SET, TRUE,
NULL },
{ "view-zoom-minimum", "zoom-out",
{ "view-zoom-minimum", GIMP_ICON_ZOOM_OUT,
"Zoom out as far as possible", NULL, NULL,
GIMP_ACTION_SELECT_FIRST, FALSE,
GIMP_HELP_VIEW_ZOOM_OUT },
{ "view-zoom-maximum", "zoom-in",
{ "view-zoom-maximum", GIMP_ICON_ZOOM_IN,
"Zoom in as far as possible", NULL, NULL,
GIMP_ACTION_SELECT_LAST, FALSE,
GIMP_HELP_VIEW_ZOOM_IN },
{ "view-zoom-out", "zoom-out",
{ "view-zoom-out", GIMP_ICON_ZOOM_OUT,
NC_("view-zoom-action", "Zoom _Out"), "minus",
NC_("view-zoom-action", "Zoom out"),
GIMP_ACTION_SELECT_PREVIOUS, FALSE,
GIMP_HELP_VIEW_ZOOM_OUT },
{ "view-zoom-in", "zoom-in",
{ "view-zoom-in", GIMP_ICON_ZOOM_IN,
NC_("view-zoom-action", "Zoom _In"), "plus",
NC_("view-zoom-action", "Zoom in"),
GIMP_ACTION_SELECT_NEXT, FALSE,
GIMP_HELP_VIEW_ZOOM_IN },
{ "view-zoom-out-accel", GIMP_STOCK_CHAR_PICKER,
{ "view-zoom-out-accel", GIMP_ICON_CHAR_PICKER,
NC_("view-zoom-action", "Zoom Out"), "KP_Subtract",
NC_("view-zoom-action", "Zoom out"),
GIMP_ACTION_SELECT_PREVIOUS, FALSE,
GIMP_HELP_VIEW_ZOOM_OUT },
{ "view-zoom-in-accel", GIMP_STOCK_CHAR_PICKER,
{ "view-zoom-in-accel", GIMP_ICON_CHAR_PICKER,
NC_("view-zoom-action", "Zoom In"), "KP_Add",
NC_("view-zoom-action", "Zoom in"),
GIMP_ACTION_SELECT_NEXT, FALSE,
GIMP_HELP_VIEW_ZOOM_IN },
{ "view-zoom-out-skip", "zoom-out",
{ "view-zoom-out-skip", GIMP_ICON_ZOOM_OUT,
"Zoom out a lot", NULL, NULL,
GIMP_ACTION_SELECT_SKIP_PREVIOUS, FALSE,
GIMP_HELP_VIEW_ZOOM_OUT },
{ "view-zoom-in-skip", "zoom-in",
{ "view-zoom-in-skip", GIMP_ICON_ZOOM_IN,
"Zoom in a lot", NULL, NULL,
GIMP_ACTION_SELECT_SKIP_NEXT, FALSE,
GIMP_HELP_VIEW_ZOOM_IN }
@ -411,13 +411,13 @@ static const GimpRadioActionEntry view_zoom_explicit_actions[] =
20000,
GIMP_HELP_VIEW_ZOOM_IN },
{ "view-zoom-1-1", "zoom-original",
{ "view-zoom-1-1", GIMP_ICON_ZOOM_ORIGINAL,
NC_("view-zoom-action", "_1:1 (100%)"), "1",
NC_("view-zoom-action", "Zoom 1:1"),
10000,
GIMP_HELP_VIEW_ZOOM_100 },
{ "view-zoom-1-1-accel", "zoom-original",
{ "view-zoom-1-1-accel", GIMP_ICON_ZOOM_ORIGINAL,
NC_("view-zoom-action", "_1:1 (100%)"), "KP_1",
NC_("view-zoom-action", "Zoom 1:1"),
10000,
@ -456,13 +456,13 @@ static const GimpRadioActionEntry view_zoom_explicit_actions[] =
static const GimpToggleActionEntry view_flip_actions[] =
{
{ "view-flip-horizontally", GIMP_STOCK_FLIP_HORIZONTAL,
{ "view-flip-horizontally", GIMP_ICON_OBJECT_FLIP_HORIZONTAL,
NC_("view-action", "Flip Horizontally"), NULL, NULL,
G_CALLBACK (view_flip_horizontally_cmd_callback),
FALSE,
GIMP_HELP_VIEW_FLIP },
{ "view-flip-vertically", GIMP_STOCK_FLIP_VERTICAL,
{ "view-flip-vertically", GIMP_ICON_OBJECT_FLIP_VERTICAL,
NC_("view-action", "Flip Vertically"), NULL, NULL,
G_CALLBACK (view_flip_vertically_cmd_callback),
FALSE,
@ -476,7 +476,7 @@ static const GimpEnumActionEntry view_rotate_absolute_actions[] =
GIMP_ACTION_SELECT_SET, TRUE,
NULL },
{ "view-rotate-reset", GIMP_STOCK_RESET,
{ "view-rotate-reset", GIMP_ICON_RESET,
NC_("view-action", "_Reset Flip & Rotate"), "exclam",
NC_("view-action",
"Reset flipping to unflipped and the angle of rotation to 0°"),
@ -486,31 +486,31 @@ static const GimpEnumActionEntry view_rotate_absolute_actions[] =
static const GimpEnumActionEntry view_rotate_relative_actions[] =
{
{ "view-rotate-15", GIMP_STOCK_ROTATE_90,
{ "view-rotate-15", GIMP_ICON_OBJECT_ROTATE_90,
NC_("view-action", "Rotate 15° _clockwise"), NULL,
NC_("view-action", "Rotate 15 degrees to the right"),
GIMP_ACTION_SELECT_NEXT, FALSE,
GIMP_HELP_VIEW_ROTATE_15 },
{ "view-rotate-90", GIMP_STOCK_ROTATE_90,
{ "view-rotate-90", GIMP_ICON_OBJECT_ROTATE_90,
NC_("view-action", "Rotate 90° _clockwise"), NULL,
NC_("view-action", "Rotate 90 degrees to the right"),
GIMP_ACTION_SELECT_SKIP_NEXT, FALSE,
GIMP_HELP_VIEW_ROTATE_90 },
{ "view-rotate-180", GIMP_STOCK_ROTATE_180,
{ "view-rotate-180", GIMP_ICON_OBJECT_ROTATE_180,
NC_("view-action", "Rotate _180°"), NULL,
NC_("view-action", "Turn upside-down"),
GIMP_ACTION_SELECT_LAST, FALSE,
GIMP_HELP_VIEW_ROTATE_180 },
{ "view-rotate-270", GIMP_STOCK_ROTATE_270,
{ "view-rotate-270", GIMP_ICON_OBJECT_ROTATE_270,
NC_("view-action", "Rotate 90° counter-clock_wise"), NULL,
NC_("view-action", "Rotate 90 degrees to the left"),
GIMP_ACTION_SELECT_SKIP_PREVIOUS, FALSE,
GIMP_HELP_VIEW_ROTATE_270 },
{ "view-rotate-345", GIMP_STOCK_ROTATE_270,
{ "view-rotate-345", GIMP_ICON_OBJECT_ROTATE_270,
NC_("view-action", "Rotate 15° counter-clock_wise"), NULL,
NC_("view-action", "Rotate 15 degrees to the left"),
GIMP_ACTION_SELECT_PREVIOUS, FALSE,
@ -591,13 +591,13 @@ static const GimpEnumActionEntry view_padding_color_actions[] =
GIMP_CANVAS_PADDING_MODE_DARK_CHECK, FALSE,
GIMP_HELP_VIEW_PADDING_COLOR },
{ "view-padding-color-custom", "gtk-select-color",
{ "view-padding-color-custom", GIMP_ICON_PALETTE,
NC_("view-padding-color", "_Custom Color..."), NULL,
NC_("view-padding-color", "Use an arbitrary color"),
GIMP_CANVAS_PADDING_MODE_CUSTOM, FALSE,
GIMP_HELP_VIEW_PADDING_COLOR },
{ "view-padding-color-prefs", GIMP_STOCK_RESET,
{ "view-padding-color-prefs", GIMP_ICON_RESET,
NC_("view-padding-color", "As in _Preferences"), NULL,
NC_("view-padding-color",
"Reset padding color to what's configured in preferences"),

View File

@ -1003,7 +1003,7 @@ view_padding_color_cmd_callback (GtkAction *action,
gimp_color_dialog_new (GIMP_VIEWABLE (image),
action_data_get_context (data),
_("Set Canvas Padding Color"),
"gtk-select-color",
GIMP_ICON_FONT,
_("Set Custom Canvas Padding Color"),
GTK_WIDGET (shell),
NULL, NULL,

View File

@ -166,7 +166,7 @@ window_actions_display_opened (GdkDisplayManager *manager,
entries[i].name = g_strdup_printf ("%s-move-to-screen-%s",
group_name, screen_name);
entries[i].icon_name = GIMP_STOCK_MOVE_TO_SCREEN;
entries[i].icon_name = GIMP_ICON_WINDOW_MOVE_TO_SCREEN;
entries[i].label = g_strdup_printf (_("Screen %s"), screen_name);
entries[i].accelerator = NULL;
entries[i].tooltip = g_strdup_printf (_("Move this window to "

View File

@ -68,7 +68,7 @@ window_open_display_cmd_callback (GtkAction *action,
GtkWidget *entry;
return_if_no_widget (widget, data);
dialog = gimp_message_dialog_new ("Open Display", GIMP_STOCK_WILBER_EEK,
dialog = gimp_message_dialog_new ("Open Display", GIMP_ICON_WILBER_EEK,
widget, GTK_DIALOG_MODAL,
NULL, NULL,

View File

@ -136,22 +136,22 @@ static const GimpToggleActionEntry windows_toggle_actions[] =
static const GimpRadioActionEntry windows_tabs_position_actions[] =
{
{ "windows-tabs-position-top", "to-top",
{ "windows-tabs-position-top", GIMP_ICON_GO_TOP,
NC_("windows-tabs-position-action", "_Top"), NULL,
NC_("windows-tabs-position-action", "Position the tabs on the top"),
GIMP_POSITION_TOP, GIMP_HELP_WINDOWS_TABS_POSITION },
{ "windows-tabs-position-bottom", "go-bottom",
{ "windows-tabs-position-bottom", GIMP_ICON_GO_BOTTOM,
NC_("windows-tabs-position-action", "_Bottom"), NULL,
NC_("windows-tabs-position-action", "Position the tabs on the bottom"),
GIMP_POSITION_BOTTOM, GIMP_HELP_WINDOWS_TABS_POSITION },
{ "windows-tabs-position-left", "go-first",
{ "windows-tabs-position-left", GIMP_ICON_GO_FIRST,
NC_("windows-tabs-position-action", "_Left"), NULL,
NC_("windows-tabs-position-action", "Position the tabs on the left"),
GIMP_POSITION_LEFT, GIMP_HELP_WINDOWS_TABS_POSITION },
{ "windows-tabs-position-right", "go-last",
{ "windows-tabs-position-right", GIMP_ICON_GO_LAST,
NC_("windows-tabs-position-action", "_Right"), NULL,
NC_("windows-tabs-position-action", "Position the tabs on the right"),
GIMP_POSITION_RIGHT, GIMP_HELP_WINDOWS_TABS_POSITION },
@ -345,7 +345,7 @@ windows_actions_image_notify (GimpDisplay *display,
GimpActionEntry entry;
entry.name = action_name;
entry.icon_name = GIMP_STOCK_IMAGE;
entry.icon_name = GIMP_ICON_IMAGE;
entry.label = "";
entry.accelerator = NULL;
entry.tooltip = NULL;

View File

@ -124,7 +124,7 @@ channel_options_dialog_new (GimpImage *image,
parent, title, role,
icon_name, desc, help_id,
channel_name ? _("Channel _name:") : NULL,
GIMP_STOCK_TOOL_PAINTBRUSH,
GIMP_ICON_TOOL_PAINTBRUSH,
_("Lock _pixels"),
_("Lock position and _size"),
channel_name,

View File

@ -163,7 +163,7 @@ color_profile_dialog_new (ColorProfileDialogType dialog_type,
gimp_viewable_dialog_new (GIMP_VIEWABLE (image), context,
_("RGB Conversion"),
"gimp-image-convert-rgb",
GIMP_STOCK_CONVERT_RGB,
GIMP_ICON_CONVERT_RGB,
_("Convert Image to RGB"),
parent,
gimp_standard_help_func,
@ -181,7 +181,7 @@ color_profile_dialog_new (ColorProfileDialogType dialog_type,
gimp_viewable_dialog_new (GIMP_VIEWABLE (image), context,
_("Grayscale Conversion"),
"gimp-image-convert-gray",
GIMP_STOCK_CONVERT_GRAYSCALE,
GIMP_ICON_CONVERT_GRAYSCALE,
_("Convert Image to Grayscale"),
parent,
gimp_standard_help_func,
@ -199,7 +199,7 @@ color_profile_dialog_new (ColorProfileDialogType dialog_type,
gimp_viewable_dialog_new (GIMP_VIEWABLE (image), context,
_("Soft-Proof Profile"),
"gimp-select-softproof-profile",
GTK_STOCK_PRINT,
GIMP_ICON_DOCUMENT_PRINT,
_("Select Soft-Proof Profile"),
parent,
gimp_standard_help_func,

View File

@ -129,7 +129,7 @@ convert_indexed_dialog_new (GimpImage *image,
gimp_viewable_dialog_new (GIMP_VIEWABLE (image), context,
_("Indexed Color Conversion"),
"gimp-image-convert-indexed",
GIMP_STOCK_CONVERT_INDEXED,
GIMP_ICON_CONVERT_INDEXED,
_("Convert Image to Indexed Colors"),
parent,
gimp_standard_help_func,

View File

@ -304,83 +304,83 @@ static const GimpDialogFactoryEntry entries[] =
/* singleton dockables */
DOCKABLE ("gimp-tool-options",
N_("Tool Options"), NULL, GIMP_STOCK_TOOL_OPTIONS,
N_("Tool Options"), NULL, GIMP_ICON_DIALOG_TOOL_OPTIONS,
GIMP_HELP_TOOL_OPTIONS_DIALOG,
dialogs_tool_options_new, 0, TRUE),
DOCKABLE ("gimp-device-status",
N_("Devices"), N_("Device Status"), GIMP_STOCK_DEVICE_STATUS,
N_("Devices"), N_("Device Status"), GIMP_ICON_DIALOG_DEVICE_STATUS,
GIMP_HELP_DEVICE_STATUS_DIALOG,
dialogs_device_status_new, 0, TRUE),
DOCKABLE ("gimp-error-console",
N_("Errors"), N_("Error Console"), GIMP_STOCK_WARNING,
N_("Errors"), N_("Error Console"), GIMP_ICON_DIALOG_WARNING,
GIMP_HELP_ERRORS_DIALOG,
dialogs_error_console_new, 0, TRUE),
DOCKABLE ("gimp-cursor-view",
N_("Pointer"), N_("Pointer Information"), GIMP_STOCK_CURSOR,
N_("Pointer"), N_("Pointer Information"), GIMP_ICON_CURSOR,
GIMP_HELP_POINTER_INFO_DIALOG,
dialogs_cursor_view_new, 0, TRUE),
/* list & grid views */
LISTGRID (image, image,
N_("Images"), NULL, GIMP_STOCK_IMAGES,
N_("Images"), NULL, GIMP_ICON_DIALOG_IMAGES,
GIMP_HELP_IMAGE_DIALOG, GIMP_VIEW_SIZE_MEDIUM),
LISTGRID (brush, brush,
N_("Brushes"), NULL, GIMP_STOCK_BRUSH,
N_("Brushes"), NULL, GIMP_ICON_BRUSH,
GIMP_HELP_BRUSH_DIALOG, GIMP_VIEW_SIZE_MEDIUM),
LISTGRID (dynamics, dynamics,
N_("Paint Dynamics"), NULL, GIMP_STOCK_DYNAMICS,
N_("Paint Dynamics"), NULL, GIMP_ICON_DYNAMICS,
GIMP_HELP_DYNAMICS_DIALOG, GIMP_VIEW_SIZE_MEDIUM),
LISTGRID (mypaint-brush, mypaint_brush,
N_("MyPaint Brushes"), NULL, GIMP_ICON_MYPAINT_BRUSH,
GIMP_HELP_MYPAINT_BRUSH_DIALOG, GIMP_VIEW_SIZE_LARGE),
LISTGRID (pattern, pattern,
N_("Patterns"), NULL, GIMP_STOCK_PATTERN,
N_("Patterns"), NULL, GIMP_ICON_PATTERN,
GIMP_HELP_PATTERN_DIALOG, GIMP_VIEW_SIZE_MEDIUM),
LISTGRID (gradient, gradient,
N_("Gradients"), NULL, GIMP_STOCK_GRADIENT,
N_("Gradients"), NULL, GIMP_ICON_GRADIENT,
GIMP_HELP_GRADIENT_DIALOG, GIMP_VIEW_SIZE_MEDIUM),
LISTGRID (palette, palette,
N_("Palettes"), NULL, GIMP_STOCK_PALETTE,
N_("Palettes"), NULL, GIMP_ICON_PALETTE,
GIMP_HELP_PALETTE_DIALOG, GIMP_VIEW_SIZE_MEDIUM),
LISTGRID (font, font,
N_("Fonts"), NULL, "gtk-select-font",
N_("Fonts"), NULL, GIMP_ICON_FONT,
GIMP_HELP_FONT_DIALOG, GIMP_VIEW_SIZE_MEDIUM),
LISTGRID (buffer, buffer,
N_("Buffers"), NULL, GIMP_STOCK_BUFFER,
N_("Buffers"), NULL, GIMP_ICON_BUFFER,
GIMP_HELP_BUFFER_DIALOG, GIMP_VIEW_SIZE_MEDIUM),
LISTGRID (tool-preset, tool_preset,
N_("Tool Presets"), NULL, GIMP_STOCK_TOOL_PRESET,
N_("Tool Presets"), NULL, GIMP_ICON_TOOL_PRESET,
GIMP_HELP_TOOL_PRESET_DIALOG, GIMP_VIEW_SIZE_MEDIUM),
LISTGRID (document, document,
N_("History"), N_("Document History"), "document-open-recent",
N_("History"), N_("Document History"), GIMP_ICON_DOCUMENT_OPEN_RECENT,
GIMP_HELP_DOCUMENT_DIALOG, GIMP_VIEW_SIZE_LARGE),
LISTGRID (template, template,
N_("Templates"), N_("Image Templates"), GIMP_STOCK_TEMPLATE,
N_("Templates"), N_("Image Templates"), GIMP_ICON_TEMPLATE,
GIMP_HELP_TEMPLATE_DIALOG, GIMP_VIEW_SIZE_SMALL),
/* image related */
DOCKABLE ("gimp-layer-list",
N_("Layers"), NULL, GIMP_STOCK_LAYERS,
N_("Layers"), NULL, GIMP_ICON_DIALOG_LAYERS,
GIMP_HELP_LAYER_DIALOG,
dialogs_layer_list_view_new, 0, FALSE),
DOCKABLE ("gimp-channel-list",
N_("Channels"), NULL, GIMP_STOCK_CHANNELS,
N_("Channels"), NULL, GIMP_ICON_DIALOG_CHANNELS,
GIMP_HELP_CHANNEL_DIALOG,
dialogs_channel_list_view_new, 0, FALSE),
DOCKABLE ("gimp-vectors-list",
N_("Paths"), NULL, GIMP_STOCK_PATHS,
N_("Paths"), NULL, GIMP_ICON_DIALOG_PATHS,
GIMP_HELP_PATH_DIALOG,
dialogs_vectors_list_view_new, 0, FALSE),
DOCKABLE ("gimp-indexed-palette",
N_("Colormap"), NULL, GIMP_STOCK_COLORMAP,
N_("Colormap"), NULL, GIMP_ICON_COLORMAP,
GIMP_HELP_INDEXED_PALETTE_DIALOG,
dialogs_colormap_editor_new, 0, FALSE),
DOCKABLE ("gimp-histogram-editor",
N_("Histogram"), NULL, GIMP_STOCK_HISTOGRAM,
N_("Histogram"), NULL, GIMP_ICON_HISTOGRAM,
GIMP_HELP_HISTOGRAM_DIALOG,
dialogs_histogram_editor_new, 0, FALSE),
DOCKABLE ("gimp-selection-editor",
N_("Selection"), N_("Selection Editor"), GIMP_STOCK_SELECTION,
N_("Selection"), N_("Selection Editor"), GIMP_ICON_SELECTION,
GIMP_HELP_SELECTION_DIALOG,
dialogs_selection_editor_new, 0, FALSE),
DOCKABLE ("gimp-symmetry-editor",
@ -388,45 +388,45 @@ static const GimpDialogFactoryEntry entries[] =
GIMP_HELP_SYMMETRY_DIALOG,
dialogs_symmetry_editor_new, 0, FALSE),
DOCKABLE ("gimp-undo-history",
N_("Undo"), N_("Undo History"), GIMP_STOCK_UNDO_HISTORY,
N_("Undo"), N_("Undo History"), GIMP_ICON_DIALOG_UNDO_HISTORY,
GIMP_HELP_UNDO_DIALOG,
dialogs_undo_editor_new, 0, FALSE),
DOCKABLE ("gimp-sample-point-editor",
N_("Sample Points"), N_("Sample Points"), GIMP_STOCK_SAMPLE_POINT,
N_("Sample Points"), N_("Sample Points"), GIMP_ICON_SAMPLE_POINT,
GIMP_HELP_SAMPLE_POINT_DIALOG,
dialogs_sample_point_editor_new, 0, FALSE),
/* display related */
DOCKABLE ("gimp-navigation-view",
N_("Navigation"), N_("Display Navigation"), GIMP_STOCK_NAVIGATION,
N_("Navigation"), N_("Display Navigation"), GIMP_ICON_DIALOG_NAVIGATION,
GIMP_HELP_NAVIGATION_DIALOG,
dialogs_navigation_editor_new, 0, FALSE),
/* editors */
DOCKABLE ("gimp-color-editor",
N_("FG/BG"), N_("FG/BG Color"), GIMP_STOCK_DEFAULT_COLORS,
N_("FG/BG"), N_("FG/BG Color"), GIMP_ICON_COLORS_DEFAULT,
GIMP_HELP_COLOR_DIALOG,
dialogs_color_editor_new, 0, FALSE),
/* singleton editors */
DOCKABLE ("gimp-brush-editor",
N_("Brush Editor"), NULL, GIMP_STOCK_BRUSH,
N_("Brush Editor"), NULL, GIMP_ICON_BRUSH,
GIMP_HELP_BRUSH_EDITOR_DIALOG,
dialogs_brush_editor_get, 0, TRUE),
DOCKABLE ("gimp-dynamics-editor",
N_("Paint Dynamics Editor"), NULL, GIMP_STOCK_DYNAMICS,
N_("Paint Dynamics Editor"), NULL, GIMP_ICON_DYNAMICS,
GIMP_HELP_DYNAMICS_EDITOR_DIALOG,
dialogs_dynamics_editor_get, 0, TRUE),
DOCKABLE ("gimp-gradient-editor",
N_("Gradient Editor"), NULL, GIMP_STOCK_GRADIENT,
N_("Gradient Editor"), NULL, GIMP_ICON_GRADIENT,
GIMP_HELP_GRADIENT_EDITOR_DIALOG,
dialogs_gradient_editor_get, 0, TRUE),
DOCKABLE ("gimp-palette-editor",
N_("Palette Editor"), NULL, GIMP_STOCK_PALETTE,
N_("Palette Editor"), NULL, GIMP_ICON_PALETTE,
GIMP_HELP_PALETTE_EDITOR_DIALOG,
dialogs_palette_editor_get, 0, TRUE),
DOCKABLE ("gimp-tool-preset-editor",
N_("Tool Preset Editor"), NULL, GIMP_STOCK_TOOL_PRESET,
N_("Tool Preset Editor"), NULL, GIMP_ICON_TOOL_PRESET,
GIMP_HELP_TOOL_PRESET_EDITOR_DIALOG,
dialogs_tool_preset_editor_get, 0, TRUE),

View File

@ -101,7 +101,7 @@ file_open_location_dialog_new (Gimp *gimp)
gtk_box_pack_start (GTK_BOX (hbox), vbox, FALSE, FALSE, 0);
gtk_widget_show (vbox);
image = gtk_image_new_from_icon_name (GIMP_STOCK_WEB, GTK_ICON_SIZE_BUTTON);
image = gtk_image_new_from_icon_name (GIMP_ICON_WEB, GTK_ICON_SIZE_BUTTON);
gtk_box_pack_start (GTK_BOX (vbox), image, FALSE, FALSE, 0);
gtk_widget_show (image);

View File

@ -624,7 +624,7 @@ file_save_dialog_switch_dialogs (GimpFileDialog *file_dialog,
}
dialog = gimp_message_dialog_new (_("Extension Mismatch"),
GIMP_STOCK_WARNING,
GIMP_ICON_DIALOG_WARNING,
GTK_WIDGET (file_dialog),
GTK_DIALOG_DESTROY_WITH_PARENT,
gimp_standard_help_func, NULL,
@ -701,7 +701,7 @@ file_save_dialog_use_extension (GtkWidget *save_dialog,
gboolean use_name = FALSE;
dialog = gimp_message_dialog_new (_("Extension Mismatch"),
GIMP_STOCK_QUESTION,
GIMP_ICON_DIALOG_QUESTION,
save_dialog, GTK_DIALOG_DESTROY_WITH_PARENT,
gimp_standard_help_func, NULL,

View File

@ -93,7 +93,7 @@ grid_dialog_new (GimpImage *image,
dialog = gimp_viewable_dialog_new (GIMP_VIEWABLE (image), context,
_("Configure Grid"), "gimp-grid-configure",
GIMP_STOCK_GRID, _("Configure Image Grid"),
GIMP_ICON_GRID, _("Configure Image Grid"),
parent,
gimp_standard_help_func,
GIMP_HELP_IMAGE_GRID,

View File

@ -91,7 +91,7 @@ image_merge_layers_dialog_new (GimpImage *image,
dialog = gimp_viewable_dialog_new (GIMP_VIEWABLE (image), context,
_("Merge Layers"), "gimp-image-merge-layers",
GIMP_STOCK_MERGE_DOWN,
GIMP_ICON_LAYER_MERGE_DOWN,
_("Layers Merge Options"),
parent,
gimp_standard_help_func,

View File

@ -317,7 +317,7 @@ image_new_confirm_dialog (ImageNewDialog *private)
private->confirm_dialog =
dialog = gimp_message_dialog_new (_("Confirm Image Size"),
GIMP_STOCK_WARNING,
GIMP_ICON_DIALOG_WARNING,
private->dialog,
GTK_DIALOG_DESTROY_WITH_PARENT,
gimp_standard_help_func, NULL,

View File

@ -201,7 +201,7 @@ image_scale_confirm_dialog (ImageScaleDialog *private)
GtkWidget *widget;
widget = gimp_message_dialog_new (_("Confirm Scaling"),
GIMP_STOCK_WARNING,
GIMP_ICON_DIALOG_WARNING,
private->dialog,
GTK_DIALOG_DESTROY_WITH_PARENT,
gimp_standard_help_func,

View File

@ -242,7 +242,7 @@ item_options_dialog_new (GimpImage *image,
}
else
{
image = gtk_image_new_from_icon_name (GIMP_STOCK_CLOSE,
image = gtk_image_new_from_icon_name (GIMP_ICON_CLOSE,
GTK_ICON_SIZE_MENU);
}
@ -266,7 +266,7 @@ item_options_dialog_new (GimpImage *image,
gtk_widget_show (private->right_vbox);
button = check_button_with_icon_new (_("_Visible"),
GIMP_STOCK_VISIBLE,
GIMP_ICON_VISIBLE,
GTK_BOX (private->right_vbox));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),
private->visible);
@ -275,7 +275,7 @@ item_options_dialog_new (GimpImage *image,
&private->visible);
button = check_button_with_icon_new (_("_Linked"),
GIMP_STOCK_LINKED,
GIMP_ICON_LINKED,
GTK_BOX (private->right_vbox));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),
private->linked);
@ -293,7 +293,7 @@ item_options_dialog_new (GimpImage *image,
&private->lock_content);
button = check_button_with_icon_new (lock_position_label,
GIMP_STOCK_TOOL_MOVE,
GIMP_ICON_TOOL_MOVE,
GTK_BOX (private->right_vbox));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),
private->lock_position);

View File

@ -101,7 +101,7 @@ layer_add_mask_dialog_new (GimpLayer *layer,
dialog = gimp_viewable_dialog_new (GIMP_VIEWABLE (layer), context,
_("Add Layer Mask"), "gimp-layer-add-mask",
GIMP_STOCK_LAYER_MASK,
GIMP_ICON_LAYER_MASK,
_("Add a Mask to the Layer"),
parent,
gimp_standard_help_func,

View File

@ -164,7 +164,7 @@ layer_options_dialog_new (GimpImage *image,
parent, title, role,
icon_name, desc, help_id,
_("Layer _name:"),
GIMP_STOCK_TOOL_PAINTBRUSH,
GIMP_ICON_TOOL_PAINTBRUSH,
_("Lock _pixels"),
_("Lock position and _size"),
layer_name,
@ -434,7 +434,7 @@ layer_options_dialog_new (GimpImage *image,
G_BINDING_INVERT_BOOLEAN);
button = item_options_dialog_add_switch (dialog,
GIMP_STOCK_TRANSPARENCY,
GIMP_ICON_TRANSPARENCY,
_("Lock _alpha"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),
private->lock_alpha);
@ -446,7 +446,7 @@ layer_options_dialog_new (GimpImage *image,
if (layer && gimp_item_is_text_layer (GIMP_ITEM (layer)))
{
button = item_options_dialog_add_switch (dialog,
GIMP_STOCK_TOOL_TEXT,
GIMP_ICON_TOOL_TEXT,
_("Set name from _text"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),
private->rename_text_layers);

View File

@ -207,7 +207,8 @@ module_dialog_new (Gimp *gimp)
private->error_box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
gtk_box_pack_start (GTK_BOX (vbox), private->error_box, FALSE, FALSE, 0);
image = gtk_image_new_from_icon_name (GIMP_STOCK_WARNING, GTK_ICON_SIZE_BUTTON);
image = gtk_image_new_from_icon_name (GIMP_ICON_DIALOG_WARNING,
GTK_ICON_SIZE_BUTTON);
gtk_box_pack_start (GTK_BOX (private->error_box), image, FALSE, FALSE, 0);
gtk_widget_show (image);

View File

@ -127,7 +127,7 @@ offset_dialog_new (GimpDrawable *drawable,
dialog = gimp_viewable_dialog_new (GIMP_VIEWABLE (drawable), context,
_("Offset"), "gimp-drawable-offset",
GIMP_STOCK_TOOL_MOVE,
GIMP_ICON_TOOL_MOVE,
title,
parent,
gimp_standard_help_func,

View File

@ -267,7 +267,7 @@ prefs_response (GtkWidget *widget,
GtkWidget *confirm;
confirm = gimp_message_dialog_new (_("Reset All Preferences"),
GIMP_STOCK_QUESTION,
GIMP_ICON_DIALOG_QUESTION,
dialog,
GTK_DIALOG_MODAL |
GTK_DIALOG_DESTROY_WITH_PARENT,
@ -597,7 +597,7 @@ prefs_menus_remove_callback (GtkWidget *widget,
GtkWidget *dialog;
dialog = gimp_message_dialog_new (_("Remove all Keyboard Shortcuts"),
GIMP_STOCK_QUESTION,
GIMP_ICON_DIALOG_QUESTION,
gtk_widget_get_toplevel (widget),
GTK_DIALOG_MODAL |
GTK_DIALOG_DESTROY_WITH_PARENT,
@ -1361,14 +1361,14 @@ prefs_dialog_new (Gimp *gimp,
_("_Save tool options on exit"),
GTK_BOX (vbox2));
button = prefs_button_add ("document-save",
button = prefs_button_add (GIMP_ICON_DOCUMENT_SAVE,
_("Save Tool Options _Now"),
GTK_BOX (vbox2));
g_signal_connect (button, "clicked",
G_CALLBACK (prefs_tool_options_save_callback),
gimp);
button2 = prefs_button_add (GIMP_STOCK_RESET,
button2 = prefs_button_add (GIMP_ICON_RESET,
_("_Reset Saved Tool Options to "
"Default Values"),
GTK_BOX (vbox2));
@ -1394,16 +1394,16 @@ prefs_dialog_new (Gimp *gimp,
GTK_CONTAINER (vbox), FALSE);
prefs_check_button_add_with_icon (object, "global-brush",
_("_Brush"), GIMP_STOCK_BRUSH,
_("_Brush"), GIMP_ICON_BRUSH,
GTK_BOX (vbox2), size_group);
prefs_check_button_add_with_icon (object, "global-dynamics",
_("_Dynamics"), GIMP_STOCK_DYNAMICS,
_("_Dynamics"), GIMP_ICON_DYNAMICS,
GTK_BOX (vbox2), size_group);
prefs_check_button_add_with_icon (object, "global-pattern",
_("_Pattern"), GIMP_STOCK_PATTERN,
_("_Pattern"), GIMP_ICON_PATTERN,
GTK_BOX (vbox2), size_group);
prefs_check_button_add_with_icon (object, "global-gradient",
_("_Gradient"), GIMP_STOCK_GRADIENT,
_("_Gradient"), GIMP_ICON_GRADIENT,
GTK_BOX (vbox2), size_group);
/* Move Tool */
@ -1412,7 +1412,7 @@ prefs_dialog_new (Gimp *gimp,
prefs_check_button_add_with_icon (object, "move-tool-changes-active",
_("Set layer or path as active"),
GIMP_STOCK_TOOL_MOVE,
GIMP_ICON_TOOL_MOVE,
GTK_BOX (vbox2), size_group);
g_object_unref (size_group);
@ -1534,7 +1534,7 @@ prefs_dialog_new (Gimp *gimp,
_("_Use dynamic keyboard shortcuts"),
GTK_BOX (vbox2));
button = prefs_button_add ("preferences-system",
button = prefs_button_add (GIMP_ICON_PREFERENCES_SYSTEM,
_("Configure _Keyboard Shortcuts..."),
GTK_BOX (vbox2));
g_signal_connect (button, "clicked",
@ -1545,14 +1545,14 @@ prefs_dialog_new (Gimp *gimp,
_("_Save keyboard shortcuts on exit"),
GTK_BOX (vbox2));
button = prefs_button_add ("document-save",
button = prefs_button_add (GIMP_ICON_DOCUMENT_SAVE,
_("Save Keyboard Shortcuts _Now"),
GTK_BOX (vbox2));
g_signal_connect (button, "clicked",
G_CALLBACK (prefs_menus_save_callback),
gimp);
button2 = prefs_button_add (GIMP_STOCK_RESET,
button2 = prefs_button_add (GIMP_ICON_RESET,
_("_Reset Keyboard Shortcuts to Default Values"),
GTK_BOX (vbox2));
g_signal_connect (button2, "clicked",
@ -1561,7 +1561,7 @@ prefs_dialog_new (Gimp *gimp,
g_object_set_data (G_OBJECT (button), "clear-button", button2);
button = prefs_button_add ("edit-clear",
button = prefs_button_add (GIMP_ICON_EDIT_CLEAR,
_("Remove _All Keyboard Shortcuts"),
GTK_BOX (vbox2));
g_signal_connect (button, "clicked",
@ -1661,7 +1661,7 @@ prefs_dialog_new (Gimp *gimp,
gtk_box_pack_start (GTK_BOX (vbox2), hbox, FALSE, FALSE, 0);
gtk_widget_show (hbox);
button = prefs_button_add ("view-refresh",
button = prefs_button_add (GIMP_ICON_VIEW_REFRESH,
_("Reload C_urrent Theme"),
GTK_BOX (hbox));
g_signal_connect (button, "clicked",
@ -1805,15 +1805,15 @@ prefs_dialog_new (Gimp *gimp,
prefs_check_button_add_with_icon (object, "toolbox-color-area",
_("Show _foreground & background color"),
GIMP_STOCK_DEFAULT_COLORS,
GIMP_ICON_COLORS_DEFAULT,
GTK_BOX (vbox2), size_group);
prefs_check_button_add_with_icon (object, "toolbox-foo-area",
_("Show active _brush, pattern & gradient"),
GIMP_STOCK_BRUSH,
GIMP_ICON_BRUSH,
GTK_BOX (vbox2), size_group);
prefs_check_button_add_with_icon (object, "toolbox-image-area",
_("Show active _image"),
GIMP_STOCK_IMAGE,
GIMP_ICON_IMAGE,
GTK_BOX (vbox2), size_group);
g_object_unref (size_group);
@ -2151,13 +2151,13 @@ prefs_dialog_new (Gimp *gimp,
if (gimp_help_user_manual_is_installed (gimp))
{
hbox = prefs_hint_box_new (GIMP_STOCK_INFO,
hbox = prefs_hint_box_new (GIMP_ICON_DIALOG_INFORMATION,
_("There's a local installation "
"of the user manual."));
}
else
{
hbox = prefs_hint_box_new (GIMP_STOCK_WARNING,
hbox = prefs_hint_box_new (GIMP_ICON_DIALOG_WARNING,
_("The user manual is not installed "
"locally."));
}
@ -2183,7 +2183,7 @@ prefs_dialog_new (Gimp *gimp,
}
else
{
hbox = prefs_hint_box_new (GIMP_STOCK_WARNING,
hbox = prefs_hint_box_new (GIMP_ICON_DIALOG_WARNING,
_("The GIMP help browser doesn't seem to "
"be installed. Using the web browser "
"instead."));
@ -2383,14 +2383,14 @@ prefs_dialog_new (Gimp *gimp,
_("Open windows on the same _monitor they were open before"),
GTK_BOX (vbox2));
button = prefs_button_add ("document-save",
button = prefs_button_add (GIMP_ICON_DOCUMENT_SAVE,
_("Save Window Positions _Now"),
GTK_BOX (vbox2));
g_signal_connect (button, "clicked",
G_CALLBACK (prefs_session_save_callback),
gimp);
button2 = prefs_button_add (GIMP_STOCK_RESET,
button2 = prefs_button_add (GIMP_ICON_RESET,
_("_Reset Saved Window Positions to "
"Default Values"),
GTK_BOX (vbox2));
@ -2674,7 +2674,7 @@ prefs_dialog_new (Gimp *gimp,
_("S_hare tool and tool options between input devices"),
GTK_BOX (vbox2));
button = prefs_button_add ("preferences-system",
button = prefs_button_add (GIMP_ICON_PREFERENCES_SYSTEM,
_("Configure E_xtended Input Devices..."),
GTK_BOX (vbox2));
g_signal_connect (button, "clicked",
@ -2685,14 +2685,14 @@ prefs_dialog_new (Gimp *gimp,
_("_Save input device settings on exit"),
GTK_BOX (vbox2));
button = prefs_button_add ("document-save",
button = prefs_button_add (GIMP_ICON_DOCUMENT_SAVE,
_("Save Input Device Settings _Now"),
GTK_BOX (vbox2));
g_signal_connect (button, "clicked",
G_CALLBACK (prefs_devices_save_callback),
gimp);
button2 = prefs_button_add (GIMP_STOCK_RESET,
button2 = prefs_button_add (GIMP_ICON_RESET,
_("_Reset Saved Input Device Settings to "
"Default Values"),
GTK_BOX (vbox2));

View File

@ -116,7 +116,7 @@ print_size_dialog_new (GimpImage *image,
dialog = gimp_viewable_dialog_new (GIMP_VIEWABLE (image), context,
title, role,
GIMP_STOCK_PRINT_RESOLUTION, title,
GIMP_ICON_DOCUMENT_PRINT_RESOLUTION, title,
parent,
help_func, help_id,

View File

@ -161,7 +161,7 @@ quit_close_all_dialog_new (Gimp *gimp,
private->dialog =
gimp_message_dialog_new (do_quit ? _("Quit GIMP") : _("Close All Images"),
GIMP_STOCK_WARNING,
GIMP_ICON_DIALOG_WARNING,
NULL, 0,
gimp_standard_help_func,
do_quit ?

View File

@ -178,7 +178,7 @@ resize_dialog_new (GimpViewable *viewable,
private->old_resize_text_layers = private->resize_text_layers;
dialog = gimp_viewable_dialog_new (viewable, context,
title, role, GIMP_STOCK_RESIZE, title,
title, role, GIMP_ICON_OBJECT_RESIZE, title,
parent,
help_func, help_id,
@ -274,7 +274,7 @@ resize_dialog_new (GimpViewable *viewable,
G_CALLBACK (offset_update),
private);
button = gtk_button_new_from_stock (GIMP_STOCK_CENTER);
button = gtk_button_new_from_stock (GIMP_ICON_CENTER);
gtk_table_attach_defaults (GTK_TABLE (entry), button, 4, 5, 1, 2);
gtk_widget_show (button);

View File

@ -129,7 +129,7 @@ scale_dialog_new (GimpViewable *viewable,
gimp_image_get_resolution (image, &xres, &yres);
dialog = gimp_viewable_dialog_new (viewable, context,
title, role, GIMP_STOCK_SCALE, title,
title, role, GIMP_ICON_OBJECT_SCALE, title,
parent,
help_func, help_id,
@ -206,7 +206,7 @@ scale_dialog_new (GimpViewable *viewable,
if (gimp_image_get_base_type (image) == GIMP_INDEXED)
{
GtkWidget *box = gimp_message_box_new (GIMP_STOCK_INFO);
GtkWidget *box = gimp_message_box_new (GIMP_ICON_DIALOG_INFORMATION);
gimp_message_box_set_text (GIMP_MESSAGE_BOX (box),
_("Indexed color layers are always scaled "

View File

@ -144,13 +144,13 @@ tips_dialog_create (Gimp *gimp)
button = gtk_dialog_add_button (GTK_DIALOG (tips_dialog),
_("_Previous Tip"), RESPONSE_PREVIOUS);
gtk_button_set_image (GTK_BUTTON (button),
gtk_image_new_from_icon_name ("go-previous",
gtk_image_new_from_icon_name (GIMP_ICON_GO_PREVIOUS,
GTK_ICON_SIZE_BUTTON));
button = gtk_dialog_add_button (GTK_DIALOG (tips_dialog),
_("_Next Tip"), RESPONSE_NEXT);
gtk_button_set_image (GTK_BUTTON (button),
gtk_image_new_from_icon_name ("go-next",
gtk_image_new_from_icon_name (GIMP_ICON_GO_NEXT,
GTK_ICON_SIZE_BUTTON));
gtk_dialog_set_response_sensitive (GTK_DIALOG (tips_dialog),
@ -180,7 +180,8 @@ tips_dialog_create (Gimp *gimp)
gtk_box_pack_start (GTK_BOX (hbox), vbox, TRUE, TRUE, 0);
gtk_widget_show (vbox);
image = gtk_image_new_from_icon_name (GIMP_STOCK_INFO, GTK_ICON_SIZE_DIALOG);
image = gtk_image_new_from_icon_name (GIMP_ICON_DIALOG_INFORMATION,
GTK_ICON_SIZE_DIALOG);
gtk_misc_set_alignment (GTK_MISC (image), 0.5, 0.0);
gtk_box_pack_start (GTK_BOX (hbox), image, FALSE, FALSE, 0);
gtk_widget_show (image);

View File

@ -83,7 +83,7 @@ user_install_dialog_new (GimpUserInstall *install)
gimp_icons_init ();
dialog = gimp_message_dialog_new (_("GIMP User Installation"),
GIMP_STOCK_WILBER_EEK,
GIMP_ICON_WILBER_EEK,
NULL, 0, NULL, NULL,
_("_Quit"), GTK_RESPONSE_OK,

View File

@ -104,7 +104,7 @@ vectors_options_dialog_new (GimpImage *image,
parent, title, role,
icon_name, desc, help_id,
_("Path _name:"),
GIMP_STOCK_TOOL_PATH,
GIMP_ICON_TOOL_PATH,
_("Lock path _strokes"),
_("Lock path _position"),
vectors_name,

View File

@ -168,7 +168,7 @@ gimp_display_shell_close_dialog (GimpDisplayShell *shell,
title = g_strdup_printf (_("Close %s"), gimp_image_get_display_name (image));
shell->close_dialog =
dialog = gimp_message_dialog_new (title, "document-save",
dialog = gimp_message_dialog_new (title, GIMP_ICON_DOCUMENT_SAVE,
GTK_WIDGET (shell),
GTK_DIALOG_DESTROY_WITH_PARENT,
gimp_standard_help_func, NULL,

View File

@ -78,7 +78,7 @@ gimp_display_shell_filter_dialog_new (GimpDisplayShell *shell)
gimp_get_user_context (shell->display->gimp),
_("Color Display Filters"),
"gimp-display-filters",
GIMP_STOCK_DISPLAY_FILTER,
GIMP_ICON_DISPLAY_FILTER,
_("Configure Color Display Filters"),
GTK_WIDGET (cdd->shell),
gimp_standard_help_func,

View File

@ -639,10 +639,10 @@ gimp_display_shell_quick_mask_changed_handler (GimpImage *image,
quick_mask_state);
if (quick_mask_state)
gtk_image_set_from_icon_name (gtk_image, GIMP_STOCK_QUICK_MASK_ON,
gtk_image_set_from_icon_name (gtk_image, GIMP_ICON_QUICK_MASK_ON,
GTK_ICON_SIZE_MENU);
else
gtk_image_set_from_icon_name (gtk_image, GIMP_STOCK_QUICK_MASK_OFF,
gtk_image_set_from_icon_name (gtk_image, GIMP_ICON_QUICK_MASK_OFF,
GTK_ICON_SIZE_MENU);
g_signal_handlers_unblock_by_func (shell->quick_mask_button,
@ -866,7 +866,8 @@ gimp_display_shell_saved_handler (GimpImage *image,
GimpStatusbar *statusbar = gimp_display_shell_get_statusbar (shell);
gimp_statusbar_push_temp (statusbar, GIMP_MESSAGE_INFO,
"document-save", _("Image saved to '%s'"),
GIMP_ICON_DOCUMENT_SAVE,
_("Image saved to '%s'"),
gimp_file_get_utf8_name (file));
}
@ -878,7 +879,8 @@ gimp_display_shell_exported_handler (GimpImage *image,
GimpStatusbar *statusbar = gimp_display_shell_get_statusbar (shell);
gimp_statusbar_push_temp (statusbar, GIMP_MESSAGE_INFO,
"document-save", _("Image exported to '%s'"),
GIMP_ICON_DOCUMENT_SAVE,
_("Image exported to '%s'"),
gimp_file_get_utf8_name (file));
}

View File

@ -112,7 +112,7 @@ gimp_display_shell_rotate_dialog (GimpDisplayShell *shell)
gimp_viewable_dialog_new (GIMP_VIEWABLE (image),
gimp_get_user_context (shell->display->gimp),
_("Rotate View"), "display-rotate",
GIMP_STOCK_ROTATE_180,
GIMP_ICON_OBJECT_ROTATE_180,
_("Select Rotation Angle"),
GTK_WIDGET (shell),
gimp_standard_help_func,

View File

@ -539,7 +539,7 @@ gimp_display_shell_constructed (GObject *object)
/* the menu popup button */
shell->origin = gtk_event_box_new ();
gtk_image = gtk_image_new_from_icon_name (GIMP_STOCK_MENU_RIGHT,
gtk_image = gtk_image_new_from_icon_name (GIMP_ICON_MENU_RIGHT,
GTK_ICON_SIZE_MENU);
gtk_container_add (GTK_CONTAINER (shell->origin), gtk_image);
gtk_widget_show (gtk_image);
@ -658,7 +658,7 @@ gimp_display_shell_constructed (GObject *object)
NULL);
gtk_widget_set_can_focus (shell->zoom_button, FALSE);
gtk_image = gtk_image_new_from_icon_name (GIMP_STOCK_ZOOM_FOLLOW_WINDOW,
gtk_image = gtk_image_new_from_icon_name (GIMP_ICON_ZOOM_FOLLOW_WINDOW,
GTK_ICON_SIZE_MENU);
gtk_container_add (GTK_CONTAINER (shell->zoom_button), gtk_image);
gtk_widget_show (gtk_image);
@ -682,7 +682,7 @@ gimp_display_shell_constructed (GObject *object)
NULL);
gtk_widget_set_can_focus (shell->quick_mask_button, FALSE);
gtk_image = gtk_image_new_from_icon_name (GIMP_STOCK_QUICK_MASK_OFF,
gtk_image = gtk_image_new_from_icon_name (GIMP_ICON_QUICK_MASK_OFF,
GTK_ICON_SIZE_MENU);
gtk_container_add (GTK_CONTAINER (shell->quick_mask_button), gtk_image);
gtk_widget_show (gtk_image);
@ -706,7 +706,7 @@ gimp_display_shell_constructed (GObject *object)
/* the navigation window button */
shell->nav_ebox = gtk_event_box_new ();
gtk_image = gtk_image_new_from_icon_name (GIMP_STOCK_NAVIGATION,
gtk_image = gtk_image_new_from_icon_name (GIMP_ICON_DIALOG_NAVIGATION,
GTK_ICON_SIZE_MENU);
gtk_container_add (GTK_CONTAINER (shell->nav_ebox), gtk_image);
gtk_widget_show (gtk_image);

View File

@ -2380,7 +2380,7 @@ gimp_image_window_create_tab_label (GimpImageWindow *window,
gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, FALSE, 0);
gtk_widget_show (button);
gtk_image = gtk_image_new_from_icon_name (GIMP_STOCK_CLOSE,
gtk_image = gtk_image_new_from_icon_name (GIMP_ICON_CLOSE,
GTK_ICON_SIZE_MENU);
gtk_container_add (GTK_CONTAINER (button), gtk_image);
gtk_widget_show (gtk_image);

View File

@ -442,7 +442,7 @@ gimp_navigation_editor_new_private (GimpMenuFactory *menu_factory,
}
gimp_view_renderer_set_background (GIMP_VIEW (editor->view)->renderer,
GIMP_STOCK_TEXTURE);
GIMP_ICON_TEXTURE);
return GTK_WIDGET (editor);
}

View File

@ -196,7 +196,7 @@ gui_abort (const gchar *abort_message)
gtk_window_set_resizable (GTK_WINDOW (dialog), FALSE);
box = g_object_new (GIMP_TYPE_MESSAGE_BOX,
"icon-name", GIMP_STOCK_WILBER_EEK,
"icon-name", GIMP_ICON_WILBER_EEK,
"border-width", 12,
NULL);

View File

@ -56,7 +56,7 @@ gimp_airbrush_tool_register (GimpToolRegisterCallback callback,
_("Airbrush Tool: Paint using a brush, with variable pressure"),
N_("_Airbrush"), "A",
NULL, GIMP_HELP_TOOL_AIRBRUSH,
GIMP_STOCK_TOOL_AIRBRUSH,
GIMP_ICON_TOOL_AIRBRUSH,
data);
}

View File

@ -197,46 +197,46 @@ gimp_align_options_button_new (GimpAlignOptions *options,
switch (action)
{
case GIMP_ALIGN_LEFT:
icon_name = GIMP_STOCK_GRAVITY_WEST;
icon_name = GIMP_ICON_GRAVITY_WEST;
break;
case GIMP_ALIGN_HCENTER:
icon_name = GIMP_STOCK_HCENTER;
icon_name = GIMP_ICON_CENTER_HORIZONTAL;
break;
case GIMP_ALIGN_RIGHT:
icon_name = GIMP_STOCK_GRAVITY_EAST;
icon_name = GIMP_ICON_GRAVITY_EAST;
break;
case GIMP_ALIGN_TOP:
icon_name = GIMP_STOCK_GRAVITY_NORTH;
icon_name = GIMP_ICON_GRAVITY_NORTH;
break;
case GIMP_ALIGN_VCENTER:
icon_name = GIMP_STOCK_VCENTER;
icon_name = GIMP_ICON_CENTER_VERTICAL;
break;
case GIMP_ALIGN_BOTTOM:
icon_name = GIMP_STOCK_GRAVITY_SOUTH;
icon_name = GIMP_ICON_GRAVITY_SOUTH;
break;
case GIMP_ARRANGE_LEFT:
icon_name = GIMP_STOCK_GRAVITY_WEST;
icon_name = GIMP_ICON_GRAVITY_WEST;
break;
case GIMP_ARRANGE_HCENTER:
icon_name = GIMP_STOCK_HCENTER;
icon_name = GIMP_ICON_CENTER_HORIZONTAL;
break;
case GIMP_ARRANGE_RIGHT:
icon_name = GIMP_STOCK_GRAVITY_EAST;
icon_name = GIMP_ICON_GRAVITY_EAST;
break;
case GIMP_ARRANGE_TOP:
icon_name = GIMP_STOCK_GRAVITY_NORTH;
icon_name = GIMP_ICON_GRAVITY_NORTH;
break;
case GIMP_ARRANGE_VCENTER:
icon_name = GIMP_STOCK_VCENTER;
icon_name = GIMP_ICON_CENTER_VERTICAL;
break;
case GIMP_ARRANGE_BOTTOM:
icon_name = GIMP_STOCK_GRAVITY_SOUTH;
icon_name = GIMP_ICON_GRAVITY_SOUTH;
break;
case GIMP_ARRANGE_HFILL:
icon_name = GIMP_ICON_HFILL;
icon_name = GIMP_ICON_FILL_HORIZONTAL;
break;
case GIMP_ARRANGE_VFILL:
icon_name = GIMP_ICON_VFILL;
icon_name = GIMP_ICON_FILL_VERTICAL;
break;
default:
g_return_val_if_reached (NULL);

View File

@ -125,7 +125,7 @@ gimp_align_tool_register (GimpToolRegisterCallback callback,
_("Alignment Tool: Align or arrange layers and other objects"),
N_("_Align"), "Q",
NULL, GIMP_HELP_TOOL_ALIGN,
GIMP_STOCK_TOOL_ALIGN,
GIMP_ICON_TOOL_ALIGN,
data);
}

View File

@ -171,7 +171,7 @@ gimp_blend_tool_register (GimpToolRegisterCallback callback,
_("Blend Tool: Fill selected area with a color gradient"),
N_("Blen_d"), "L",
NULL, GIMP_HELP_TOOL_BLEND,
GIMP_STOCK_TOOL_BLEND,
GIMP_ICON_TOOL_BLEND,
data);
}
@ -1200,7 +1200,7 @@ gimp_blend_tool_create_filter (GimpBlendTool *blend_tool,
blend_tool->filter = gimp_drawable_filter_new (drawable,
C_("undo-type", "Blend"),
blend_tool->graph,
GIMP_STOCK_TOOL_BLEND);
GIMP_ICON_TOOL_BLEND);
gimp_drawable_filter_set_region (blend_tool->filter,
GIMP_FILTER_REGION_DRAWABLE);

View File

@ -102,7 +102,7 @@ gimp_brightness_contrast_tool_register (GimpToolRegisterCallback callback,
_("Brightness/Contrast Tool: Adjust brightness and contrast"),
N_("B_rightness-Contrast..."), NULL,
NULL, GIMP_HELP_TOOL_BRIGHTNESS_CONTRAST,
GIMP_STOCK_TOOL_BRIGHTNESS_CONTRAST,
GIMP_ICON_TOOL_BRIGHTNESS_CONTRAST,
data);
}
@ -299,7 +299,7 @@ gimp_brightness_contrast_tool_dialog (GimpFilterTool *filter_tool)
bc_tool->contrast_scale = scale;
button = gimp_icon_button_new (GIMP_STOCK_TOOL_LEVELS,
button = gimp_icon_button_new (GIMP_ICON_TOOL_LEVELS,
_("Edit these Settings as Levels"));
gtk_box_pack_start (GTK_BOX (main_vbox), button, FALSE, FALSE, 0);
gtk_widget_show (button);

View File

@ -88,7 +88,7 @@ gimp_bucket_fill_tool_register (GimpToolRegisterCallback callback,
_("Bucket Fill Tool: Fill selected area with a color or pattern"),
N_("_Bucket Fill"), "<shift>B",
NULL, GIMP_HELP_TOOL_BUCKET_FILL,
GIMP_STOCK_TOOL_BUCKET_FILL,
GIMP_ICON_TOOL_BUCKET_FILL,
data);
}

View File

@ -68,7 +68,7 @@ gimp_by_color_select_tool_register (GimpToolRegisterCallback callback,
_("Select by Color Tool: Select regions with similar colors"),
N_("_By Color Select"), "<shift>O",
NULL, GIMP_HELP_TOOL_BY_COLOR_SELECT,
GIMP_STOCK_TOOL_BY_COLOR_SELECT,
GIMP_ICON_TOOL_BY_COLOR_SELECT,
data);
}

View File

@ -158,7 +158,7 @@ gimp_cage_tool_register (GimpToolRegisterCallback callback,
_("Cage Transform: Deform a selection with a cage"),
N_("_Cage Transform"), "<shift>G",
NULL, GIMP_HELP_TOOL_CAGE,
GIMP_STOCK_TOOL_CAGE,
GIMP_ICON_TOOL_CAGE,
data);
}
@ -1280,7 +1280,7 @@ gimp_cage_tool_create_filter (GimpCageTool *ct)
ct->filter = gimp_drawable_filter_new (GIMP_TOOL (ct)->drawable,
_("Cage transform"),
ct->render_node,
GIMP_STOCK_TOOL_CAGE);
GIMP_ICON_TOOL_CAGE);
g_signal_connect (ct->filter, "flush",
G_CALLBACK (gimp_cage_tool_filter_flush),

View File

@ -57,7 +57,7 @@ gimp_clone_tool_register (GimpToolRegisterCallback callback,
_("Clone Tool: Selectively copy from an image or pattern, using a brush"),
N_("_Clone"), "C",
NULL, GIMP_HELP_TOOL_CLONE,
GIMP_STOCK_TOOL_CLONE,
GIMP_ICON_TOOL_CLONE,
data);
}

View File

@ -82,7 +82,7 @@ gimp_color_balance_tool_register (GimpToolRegisterCallback callback,
_("Color Balance Tool: Adjust color distribution"),
N_("Color _Balance..."), NULL,
NULL, GIMP_HELP_TOOL_COLOR_BALANCE,
GIMP_STOCK_TOOL_COLOR_BALANCE,
GIMP_ICON_TOOL_COLOR_BALANCE,
data);
}

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