Commit e551a9a3 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

app/actions/buffers-commands.[ch] app/actions/data-commands.[ch]

2005-01-14  Michael Natterer  <mitch@gimp.org>

	* app/actions/buffers-commands.[ch]
	* app/actions/data-commands.[ch]
	* app/actions/documents-commands.[ch]
	* app/actions/palettes-commands.[ch]
	* app/actions/templates-commands.[ch]: changed the remaining
	callbacks to follow a consistent naming scheme
	(e.g. buffers_delete_buffer_cmd_callback ->
	buffers_delete_cmd_callback).

	* app/actions/brushes-actions.c
	* app/actions/buffers-actions.c
	* app/actions/documents-actions.c
	* app/actions/gradients-actions.c
	* app/actions/palettes-actions.c
	* app/actions/patterns-actions.c
	* app/actions/templates-actions.c: changed accordingly.
parent 9a84d9f7
2005-01-14 Michael Natterer <mitch@gimp.org>
* app/actions/buffers-commands.[ch]
* app/actions/data-commands.[ch]
* app/actions/documents-commands.[ch]
* app/actions/palettes-commands.[ch]
* app/actions/templates-commands.[ch]: changed the remaining
callbacks to follow a consistent naming scheme
(e.g. buffers_delete_buffer_cmd_callback ->
buffers_delete_cmd_callback).
* app/actions/brushes-actions.c
* app/actions/buffers-actions.c
* app/actions/documents-actions.c
* app/actions/gradients-actions.c
* app/actions/palettes-actions.c
* app/actions/patterns-actions.c
* app/actions/templates-actions.c: changed accordingly.
2005-01-14 Sven Neumann <sven@gimp.org> 2005-01-14 Sven Neumann <sven@gimp.org>
* plug-ins/common/retinex.c (run): fixed check for number of * plug-ins/common/retinex.c (run): fixed check for number of
......
...@@ -52,25 +52,25 @@ static GimpActionEntry brushes_actions[] = ...@@ -52,25 +52,25 @@ static GimpActionEntry brushes_actions[] =
{ "brushes-new", GTK_STOCK_NEW, { "brushes-new", GTK_STOCK_NEW,
N_("_New Brush"), "", N_("_New Brush"), "",
N_("New brush"), N_("New brush"),
G_CALLBACK (data_new_data_cmd_callback), G_CALLBACK (data_new_cmd_callback),
GIMP_HELP_BRUSH_NEW }, GIMP_HELP_BRUSH_NEW },
{ "brushes-duplicate", GIMP_STOCK_DUPLICATE, { "brushes-duplicate", GIMP_STOCK_DUPLICATE,
N_("D_uplicate Brush"), NULL, N_("D_uplicate Brush"), NULL,
N_("Duplicate brush"), N_("Duplicate brush"),
G_CALLBACK (data_duplicate_data_cmd_callback), G_CALLBACK (data_duplicate_cmd_callback),
GIMP_HELP_BRUSH_DUPLICATE }, GIMP_HELP_BRUSH_DUPLICATE },
{ "brushes-delete", GTK_STOCK_DELETE, { "brushes-delete", GTK_STOCK_DELETE,
N_("_Delete Brush"), "", N_("_Delete Brush"), "",
N_("Delete brush"), N_("Delete brush"),
G_CALLBACK (data_delete_data_cmd_callback), G_CALLBACK (data_delete_cmd_callback),
GIMP_HELP_BRUSH_DELETE }, GIMP_HELP_BRUSH_DELETE },
{ "brushes-refresh", GTK_STOCK_REFRESH, { "brushes-refresh", GTK_STOCK_REFRESH,
N_("_Refresh Brushes"), "", N_("_Refresh Brushes"), "",
N_("Refresh brushes"), N_("Refresh brushes"),
G_CALLBACK (data_refresh_data_cmd_callback), G_CALLBACK (data_refresh_cmd_callback),
GIMP_HELP_BRUSH_REFRESH } GIMP_HELP_BRUSH_REFRESH }
}; };
...@@ -94,7 +94,7 @@ brushes_actions_setup (GimpActionGroup *group) ...@@ -94,7 +94,7 @@ brushes_actions_setup (GimpActionGroup *group)
gimp_action_group_add_string_actions (group, gimp_action_group_add_string_actions (group,
brushes_edit_actions, brushes_edit_actions,
G_N_ELEMENTS (brushes_edit_actions), G_N_ELEMENTS (brushes_edit_actions),
G_CALLBACK (data_edit_data_cmd_callback)); G_CALLBACK (data_edit_cmd_callback));
} }
void void
......
...@@ -45,25 +45,25 @@ static GimpActionEntry buffers_actions[] = ...@@ -45,25 +45,25 @@ static GimpActionEntry buffers_actions[] =
{ "buffers-paste", GTK_STOCK_PASTE, { "buffers-paste", GTK_STOCK_PASTE,
N_("_Paste Buffer"), "", N_("_Paste Buffer"), "",
N_("Paste the selected buffer"), N_("Paste the selected buffer"),
G_CALLBACK (buffers_paste_buffer_cmd_callback), G_CALLBACK (buffers_paste_cmd_callback),
GIMP_HELP_BUFFER_PASTE }, GIMP_HELP_BUFFER_PASTE },
{ "buffers-paste-into", GIMP_STOCK_PASTE_INTO, { "buffers-paste-into", GIMP_STOCK_PASTE_INTO,
N_("Paste Buffer _Into"), NULL, N_("Paste Buffer _Into"), NULL,
N_("Paste the selected buffer into the selection"), N_("Paste the selected buffer into the selection"),
G_CALLBACK (buffers_paste_buffer_into_cmd_callback), G_CALLBACK (buffers_paste_into_cmd_callback),
GIMP_HELP_BUFFER_PASTE_INTO }, GIMP_HELP_BUFFER_PASTE_INTO },
{ "buffers-paste-as-new", GIMP_STOCK_PASTE_AS_NEW, { "buffers-paste-as-new", GIMP_STOCK_PASTE_AS_NEW,
N_("Paste Buffer as _New"), NULL, N_("Paste Buffer as _New"), NULL,
N_("Paste the selected buffer as new image"), N_("Paste the selected buffer as new image"),
G_CALLBACK (buffers_paste_buffer_as_new_cmd_callback), G_CALLBACK (buffers_paste_as_new_cmd_callback),
GIMP_HELP_BUFFER_PASTE_AS_NEW }, GIMP_HELP_BUFFER_PASTE_AS_NEW },
{ "buffers-delete", GTK_STOCK_DELETE, { "buffers-delete", GTK_STOCK_DELETE,
N_("_Delete Buffer"), "", N_("_Delete Buffer"), "",
N_("Delete the selected buffer"), N_("Delete the selected buffer"),
G_CALLBACK (buffers_delete_buffer_cmd_callback), G_CALLBACK (buffers_delete_cmd_callback),
GIMP_HELP_BUFFER_DELETE } GIMP_HELP_BUFFER_DELETE }
}; };
......
...@@ -48,22 +48,22 @@ static void buffers_paste (GimpBufferView *view, ...@@ -48,22 +48,22 @@ static void buffers_paste (GimpBufferView *view,
/* public functionss */ /* public functionss */
void void
buffers_paste_buffer_cmd_callback (GtkAction *action, buffers_paste_cmd_callback (GtkAction *action,
gpointer data) gpointer data)
{ {
buffers_paste (GIMP_BUFFER_VIEW (data), FALSE); buffers_paste (GIMP_BUFFER_VIEW (data), FALSE);
} }
void void
buffers_paste_buffer_into_cmd_callback (GtkAction *action, buffers_paste_into_cmd_callback (GtkAction *action,
gpointer data) gpointer data)
{ {
buffers_paste (GIMP_BUFFER_VIEW (data), TRUE); buffers_paste (GIMP_BUFFER_VIEW (data), TRUE);
} }
void void
buffers_paste_buffer_as_new_cmd_callback (GtkAction *action, buffers_paste_as_new_cmd_callback (GtkAction *action,
gpointer data) gpointer data)
{ {
GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data); GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data);
GimpContainer *container; GimpContainer *container;
...@@ -85,8 +85,8 @@ buffers_paste_buffer_as_new_cmd_callback (GtkAction *action, ...@@ -85,8 +85,8 @@ buffers_paste_buffer_as_new_cmd_callback (GtkAction *action,
} }
void void
buffers_delete_buffer_cmd_callback (GtkAction *action, buffers_delete_cmd_callback (GtkAction *action,
gpointer data) gpointer data)
{ {
GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data); GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data);
GimpContainer *container; GimpContainer *container;
......
...@@ -20,14 +20,14 @@ ...@@ -20,14 +20,14 @@
#define __BUFFERS_COMMANDS_H__ #define __BUFFERS_COMMANDS_H__
void buffers_paste_buffer_cmd_callback (GtkAction *action, void buffers_paste_cmd_callback (GtkAction *action,
gpointer data); gpointer data);
void buffers_paste_buffer_into_cmd_callback (GtkAction *action, void buffers_paste_into_cmd_callback (GtkAction *action,
gpointer data); gpointer data);
void buffers_paste_buffer_as_new_cmd_callback (GtkAction *action, void buffers_paste_as_new_cmd_callback (GtkAction *action,
gpointer data); gpointer data);
void buffers_delete_buffer_cmd_callback (GtkAction *action, void buffers_delete_cmd_callback (GtkAction *action,
gpointer data); gpointer data);
#endif /* __BUFFERS_COMMANDS_H__ */ #endif /* __BUFFERS_COMMANDS_H__ */
...@@ -110,8 +110,8 @@ data_open_as_image_cmd_callback (GtkAction *action, ...@@ -110,8 +110,8 @@ data_open_as_image_cmd_callback (GtkAction *action,
} }
void void
data_new_data_cmd_callback (GtkAction *action, data_new_cmd_callback (GtkAction *action,
gpointer user_data) gpointer user_data)
{ {
GimpDataFactoryView *view = GIMP_DATA_FACTORY_VIEW (user_data); GimpDataFactoryView *view = GIMP_DATA_FACTORY_VIEW (user_data);
...@@ -137,8 +137,8 @@ data_new_data_cmd_callback (GtkAction *action, ...@@ -137,8 +137,8 @@ data_new_data_cmd_callback (GtkAction *action,
} }
void void
data_duplicate_data_cmd_callback (GtkAction *action, data_duplicate_cmd_callback (GtkAction *action,
gpointer user_data) gpointer user_data)
{ {
GimpDataFactoryView *view = GIMP_DATA_FACTORY_VIEW (user_data); GimpDataFactoryView *view = GIMP_DATA_FACTORY_VIEW (user_data);
GimpContext *context; GimpContext *context;
...@@ -169,8 +169,8 @@ data_duplicate_data_cmd_callback (GtkAction *action, ...@@ -169,8 +169,8 @@ data_duplicate_data_cmd_callback (GtkAction *action,
} }
void void
data_delete_data_cmd_callback (GtkAction *action, data_delete_cmd_callback (GtkAction *action,
gpointer user_data) gpointer user_data)
{ {
GimpDataFactoryView *view = GIMP_DATA_FACTORY_VIEW (user_data); GimpDataFactoryView *view = GIMP_DATA_FACTORY_VIEW (user_data);
GimpContext *context; GimpContext *context;
...@@ -219,8 +219,8 @@ data_delete_data_cmd_callback (GtkAction *action, ...@@ -219,8 +219,8 @@ data_delete_data_cmd_callback (GtkAction *action,
} }
void void
data_refresh_data_cmd_callback (GtkAction *action, data_refresh_cmd_callback (GtkAction *action,
gpointer user_data) gpointer user_data)
{ {
GimpDataFactoryView *view = GIMP_DATA_FACTORY_VIEW (user_data); GimpDataFactoryView *view = GIMP_DATA_FACTORY_VIEW (user_data);
...@@ -229,9 +229,9 @@ data_refresh_data_cmd_callback (GtkAction *action, ...@@ -229,9 +229,9 @@ data_refresh_data_cmd_callback (GtkAction *action,
} }
void void
data_edit_data_cmd_callback (GtkAction *action, data_edit_cmd_callback (GtkAction *action,
const gchar *value, const gchar *value,
gpointer user_data) gpointer user_data)
{ {
GimpDataFactoryView *view = GIMP_DATA_FACTORY_VIEW (user_data); GimpDataFactoryView *view = GIMP_DATA_FACTORY_VIEW (user_data);
GimpContext *context; GimpContext *context;
......
...@@ -20,19 +20,19 @@ ...@@ -20,19 +20,19 @@
#define __DATA_COMMANDS_H__ #define __DATA_COMMANDS_H__
void data_open_as_image_cmd_callback (GtkAction *action, void data_open_as_image_cmd_callback (GtkAction *action,
gpointer data); gpointer data);
void data_new_data_cmd_callback (GtkAction *action, void data_new_cmd_callback (GtkAction *action,
gpointer data); gpointer data);
void data_duplicate_data_cmd_callback (GtkAction *action, void data_duplicate_cmd_callback (GtkAction *action,
gpointer data); gpointer data);
void data_delete_data_cmd_callback (GtkAction *action, void data_delete_cmd_callback (GtkAction *action,
gpointer data); gpointer data);
void data_refresh_data_cmd_callback (GtkAction *action, void data_refresh_cmd_callback (GtkAction *action,
gpointer data); gpointer data);
void data_edit_data_cmd_callback (GtkAction *action, void data_edit_cmd_callback (GtkAction *action,
const gchar *value, const gchar *value,
gpointer data); gpointer data);
#endif /* __DATA_COMMANDS_H__ */ #endif /* __DATA_COMMANDS_H__ */
...@@ -45,13 +45,13 @@ static GimpActionEntry documents_actions[] = ...@@ -45,13 +45,13 @@ static GimpActionEntry documents_actions[] =
{ "documents-open", GTK_STOCK_OPEN, { "documents-open", GTK_STOCK_OPEN,
N_("_Open Image"), "", N_("_Open Image"), "",
N_("Open the selected entry"), N_("Open the selected entry"),
G_CALLBACK (documents_open_document_cmd_callback), G_CALLBACK (documents_open_cmd_callback),
GIMP_HELP_DOCUMENT_OPEN }, GIMP_HELP_DOCUMENT_OPEN },
{ "documents-raise-or-open", GTK_STOCK_OPEN, { "documents-raise-or-open", GTK_STOCK_OPEN,
N_("_Raise or Open Image"), "", N_("_Raise or Open Image"), "",
N_("Raise window if already open"), N_("Raise window if already open"),
G_CALLBACK (documents_raise_or_open_document_cmd_callback), G_CALLBACK (documents_raise_or_open_cmd_callback),
GIMP_HELP_DOCUMENT_OPEN }, GIMP_HELP_DOCUMENT_OPEN },
{ "documents-file-open-dialog", GTK_STOCK_OPEN, { "documents-file-open-dialog", GTK_STOCK_OPEN,
...@@ -63,7 +63,7 @@ static GimpActionEntry documents_actions[] = ...@@ -63,7 +63,7 @@ static GimpActionEntry documents_actions[] =
{ "documents-remove", GTK_STOCK_REMOVE, { "documents-remove", GTK_STOCK_REMOVE,
N_("Remove _Entry"), "", N_("Remove _Entry"), "",
N_("Remove the selected entry"), N_("Remove the selected entry"),
G_CALLBACK (documents_remove_document_cmd_callback), G_CALLBACK (documents_remove_cmd_callback),
GIMP_HELP_DOCUMENT_REMOVE }, GIMP_HELP_DOCUMENT_REMOVE },
{ "documents-recreate-preview", GTK_STOCK_REFRESH, { "documents-recreate-preview", GTK_STOCK_REFRESH,
...@@ -81,7 +81,7 @@ static GimpActionEntry documents_actions[] = ...@@ -81,7 +81,7 @@ static GimpActionEntry documents_actions[] =
{ "documents-remove-dangling", GTK_STOCK_REFRESH, { "documents-remove-dangling", GTK_STOCK_REFRESH,
N_("Remove Dangling E_ntries"), "", N_("Remove Dangling E_ntries"), "",
N_("Remove dangling entries"), N_("Remove dangling entries"),
G_CALLBACK (documents_delete_dangling_documents_cmd_callback), G_CALLBACK (documents_remove_dangling_cmd_callback),
GIMP_HELP_DOCUMENT_REFRESH } GIMP_HELP_DOCUMENT_REFRESH }
}; };
......
...@@ -69,8 +69,8 @@ static void documents_raise_display (gpointer data, ...@@ -69,8 +69,8 @@ static void documents_raise_display (gpointer data,
/* public functions */ /* public functions */
void void
documents_open_document_cmd_callback (GtkAction *action, documents_open_cmd_callback (GtkAction *action,
gpointer data) gpointer data)
{ {
GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data); GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data);
GimpContext *context; GimpContext *context;
...@@ -93,8 +93,8 @@ documents_open_document_cmd_callback (GtkAction *action, ...@@ -93,8 +93,8 @@ documents_open_document_cmd_callback (GtkAction *action,
} }
void void
documents_raise_or_open_document_cmd_callback (GtkAction *action, documents_raise_or_open_cmd_callback (GtkAction *action,
gpointer data) gpointer data)
{ {
GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data); GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data);
GimpContext *context; GimpContext *context;
...@@ -145,8 +145,8 @@ documents_file_open_dialog_cmd_callback (GtkAction *action, ...@@ -145,8 +145,8 @@ documents_file_open_dialog_cmd_callback (GtkAction *action,
} }
void void
documents_remove_document_cmd_callback (GtkAction *action, documents_remove_cmd_callback (GtkAction *action,
gpointer data) gpointer data)
{ {
GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data); GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data);
GimpContext *context; GimpContext *context;
...@@ -202,7 +202,7 @@ documents_reload_previews_cmd_callback (GtkAction *action, ...@@ -202,7 +202,7 @@ documents_reload_previews_cmd_callback (GtkAction *action,
} }
static void static void
documents_delete_dangling_foreach (GimpImagefile *imagefile, documents_remove_dangling_foreach (GimpImagefile *imagefile,
GimpContainer *container) GimpContainer *container)
{ {
if (gimp_thumbnail_peek_image (imagefile->thumbnail) == if (gimp_thumbnail_peek_image (imagefile->thumbnail) ==
...@@ -213,8 +213,8 @@ documents_delete_dangling_foreach (GimpImagefile *imagefile, ...@@ -213,8 +213,8 @@ documents_delete_dangling_foreach (GimpImagefile *imagefile,
} }
void void
documents_delete_dangling_documents_cmd_callback (GtkAction *action, documents_remove_dangling_cmd_callback (GtkAction *action,
gpointer data) gpointer data)
{ {
GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data); GimpContainerEditor *editor = GIMP_CONTAINER_EDITOR (data);
GimpContainer *container; GimpContainer *container;
...@@ -222,7 +222,7 @@ documents_delete_dangling_documents_cmd_callback (GtkAction *action, ...@@ -222,7 +222,7 @@ documents_delete_dangling_documents_cmd_callback (GtkAction *action,
container = gimp_container_view_get_container (editor->view); container = gimp_container_view_get_container (editor->view);
gimp_container_foreach (container, gimp_container_foreach (container,
(GFunc) documents_delete_dangling_foreach, (GFunc) documents_remove_dangling_foreach,
container); container);
} }
......
...@@ -20,20 +20,20 @@ ...@@ -20,20 +20,20 @@
#define __DOCUMENTS_COMMANDS_H__ #define __DOCUMENTS_COMMANDS_H__
void documents_open_document_cmd_callback (GtkAction *action, void documents_open_cmd_callback (GtkAction *action,
gpointer data); gpointer data);
void documents_raise_or_open_document_cmd_callback (GtkAction *action, void documents_raise_or_open_cmd_callback (GtkAction *action,
gpointer data); gpointer data);
void documents_file_open_dialog_cmd_callback (GtkAction *action, void documents_file_open_dialog_cmd_callback (GtkAction *action,
gpointer data); gpointer data);
void documents_remove_document_cmd_callback (GtkAction *action, void documents_remove_cmd_callback (GtkAction *action,
gpointer data); gpointer data);
void documents_recreate_preview_cmd_callback (GtkAction *action, void documents_recreate_preview_cmd_callback (GtkAction *action,
gpointer data); gpointer data);
void documents_reload_previews_cmd_callback (GtkAction *action, void documents_reload_previews_cmd_callback (GtkAction *action,
gpointer data); gpointer data);
void documents_delete_dangling_documents_cmd_callback (GtkAction *action, void documents_remove_dangling_cmd_callback (GtkAction *action,
gpointer data); gpointer data);
#endif /* __DOCUMENTS_COMMANDS_H__ */ #endif /* __DOCUMENTS_COMMANDS_H__ */
...@@ -47,13 +47,13 @@ static GimpActionEntry gradients_actions[] = ...@@ -47,13 +47,13 @@ static GimpActionEntry gradients_actions[] =
{ "gradients-new", GTK_STOCK_NEW, { "gradients-new", GTK_STOCK_NEW,
N_("_New Gradient"), "", N_("_New Gradient"), "",
N_("New gradient"), N_("New gradient"),
G_CALLBACK (data_new_data_cmd_callback), G_CALLBACK (data_new_cmd_callback),
GIMP_HELP_GRADIENT_NEW }, GIMP_HELP_GRADIENT_NEW },
{ "gradients-duplicate", GIMP_STOCK_DUPLICATE, { "gradients-duplicate", GIMP_STOCK_DUPLICATE,
N_("D_uplicate Gradient"), NULL, N_("D_uplicate Gradient"), NULL,
N_("Duplicate gradient"), N_("Duplicate gradient"),
G_CALLBACK (data_duplicate_data_cmd_callback), G_CALLBACK (data_duplicate_cmd_callback),
GIMP_HELP_GRADIENT_DUPLICATE }, GIMP_HELP_GRADIENT_DUPLICATE },
{ "gradients-save-as-pov", GTK_STOCK_SAVE_AS, { "gradients-save-as-pov", GTK_STOCK_SAVE_AS,
...@@ -65,13 +65,13 @@ static GimpActionEntry gradients_actions[] = ...@@ -65,13 +65,13 @@ static GimpActionEntry gradients_actions[] =
{ "gradients-delete", GTK_STOCK_DELETE, { "gradients-delete", GTK_STOCK_DELETE,
N_("_Delete Gradient..."), "", N_("_Delete Gradient..."), "",
N_("Delete gradient"), N_("Delete gradient"),
G_CALLBACK (data_delete_data_cmd_callback), G_CALLBACK (data_delete_cmd_callback),
GIMP_HELP_GRADIENT_DELETE }, GIMP_HELP_GRADIENT_DELETE },
{ "gradients-refresh", GTK_STOCK_REFRESH, { "gradients-refresh", GTK_STOCK_REFRESH,
N_("_Refresh Gradients"), "", N_("_Refresh Gradients"), "",
N_("Refresh gradients"), N_("Refresh gradients"),
G_CALLBACK (data_refresh_data_cmd_callback), G_CALLBACK (data_refresh_cmd_callback),
GIMP_HELP_GRADIENT_REFRESH } GIMP_HELP_GRADIENT_REFRESH }
}; };
...@@ -95,7 +95,7 @@ gradients_actions_setup (GimpActionGroup *group) ...@@ -95,7 +95,7 @@ gradients_actions_setup (GimpActionGroup *group)
gimp_action_group_add_string_actions (group, gimp_action_group_add_string_actions (group,
gradients_edit_actions, gradients_edit_actions,
G_N_ELEMENTS (gradients_edit_actions), G_N_ELEMENTS (gradients_edit_actions),
G_CALLBACK (data_edit_data_cmd_callback)); G_CALLBACK (data_edit_cmd_callback));
} }
void void
......
...@@ -47,37 +47,37 @@ static GimpActionEntry palettes_actions[] = ...@@ -47,37 +47,37 @@ static GimpActionEntry palettes_actions[] =
{ "palettes-new", GTK_STOCK_NEW, { "palettes-new", GTK_STOCK_NEW,
N_("_New Palette"), "", N_("_New Palette"), "",
N_("New palette"), N_("New palette"),
G_CALLBACK (data_new_data_cmd_callback), G_CALLBACK (data_new_cmd_callback),
GIMP_HELP_PALETTE_NEW }, GIMP_HELP_PALETTE_NEW },
{ "palettes-import", GTK_STOCK_CONVERT, { "palettes-import", GTK_STOCK_CONVERT,
N_("_Import Palette..."), "", N_("_Import Palette..."), "",
N_("Import palette"), N_("Import palette"),
G_CALLBACK (palettes_import_palette_cmd_callback), G_CALLBACK (palettes_import_cmd_callback),
GIMP_HELP_PALETTE_IMPORT }, GIMP_HELP_PALETTE_IMPORT },
{ "palettes-duplicate", GIMP_STOCK_DUPLICATE, { "palettes-duplicate", GIMP_STOCK_DUPLICATE,
N_("D_uplicate Palette"), NULL, N_("D_uplicate Palette"), NULL,
N_("Duplicate palette"), N_("Duplicate palette"),
G_CALLBACK (data_duplicate_data_cmd_callback), G_CALLBACK (data_duplicate_cmd_callback),
GIMP_HELP_PALETTE_DUPLICATE }, GIMP_HELP_PALETTE_DUPLICATE },
{ "palettes-merge", NULL, { "palettes-merge", NULL,
N_("_Merge Palettes..."), NULL, N_("_Merge Palettes..."), NULL,
N_("Merge palettes"), N_("Merge palettes"),
G_CALLBACK (palettes_merge_palettes_cmd_callback), G_CALLBACK (palettes_merge_cmd_callback),
GIMP_HELP_PALETTE_MERGE }, GIMP_HELP_PALETTE_MERGE },
{ "palettes-delete", GTK_STOCK_DELETE, { "palettes-delete", GTK_STOCK_DELETE,