Commit 12920b5a authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

take const arrays of action entries.

2006-04-10  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpactiongroup.[ch]: take const arrays of action
	entries.

	* app/actions/*-actions.c: declare action arrays as const.
parent 03eebd53
2006-04-10 Sven Neumann <sven@gimp.org>
* app/widgets/gimpactiongroup.[ch]: take const arrays of action
entries.
* app/actions/*-actions.c: declare action arrays as const.
2006-04-10 Michael Natterer <mitch@gimp.org>
* app/plug-in/plug-ins.[ch]: removed the plug_ins_file_foo()
......
......@@ -36,14 +36,14 @@
#include "gimp-intl.h"
static GimpActionEntry brush_editor_actions[] =
static const GimpActionEntry brush_editor_actions[] =
{
{ "brush-editor-popup", GIMP_STOCK_BRUSH,
N_("Brush Editor Menu"), NULL, NULL, NULL,
GIMP_HELP_BRUSH_EDITOR_DIALOG }
};
static GimpToggleActionEntry brush_editor_toggle_actions[] =
static const GimpToggleActionEntry brush_editor_toggle_actions[] =
{
{ "brush-editor-edit-active", GIMP_STOCK_LINKED,
N_("Edit Active Brush"), NULL, NULL,
......
......@@ -37,7 +37,7 @@
#include "gimp-intl.h"
static GimpActionEntry brushes_actions[] =
static const GimpActionEntry brushes_actions[] =
{
{ "brushes-popup", GIMP_STOCK_BRUSH,
N_("Brushes Menu"), NULL, NULL, NULL,
......@@ -80,7 +80,7 @@ static GimpActionEntry brushes_actions[] =
GIMP_HELP_BRUSH_REFRESH }
};
static GimpStringActionEntry brushes_edit_actions[] =
static const GimpStringActionEntry brushes_edit_actions[] =
{
{ "brushes-edit", GTK_STOCK_EDIT,
N_("_Edit Brush..."), NULL,
......
......@@ -36,7 +36,7 @@
#include "gimp-intl.h"
static GimpActionEntry buffers_actions[] =
static const GimpActionEntry buffers_actions[] =
{
{ "buffers-popup", GIMP_STOCK_BUFFER,
N_("Buffers Menu"), NULL, NULL, NULL,
......
......@@ -38,7 +38,7 @@
#include "gimp-intl.h"
static GimpActionEntry channels_actions[] =
static const GimpActionEntry channels_actions[] =
{
{ "channels-popup", GIMP_STOCK_CHANNELS,
N_("Channels Menu"), NULL, NULL, NULL,
......@@ -99,7 +99,7 @@ static GimpActionEntry channels_actions[] =
GIMP_HELP_CHANNEL_LOWER_TO_BOTTOM }
};
static GimpEnumActionEntry channels_to_selection_actions[] =
static const GimpEnumActionEntry channels_to_selection_actions[] =
{
{ "channels-selection-replace", GIMP_STOCK_SELECTION_REPLACE,
N_("Channel to Sele_ction"), NULL,
......
......@@ -37,7 +37,7 @@
#include "gimp-intl.h"
static GimpActionEntry colormap_editor_actions[] =
static const GimpActionEntry colormap_editor_actions[] =
{
{ "colormap-editor-popup", GIMP_STOCK_INDEXED_PALETTE,
N_("Colormap Menu"), NULL, NULL, NULL,
......@@ -50,7 +50,7 @@ static GimpActionEntry colormap_editor_actions[] =
GIMP_HELP_INDEXED_PALETTE_EDIT }
};
static GimpEnumActionEntry colormap_editor_add_color_actions[] =
static const GimpEnumActionEntry colormap_editor_add_color_actions[] =
{
{ "colormap-editor-add-color-from-fg", GTK_STOCK_ADD,
N_("_Add Color from FG"), "",
......
......@@ -37,7 +37,7 @@
#include "gimp-intl.h"
static GimpActionEntry colormap_editor_actions[] =
static const GimpActionEntry colormap_editor_actions[] =
{
{ "colormap-editor-popup", GIMP_STOCK_INDEXED_PALETTE,
N_("Colormap Menu"), NULL, NULL, NULL,
......@@ -50,7 +50,7 @@ static GimpActionEntry colormap_editor_actions[] =
GIMP_HELP_INDEXED_PALETTE_EDIT }
};
static GimpEnumActionEntry colormap_editor_add_color_actions[] =
static const GimpEnumActionEntry colormap_editor_add_color_actions[] =
{
{ "colormap-editor-add-color-from-fg", GTK_STOCK_ADD,
N_("_Add Color from FG"), "",
......
......@@ -41,7 +41,7 @@
/* local function prototypes */
static GimpActionEntry context_actions[] =
static const GimpActionEntry context_actions[] =
{
{ "context-menu", NULL, N_("_Context") },
{ "context-colors-menu", GIMP_STOCK_DEFAULT_COLORS, N_("_Colors") },
......@@ -74,7 +74,7 @@ static GimpActionEntry context_actions[] =
GIMP_HELP_TOOLBOX_SWAP_COLORS }
};
static GimpEnumActionEntry context_foreground_red_actions[] =
static const GimpEnumActionEntry context_foreground_red_actions[] =
{
{ "context-foreground-red-set", GIMP_STOCK_CHANNEL_RED,
"Foreground Red Set", NULL, NULL,
......@@ -106,7 +106,7 @@ static GimpEnumActionEntry context_foreground_red_actions[] =
NULL }
};
static GimpEnumActionEntry context_foreground_green_actions[] =
static const GimpEnumActionEntry context_foreground_green_actions[] =
{
{ "context-foreground-green-set", GIMP_STOCK_CHANNEL_GREEN,
"Foreground Green Set", NULL, NULL,
......@@ -138,7 +138,7 @@ static GimpEnumActionEntry context_foreground_green_actions[] =
NULL }
};
static GimpEnumActionEntry context_foreground_blue_actions[] =
static const GimpEnumActionEntry context_foreground_blue_actions[] =
{
{ "context-foreground-blue-set", GIMP_STOCK_CHANNEL_BLUE,
"Foreground Blue Set", NULL, NULL,
......@@ -170,7 +170,7 @@ static GimpEnumActionEntry context_foreground_blue_actions[] =
NULL }
};
static GimpEnumActionEntry context_background_red_actions[] =
static const GimpEnumActionEntry context_background_red_actions[] =
{
{ "context-background-red-set", GIMP_STOCK_CHANNEL_RED,
"Background Red Set", NULL, NULL,
......@@ -202,7 +202,7 @@ static GimpEnumActionEntry context_background_red_actions[] =
NULL }
};
static GimpEnumActionEntry context_background_green_actions[] =
static const GimpEnumActionEntry context_background_green_actions[] =
{
{ "context-background-green-set", GIMP_STOCK_CHANNEL_GREEN,
"Background Green Set", NULL, NULL,
......@@ -234,7 +234,7 @@ static GimpEnumActionEntry context_background_green_actions[] =
NULL }
};
static GimpEnumActionEntry context_background_blue_actions[] =
static const GimpEnumActionEntry context_background_blue_actions[] =
{
{ "context-background-blue-set", GIMP_STOCK_CHANNEL_BLUE,
"Background Blue Set", NULL, NULL,
......@@ -266,7 +266,7 @@ static GimpEnumActionEntry context_background_blue_actions[] =
NULL }
};
static GimpEnumActionEntry context_foreground_hue_actions[] =
static const GimpEnumActionEntry context_foreground_hue_actions[] =
{
{ "context-foreground-hue-set", GIMP_STOCK_TOOL_HUE_SATURATION,
"Foreground Hue Set", NULL, NULL,
......@@ -298,7 +298,7 @@ static GimpEnumActionEntry context_foreground_hue_actions[] =
NULL }
};
static GimpEnumActionEntry context_foreground_saturation_actions[] =
static const GimpEnumActionEntry context_foreground_saturation_actions[] =
{
{ "context-foreground-saturation-set", GIMP_STOCK_TOOL_HUE_SATURATION,
"Foreground Saturation Set", NULL, NULL,
......@@ -330,7 +330,7 @@ static GimpEnumActionEntry context_foreground_saturation_actions[] =
NULL }
};
static GimpEnumActionEntry context_foreground_value_actions[] =
static const GimpEnumActionEntry context_foreground_value_actions[] =
{
{ "context-foreground-value-set", GIMP_STOCK_TOOL_HUE_SATURATION,
"Foreground Value Set", NULL, NULL,
......@@ -362,7 +362,7 @@ static GimpEnumActionEntry context_foreground_value_actions[] =
NULL }
};
static GimpEnumActionEntry context_background_hue_actions[] =
static const GimpEnumActionEntry context_background_hue_actions[] =
{
{ "context-background-hue-set", GIMP_STOCK_TOOL_HUE_SATURATION,
"Background Hue Set", NULL, NULL,
......@@ -394,7 +394,7 @@ static GimpEnumActionEntry context_background_hue_actions[] =
NULL }
};
static GimpEnumActionEntry context_background_saturation_actions[] =
static const GimpEnumActionEntry context_background_saturation_actions[] =
{
{ "context-background-saturation-set", GIMP_STOCK_TOOL_HUE_SATURATION,
"Background Saturation Set", NULL, NULL,
......@@ -426,7 +426,7 @@ static GimpEnumActionEntry context_background_saturation_actions[] =
NULL }
};
static GimpEnumActionEntry context_background_value_actions[] =
static const GimpEnumActionEntry context_background_value_actions[] =
{
{ "context-background-value-set", GIMP_STOCK_TOOL_HUE_SATURATION,
"Background Value Set", NULL, NULL,
......@@ -458,7 +458,7 @@ static GimpEnumActionEntry context_background_value_actions[] =
NULL }
};
static GimpEnumActionEntry context_opacity_actions[] =
static const GimpEnumActionEntry context_opacity_actions[] =
{
{ "context-opacity-set", GIMP_STOCK_TRANSPARENCY,
"Set Transparency", NULL, NULL,
......@@ -490,7 +490,7 @@ static GimpEnumActionEntry context_opacity_actions[] =
NULL }
};
static GimpEnumActionEntry context_paint_mode_actions[] =
static const GimpEnumActionEntry context_paint_mode_actions[] =
{
{ "context-paint-mode-first", GIMP_STOCK_TOOL_PENCIL,
"First Paint Mode", NULL, NULL,
......@@ -510,7 +510,7 @@ static GimpEnumActionEntry context_paint_mode_actions[] =
NULL }
};
static GimpEnumActionEntry context_tool_select_actions[] =
static const GimpEnumActionEntry context_tool_select_actions[] =
{
{ "context-tool-select-set", GIMP_STOCK_TOOLS,
"Select Tool by Index", NULL, NULL,
......@@ -534,7 +534,7 @@ static GimpEnumActionEntry context_tool_select_actions[] =
NULL }
};
static GimpEnumActionEntry context_brush_select_actions[] =
static const GimpEnumActionEntry context_brush_select_actions[] =
{
{ "context-brush-select-set", GIMP_STOCK_BRUSH,
"Select Brush by Index", NULL, NULL,
......@@ -558,7 +558,7 @@ static GimpEnumActionEntry context_brush_select_actions[] =
NULL }
};
static GimpEnumActionEntry context_pattern_select_actions[] =
static const GimpEnumActionEntry context_pattern_select_actions[] =
{
{ "context-pattern-select-set", GIMP_STOCK_PATTERN,
"Select Pattern by Index", NULL, NULL,
......@@ -582,7 +582,7 @@ static GimpEnumActionEntry context_pattern_select_actions[] =
NULL }
};
static GimpEnumActionEntry context_palette_select_actions[] =
static const GimpEnumActionEntry context_palette_select_actions[] =
{
{ "context-palette-select-set", GIMP_STOCK_PALETTE,
"Select Palette by Index", NULL, NULL,
......@@ -606,7 +606,7 @@ static GimpEnumActionEntry context_palette_select_actions[] =
NULL }
};
static GimpEnumActionEntry context_gradient_select_actions[] =
static const GimpEnumActionEntry context_gradient_select_actions[] =
{
{ "context-gradient-select-set", GIMP_STOCK_GRADIENT,
"Select Gradient by Index", NULL, NULL,
......@@ -630,7 +630,7 @@ static GimpEnumActionEntry context_gradient_select_actions[] =
NULL }
};
static GimpEnumActionEntry context_font_select_actions[] =
static const GimpEnumActionEntry context_font_select_actions[] =
{
{ "context-font-select-set", GIMP_STOCK_FONT,
"Select Font by Index", NULL, NULL,
......@@ -654,7 +654,7 @@ static GimpEnumActionEntry context_font_select_actions[] =
NULL }
};
static GimpEnumActionEntry context_brush_shape_actions[] =
static const GimpEnumActionEntry context_brush_shape_actions[] =
{
{ "context-brush-shape-circle", GIMP_STOCK_BRUSH,
"Circular Brush", NULL, NULL,
......@@ -670,7 +670,7 @@ static GimpEnumActionEntry context_brush_shape_actions[] =
NULL }
};
static GimpEnumActionEntry context_brush_radius_actions[] =
static const GimpEnumActionEntry context_brush_radius_actions[] =
{
{ "context-brush-radius-set", GIMP_STOCK_BRUSH,
"Set Brush Radius", NULL, NULL,
......@@ -702,7 +702,7 @@ static GimpEnumActionEntry context_brush_radius_actions[] =
NULL },
};
static GimpEnumActionEntry context_brush_spikes_actions[] =
static const GimpEnumActionEntry context_brush_spikes_actions[] =
{
{ "context-brush-spikes-set", GIMP_STOCK_BRUSH,
"Set Brush Spikes", NULL, NULL,
......@@ -734,7 +734,7 @@ static GimpEnumActionEntry context_brush_spikes_actions[] =
NULL },
};
static GimpEnumActionEntry context_brush_hardness_actions[] =
static const GimpEnumActionEntry context_brush_hardness_actions[] =
{
{ "context-brush-hardness-set", GIMP_STOCK_BRUSH,
"Set Brush Hardness", NULL, NULL,
......@@ -766,7 +766,7 @@ static GimpEnumActionEntry context_brush_hardness_actions[] =
NULL },
};
static GimpEnumActionEntry context_brush_aspect_actions[] =
static const GimpEnumActionEntry context_brush_aspect_actions[] =
{
{ "context-brush-aspect-set", GIMP_STOCK_BRUSH,
"Set Brush Aspect", NULL, NULL,
......@@ -798,7 +798,7 @@ static GimpEnumActionEntry context_brush_aspect_actions[] =
NULL },
};
static GimpEnumActionEntry context_brush_angle_actions[] =
static const GimpEnumActionEntry context_brush_angle_actions[] =
{
{ "context-brush-angle-set", GIMP_STOCK_BRUSH,
"Set Brush Angle", NULL, NULL,
......
......@@ -34,14 +34,14 @@
#include "gimp-intl.h"
static GimpActionEntry cursor_info_actions[] =
static const GimpActionEntry cursor_info_actions[] =
{
{ "cursor-info-popup", GIMP_STOCK_CURSOR,
N_("Pointer Information Menu"), NULL, NULL, NULL,
GIMP_HELP_POINTER_INFO_DIALOG }
};
static GimpToggleActionEntry cursor_info_toggle_actions[] =
static const GimpToggleActionEntry cursor_info_toggle_actions[] =
{
{ "cursor-info-sample-merged", NULL,
N_("_Sample Merged"), "",
......
......@@ -29,9 +29,10 @@
#include "debug-actions.h"
#include "debug-commands.h"
#ifdef ENABLE_DEBUG_MENU
static GimpActionEntry debug_actions[] =
static const GimpActionEntry debug_actions[] =
{
{ "debug-menu", NULL, "D_ebug" },
......
......@@ -33,7 +33,7 @@
#include "gimp-intl.h"
static GimpActionEntry dialogs_actions[] =
static const GimpActionEntry dialogs_actions[] =
{
{ "dialogs-menu", NULL, N_("_Dialogs") },
{ "dialogs-new-dock-menu", NULL, N_("Create New Doc_k") },
......@@ -59,7 +59,7 @@ static GimpActionEntry dialogs_actions[] =
GIMP_HELP_TOOLBOX }
};
GimpStringActionEntry dialogs_dockable_actions[] =
const GimpStringActionEntry dialogs_dockable_actions[] =
{
{ "dialogs-tool-options", GIMP_STOCK_TOOL_OPTIONS,
N_("Tool _Options"), NULL, N_("Tool Options"),
......@@ -184,7 +184,7 @@ GimpStringActionEntry dialogs_dockable_actions[] =
gint n_dialogs_dockable_actions = G_N_ELEMENTS (dialogs_dockable_actions);
static GimpStringActionEntry dialogs_toplevel_actions[] =
static const GimpStringActionEntry dialogs_toplevel_actions[] =
{
{ "dialogs-preferences", GTK_STOCK_PREFERENCES,
N_("_Preferences"), NULL, NULL,
......
......@@ -25,8 +25,8 @@
#error "widgets/gimpactiongroup.h must be included prior to dialog-actions.h"
#endif
extern GimpStringActionEntry dialogs_dockable_actions[];
extern gint n_dialogs_dockable_actions;
extern const GimpStringActionEntry dialogs_dockable_actions[];
extern gint n_dialogs_dockable_actions;
void dialogs_actions_setup (GimpActionGroup *group);
......
......@@ -37,7 +37,7 @@
#include "gimp-intl.h"
static GimpActionEntry dock_actions[] =
static const GimpActionEntry dock_actions[] =
{
{ "dock-move-to-screen-menu", GIMP_STOCK_MOVE_TO_SCREEN,
N_("M_ove to Screen"), NULL, NULL, NULL,
......@@ -54,7 +54,7 @@ static GimpActionEntry dock_actions[] =
NULL }
};
static GimpToggleActionEntry dock_toggle_actions[] =
static const GimpToggleActionEntry dock_toggle_actions[] =
{
{ "dock-show-image-menu", NULL,
N_("_Show Image Selection"), NULL, NULL,
......
......@@ -43,7 +43,7 @@
#include "gimp-intl.h"
static GimpActionEntry dockable_actions[] =
static const GimpActionEntry dockable_actions[] =
{
{ "dockable-popup", NULL,
N_("Dialogs Menu"), NULL, NULL, NULL,
......@@ -76,7 +76,7 @@ static GimpActionEntry dockable_actions[] =
(style), \
GIMP_HELP_DOCK_TAB_STYLE }
static GimpRadioActionEntry dockable_view_size_actions[] =
static const GimpRadioActionEntry dockable_view_size_actions[] =
{
VIEW_SIZE ("tiny", N_("_Tiny"), GIMP_VIEW_SIZE_TINY),
VIEW_SIZE ("extra-small", N_("E_xtra Small"), GIMP_VIEW_SIZE_EXTRA_SMALL),
......@@ -89,7 +89,7 @@ static GimpRadioActionEntry dockable_view_size_actions[] =
VIEW_SIZE ("gigantic", N_("_Gigantic"), GIMP_VIEW_SIZE_GIGANTIC)
};
static GimpRadioActionEntry dockable_tab_style_actions[] =
static const GimpRadioActionEntry dockable_tab_style_actions[] =
{
TAB_STYLE ("icon", N_("_Icon"), GIMP_TAB_STYLE_ICON),
TAB_STYLE ("preview", N_("Current _Status"), GIMP_TAB_STYLE_PREVIEW),
......@@ -102,7 +102,7 @@ static GimpRadioActionEntry dockable_tab_style_actions[] =
#undef TAB_STYLE
static GimpToggleActionEntry dockable_toggle_actions[] =
static const GimpToggleActionEntry dockable_toggle_actions[] =
{
{ "dockable-show-button-bar", NULL,
N_("Show _Button Bar"), NULL, NULL,
......@@ -111,7 +111,7 @@ static GimpToggleActionEntry dockable_toggle_actions[] =
GIMP_HELP_DOCK_SHOW_BUTTON_BAR }
};
static GimpRadioActionEntry dockable_view_type_actions[] =
static const GimpRadioActionEntry dockable_view_type_actions[] =
{
{ "dockable-view-type-list", NULL,
N_("View as _List"), NULL, NULL,
......
......@@ -36,7 +36,7 @@
#include "gimp-intl.h"
static GimpActionEntry documents_actions[] =
static const GimpActionEntry documents_actions[] =
{
{ "documents-popup", GTK_STOCK_OPEN,
N_("Documents Menu"), NULL, NULL, NULL,
......
......@@ -39,7 +39,7 @@
#include "gimp-intl.h"
static GimpActionEntry drawable_actions[] =
static const GimpActionEntry drawable_actions[] =
{
{ "drawable-desaturate", GIMP_STOCK_CONVERT_GRAYSCALE,
N_("_Desaturate..."), NULL,
......@@ -72,7 +72,7 @@ static GimpActionEntry drawable_actions[] =
GIMP_HELP_LAYER_OFFSET }
};
static GimpToggleActionEntry drawable_toggle_actions[] =
static const GimpToggleActionEntry drawable_toggle_actions[] =
{
{ "drawable-linked", GIMP_STOCK_LINKED,
N_("_Linked"), NULL,
......@@ -89,7 +89,7 @@ static GimpToggleActionEntry drawable_toggle_actions[] =
GIMP_HELP_LAYER_VISIBLE }
};
static GimpEnumActionEntry drawable_flip_actions[] =
static const GimpEnumActionEntry drawable_flip_actions[] =
{
{ "drawable-flip-horizontal", GIMP_STOCK_FLIP_HORIZONTAL,
N_("Flip _Horizontally"), NULL,
......@@ -104,7 +104,7 @@ static GimpEnumActionEntry drawable_flip_actions[] =
GIMP_HELP_LAYER_FLIP_VERTICAL }
};
static GimpEnumActionEntry drawable_rotate_actions[] =
static const GimpEnumActionEntry drawable_rotate_actions[] =
{
{ "drawable-rotate-90", GIMP_STOCK_ROTATE_90,
N_("Rotate 90° _clockwise"), NULL,
......
......@@ -56,7 +56,7 @@ static void edit_actions_pattern_changed (GimpContext *context,
GimpActionGroup *group);
static GimpActionEntry edit_actions[] =
static const GimpActionEntry edit_actions[] =
{
{ "edit-menu", NULL, N_("_Edit") },
{ "edit-paste-as-menu", NULL, N_("_Paste as") },
......@@ -153,7 +153,7 @@ static GimpActionEntry edit_actions[] =
GIMP_HELP_EDIT_CLEAR }
};
static GimpEnumActionEntry edit_fill_actions[] =
static const GimpEnumActionEntry edit_fill_actions[] =
{
{ "edit-fill-fg", GIMP_STOCK_TOOL_BUCKET_FILL,
N_("Fill with _FG Color"), "<control>comma",
......
......@@ -34,7 +34,7 @@
#include "gimp-intl.h"
static GimpActionEntry error_console_actions[] =
static const GimpActionEntry error_console_actions[] =
{
{ "error-console-popup", GIMP_STOCK_WARNING,
N_("Error Console Menu"), NULL, NULL, NULL,
......@@ -47,7 +47,7 @@ static GimpActionEntry error_console_actions[] =
GIMP_HELP_ERRORS_CLEAR }
};
static GimpEnumActionEntry error_console_save_actions[] =
static const GimpEnumActionEntry error_console_save_actions[] =
{
{ "error-console-save-all", GTK_STOCK_SAVE_AS,
N_("Save _All Errors to File..."), "",
......
......@@ -59,7 +59,7 @@ static void file_actions_close_all_update (GimpContainer *container,
GimpActionGroup *group);
static GimpActionEntry file_actions[] =
static const GimpActionEntry file_actions[] =
{
{ "file-menu", NULL, N_("_File") },
{ "file-open-recent-menu", NULL, N_("Open _Recent") },
......
......@@ -38,7 +38,7 @@
#include "gimp-intl.h"
static GimpActionEntry fonts_actions[] =
static const GimpActionEntry fonts_actions[] =
{
{ "fonts-popup", GIMP_STOCK_FONT,
N_("Fonts Menu"), NULL, NULL, NULL,
......
......@@ -40,7 +40,7 @@
#include "gimp-intl.h"
static GimpActionEntry gradient_editor_actions[] =
static const GimpActionEntry gradient_editor_actions[] =
{
{ "gradient-editor-popup", GIMP_STOCK_GRADIENT,
N_("Gradient Editor Menu"), NULL, NULL, NULL,
......@@ -115,7 +115,7 @@ static GimpActionEntry gradient_editor_actions[] =
GIMP_HELP_GRADIENT_EDITOR_BLEND_OPACITY }
};
static GimpToggleActionEntry gradient_editor_toggle_actions[] =
static const GimpToggleActionEntry gradient_editor_toggle_actions[] =
{
{ "gradient-editor-edit-active", GIMP_STOCK_LINKED,
N_("Edit Active Gradient"), NULL, NULL,
......@@ -146,7 +146,7 @@ static GimpToggleActionEntry gradient_editor_toggle_actions[] =
(magic), FALSE, \
GIMP_HELP_GRADIENT_EDITOR_RIGHT_SAVE }
static GimpEnumActionEntry gradient_editor_load_left_actions[] =
static const GimpEnumActionEntry gradient_editor_load_left_actions[] =
{
{ "gradient-editor-load-left-left-neighbor", NULL,
N_("_Left Neighbor's Right Endpoint"), NULL, NULL,
......@@ -180,7 +180,7 @@ static GimpEnumActionEntry gradient_editor_load_left_actions[] =
LOAD_LEFT_FROM ("10", GRADIENT_EDITOR_COLOR_FIRST_CUSTOM + 9)
};
static GimpEnumActionEntry gradient_editor_save_left_actions[] =
static const GimpEnumActionEntry gradient_editor_save_left_actions[] =
{
SAVE_LEFT_TO ("01", 0),
SAVE_LEFT_TO ("02", 1),
......@@ -194,7 +194,7 @@ static GimpEnumActionEntry gradient_editor_save_left_actions[] =
SAVE_LEFT_TO ("10", 9)
};
static GimpEnumActionEntry gradient_editor_load_right_actions[] =
static const GimpEnumActionEntry gradient_editor_load_right_actions[] =
{
{ "gradient-editor-load-right-right-neighbor", NULL,
N_("_Right Neighbor's Left Endpoint"), NULL, NULL,
......@@ -228,7 +228,7 @@ static GimpEnumActionEntry gradient_editor_load_right_actions[] =
LOAD_RIGHT_FROM ("10", GRADIENT_EDITOR_COLOR_FIRST_CUSTOM + 9)
};
static GimpEnumActionEntry gradient_editor_save_right_actions[] =
static const GimpEnumActionEntry gradient_editor_save_right_actions[] =
{
SAVE_RIGHT_TO ("01", 0),
SAVE_RIGHT_TO ("02", 1),
......@@ -248,7 +248,7 @@ static GimpEnumActionEntry gradient_editor_save_right_actions[] =
#undef SAVE_RIGHT_TO
static GimpRadioActionEntry gradient_editor_blending_actions[] =
static const GimpRadioActionEntry gradient_editor_blending_actions[] =
{
{ "gradient-editor-blending-linear", NULL,
N_("_Linear"), NULL, NULL,
......@@ -281,7 +281,7 @@ static GimpRadioActionEntry gradient_editor_blending_actions[] =
GIMP_HELP_GRADIENT_EDITOR_BLENDING }
};
static GimpRadioActionEntry gradient_editor_coloring_actions[] =
static const GimpRadioActionEntry gradient_editor_coloring_actions[] =
{
{ "gradient-editor-coloring-rgb", NULL,
N_("_RGB"), NULL, NULL,
......@@ -304,7 +304,7 @@ static GimpRadioActionEntry gradient_editor_coloring_actions[] =
GIMP_HELP_GRADIENT_EDITOR_COLORING }
};
static GimpEnumActionEntry gradient_editor_zoom_actions[] =
static const GimpEnumActionEntry gradient_editor_zoom_actions[] =
{
{ "gradient-editor-zoom-in", GTK_STOCK_ZOOM_IN,
N_("Zoom In"), NULL,
......
......@@ -38,7 +38,7 @@
#include "gimp-intl.h"
static GimpActionEntry gradients_actions[] =
static const GimpActionEntry gradients_actions[] =
{
{ "gradients-popup", GIMP_STOCK_GRADIENT,
N_("Gradients Menu"), NULL, NULL, NULL,
......@@ -81,7 +81,7 @@ static GimpActionEntry gradients_actions[] =
GIMP_HELP_GRADIENT_REFRESH }
};
static GimpStringActionEntry gradients_edit_actions[] =
static const GimpStringActionEntry gradients_edit_actions[] =
{
{ "gradients-edit", GTK_STOCK_EDIT,
N_("_Edit Gradient..."), NULL,
......
......@@ -33,7 +33,7 @@
#include "gimp-intl.h"
static GimpActionEntry help_actions[] =
static const GimpActionEntry help_actions[] =
{
{ "help-menu", NULL, N_("_Help") },
......
......@@ -41,7 +41,7 @@
#include "gimp-intl.h"
static GimpActionEntry image_actions[] =
static const GimpActionEntry image_actions[] =
{
{ "toolbox-menubar", NULL,
N_("Toolbox Menu"), NULL, NULL, NULL,
......@@ -141,7 +141,7 @@ static GimpActionEntry image_actions[] =
GIMP_HELP_IMAGE_PROPERTIES }
};
static GimpEnumActionEntry image_convert_actions[] =
static const GimpEnumActionEntry image_convert_actions[] =
{
{ "image-convert-rgb", GIMP_STOCK_CONVERT_RGB,
N_("_RGB"), NULL,
......@@ -162,7 +162,7 @@ static GimpEnumActionEntry image_convert_actions[] =
GIMP_HELP_IMAGE_CONVERT_INDEXED }
};
static GimpEnumActionEntry image_flip_actions[] =
static const GimpEnumActionEntry image_flip_actions[] =
{
{ "image-flip-horizontal", GIMP_STOCK_FLIP_HORIZONTAL,
N_("Flip _Horizontally"), NULL,
......@@ -177,7 +177,7 @@ static GimpEnumActionEntry image_flip_actions[] =
GIMP_HELP_IMAGE_FLIP_VERTICAL }
};
static GimpEnumActionEntry image_rotate_actions[] =
static const GimpEnumActionEntry image_rotate_actions[] =
{
{ "image-rotate-90", GIMP_STOCK_ROTATE_90,
N_("Rotate 90° _clockwise"), NULL,
......
......@@ -37,7 +37,7 @@
#include "gimp-intl.h"
static GimpActionEntry images_actions[] =
static const GimpActionEntry images_actions[] =
{
{ "images-popup", GIMP_STOCK_IMAGES,
N_("Images Menu"), NULL, NULL, NULL,
......
......@@ -42,7 +42,7 @@
#include "gimp-intl.h"
static GimpActionEntry layers_actions[] =
static const GimpActionEntry layers_actions[] =
{
{ "layers-popup", GIMP_STOCK_LAYERS,
N_("Layers Menu"), NULL, NULL, NULL,
......@@ -190,7 +190,7 @@ static GimpActionEntry layers_actions[] =
GIMP_HELP_LAYER_ALPHA_REMOVE }
};
static GimpToggleActionEntry layers_toggle_actions[] =
static const GimpToggleActionEntry layers_toggle_actions[] =
{
{ "layers-lock-alpha", GIMP_STOCK_TRANSPARENCY,
N_("Lock Alph_a Channel"), NULL,
......@@ -220,7 +220,7 @@ static GimpToggleActionEntry layers_toggle_actions[] =
GIMP_HELP_LAYER_MASK_DISABLE }
};