Commit 2d5fe07a authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

app/widgets/gimphelp-ids.h app/widgets/gimppaletteeditor.c help IDs for

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

	* app/widgets/gimphelp-ids.h
	* app/widgets/gimppaletteeditor.c
	* app/gui/palette-editor-menu.c: help IDs for the palette editor.

	* app/gui/toolbox-menu.c: forgot some dialog help IDs.
parent dec69db1
2003-08-25 Michael Natterer <mitch@gimp.org>
* app/widgets/gimphelp-ids.h
* app/widgets/gimppaletteeditor.c
* app/gui/palette-editor-menu.c: help IDs for the palette editor.
* app/gui/toolbox-menu.c: forgot some dialog help IDs.
2003-08-25 Michael Natterer <mitch@gimp.org>
* app/plug-in/plug-ins.[ch] (plug_ins_temp_proc_def_add): removed
......@@ -24,6 +24,7 @@
#include "gui-types.h"
#include "widgets/gimphelp-ids.h"
#include "widgets/gimpitemfactory.h"
#include "widgets/gimppaletteeditor.h"
......@@ -38,30 +39,36 @@ GimpItemFactoryEntry palette_editor_menu_entries[] =
{ { N_("/_New Color"), "",
palette_editor_new_color_cmd_callback, 0,
"<StockItem>", GTK_STOCK_NEW },
NULL, NULL, NULL },
NULL,
GIMP_HELP_PALETTE_EDITOR_NEW, NULL },
{ { N_("/_Edit Color..."), "",
palette_editor_edit_color_cmd_callback, 0,
"<StockItem>", GIMP_STOCK_EDIT },
NULL, NULL, NULL },
NULL,
GIMP_HELP_PALETTE_EDITOR_EDIT, NULL },
{ { N_("/_Delete Color"), "",
palette_editor_delete_color_cmd_callback, 0,
"<StockItem>", GTK_STOCK_DELETE },
NULL, NULL, NULL },
NULL,
GIMP_HELP_PALETTE_EDITOR_DELETE, NULL },
{ { "/---", NULL, NULL, 0, "<Separator>", NULL }, NULL, NULL, NULL },
{ { N_("/Zoom _Out"), "",
palette_editor_zoom_out_cmd_callback, 0,
"<StockItem>", GTK_STOCK_ZOOM_OUT },
NULL, NULL, NULL },
NULL,
GIMP_HELP_PALETTE_EDITOR_ZOOM_OUT, NULL },
{ { N_("/Zoom _In"), "",
palette_editor_zoom_in_cmd_callback, 0,
"<StockItem>", GTK_STOCK_ZOOM_IN },
NULL, NULL, NULL },
NULL,
GIMP_HELP_PALETTE_EDITOR_ZOOM_IN, NULL },
{ { N_("/Zoom _All"), "",
palette_editor_zoom_all_cmd_callback, 0,
"<StockItem>", GTK_STOCK_ZOOM_FIT },
NULL, NULL, NULL }
NULL,
GIMP_HELP_PALETTE_EDITOR_ZOOM_ALL, NULL }
};
gint n_palette_editor_menu_entries = G_N_ELEMENTS (palette_editor_menu_entries);
......
......@@ -122,17 +122,17 @@ GimpItemFactoryEntry toolbox_menu_entries[] =
dialogs_create_dockable_cmd_callback, 0,
"<StockItem>", GIMP_STOCK_LAYERS },
"gimp-layer-list",
NULL, NULL },
GIMP_HELP_LAYER_DIALOG, NULL },
{ { N_("/File/Dialogs/_Channels..."), NULL,
dialogs_create_dockable_cmd_callback, 0,
"<StockItem>", GIMP_STOCK_CHANNELS },
"gimp-channel-list",
NULL, NULL },
GIMP_HELP_CHANNEL_DIALOG, NULL },
{ { N_("/File/Dialogs/_Paths..."), NULL,
dialogs_create_dockable_cmd_callback, 0,
"<StockItem>", GIMP_STOCK_PATHS },
"gimp-vectors-list",
NULL, NULL },
GIMP_HELP_PATH_DIALOG, NULL },
{ { N_("/File/Dialogs/_Indexed Palette..."), NULL,
dialogs_create_dockable_cmd_callback, 0,
"<StockItem>", GIMP_STOCK_INDEXED_PALETTE },
......@@ -160,7 +160,7 @@ GimpItemFactoryEntry toolbox_menu_entries[] =
dialogs_create_dockable_cmd_callback, 0,
"<StockItem>", GIMP_STOCK_DEFAULT_COLORS },
"gimp-color-editor",
NULL, NULL },
GIMP_HELP_COLOR_DIALOG, NULL },
{ { N_("/File/Dialogs/Brus_hes..."), "<control><shift>B",
dialogs_create_dockable_cmd_callback, 0,
"<StockItem>", GIMP_STOCK_TOOL_PAINTBRUSH },
......
......@@ -122,17 +122,17 @@ GimpItemFactoryEntry toolbox_menu_entries[] =
dialogs_create_dockable_cmd_callback, 0,
"<StockItem>", GIMP_STOCK_LAYERS },
"gimp-layer-list",
NULL, NULL },
GIMP_HELP_LAYER_DIALOG, NULL },
{ { N_("/File/Dialogs/_Channels..."), NULL,
dialogs_create_dockable_cmd_callback, 0,
"<StockItem>", GIMP_STOCK_CHANNELS },
"gimp-channel-list",
NULL, NULL },
GIMP_HELP_CHANNEL_DIALOG, NULL },
{ { N_("/File/Dialogs/_Paths..."), NULL,
dialogs_create_dockable_cmd_callback, 0,
"<StockItem>", GIMP_STOCK_PATHS },
"gimp-vectors-list",
NULL, NULL },
GIMP_HELP_PATH_DIALOG, NULL },
{ { N_("/File/Dialogs/_Indexed Palette..."), NULL,
dialogs_create_dockable_cmd_callback, 0,
"<StockItem>", GIMP_STOCK_INDEXED_PALETTE },
......@@ -160,7 +160,7 @@ GimpItemFactoryEntry toolbox_menu_entries[] =
dialogs_create_dockable_cmd_callback, 0,
"<StockItem>", GIMP_STOCK_DEFAULT_COLORS },
"gimp-color-editor",
NULL, NULL },
GIMP_HELP_COLOR_DIALOG, NULL },
{ { N_("/File/Dialogs/Brus_hes..."), "<control><shift>B",
dialogs_create_dockable_cmd_callback, 0,
"<StockItem>", GIMP_STOCK_TOOL_PAINTBRUSH },
......
......@@ -289,6 +289,12 @@
#define GIMP_HELP_PALETTE_MERGE "dialogs/palette_selection.html"
#define GIMP_HELP_PALETTE_EDITOR_DIALOG "dialogs/palette_selection.html"
#define GIMP_HELP_PALETTE_EDITOR_NEW "dialogs/palette_selection.html"
#define GIMP_HELP_PALETTE_EDITOR_EDIT "dialogs/palette_selection.html"
#define GIMP_HELP_PALETTE_EDITOR_DELETE "dialogs/palette_selection.html"
#define GIMP_HELP_PALETTE_EDITOR_ZOOM_OUT "dialogs/palette_selection.html"
#define GIMP_HELP_PALETTE_EDITOR_ZOOM_IN "dialogs/palette_selection.html"
#define GIMP_HELP_PALETTE_EDITOR_ZOOM_ALL "dialogs/palette_selection.html"
#define GIMP_HELP_FONT_DIALOG "dialogs/font_selection.html"
......
......@@ -39,6 +39,7 @@
#include "gimpdialogfactory.h"
#include "gimpdnd.h"
#include "gimphelp-ids.h"
#include "gimpitemfactory.h"
#include "gimppaletteeditor.h"
#include "gimppreview.h"
......@@ -276,48 +277,48 @@ gimp_palette_editor_init (GimpPaletteEditor *editor)
editor->new_button =
gimp_editor_add_button (GIMP_EDITOR (editor),
GTK_STOCK_NEW,
_("New Color"), NULL,
GTK_STOCK_NEW, _("New Color"),
GIMP_HELP_PALETTE_EDITOR_NEW,
G_CALLBACK (palette_editor_new_clicked),
NULL,
editor);
editor->edit_button =
gimp_editor_add_button (GIMP_EDITOR (editor),
GIMP_STOCK_EDIT,
_("Edit Color"), NULL,
GIMP_STOCK_EDIT, _("Edit Color"),
GIMP_HELP_PALETTE_EDITOR_EDIT,
G_CALLBACK (palette_editor_edit_clicked),
NULL,
editor);
editor->delete_button =
gimp_editor_add_button (GIMP_EDITOR (editor),
GTK_STOCK_DELETE,
_("Delete Color"), NULL,
GTK_STOCK_DELETE, _("Delete Color"),
GIMP_HELP_PALETTE_EDITOR_DELETE,
G_CALLBACK (palette_editor_delete_clicked),
NULL,
editor);
editor->zoom_out_button =
gimp_editor_add_button (GIMP_EDITOR (editor),
GTK_STOCK_ZOOM_OUT,
_("Zoom Out"), NULL,
GTK_STOCK_ZOOM_OUT, _("Zoom Out"),
GIMP_HELP_PALETTE_EDITOR_ZOOM_OUT,
G_CALLBACK (palette_editor_zoom_out_clicked),
NULL,
editor);
editor->zoom_in_button =
gimp_editor_add_button (GIMP_EDITOR (editor),
GTK_STOCK_ZOOM_IN,
_("Zoom In"), NULL,
GTK_STOCK_ZOOM_IN, _("Zoom In"),
GIMP_HELP_PALETTE_EDITOR_ZOOM_IN,
G_CALLBACK (palette_editor_zoom_in_clicked),
NULL,
editor);
editor->zoom_all_button =
gimp_editor_add_button (GIMP_EDITOR (editor),
GTK_STOCK_ZOOM_FIT,
_("Zoom All"), NULL,
GTK_STOCK_ZOOM_FIT, _("Zoom All"),
GIMP_HELP_PALETTE_EDITOR_ZOOM_ALL,
G_CALLBACK (palette_editor_zoom_all_clicked),
NULL,
editor);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment