Lo and behold, menu item.

This commit is contained in:
Alexia Death 2009-07-30 20:49:10 +03:00
parent 2e2f770f2a
commit 08a88f681d
5 changed files with 10 additions and 5 deletions

View File

@ -104,7 +104,7 @@ static const GimpActionFactoryEntry action_groups[] =
{ "brush-editor", N_("Brush Editor"), GIMP_STOCK_BRUSH, { "brush-editor", N_("Brush Editor"), GIMP_STOCK_BRUSH,
brush_editor_actions_setup, brush_editor_actions_setup,
brush_editor_actions_update }, brush_editor_actions_update },
{ "dynamics-editor", N_("Dynamics Editor"), GIMP_STOCK_BRUSH, { "dynamics-editor", N_("Dynamics Editor"), GIMP_STOCK_DYNAMICS,
dynamics_editor_actions_setup, dynamics_editor_actions_setup,
dynamics_editor_actions_update }, dynamics_editor_actions_update },
{ "brushes", N_("Brushes"), GIMP_STOCK_BRUSH, { "brushes", N_("Brushes"), GIMP_STOCK_BRUSH,

View File

@ -118,17 +118,19 @@ const GimpStringActionEntry dialogs_dockable_actions[] =
"gimp-brush-grid|gimp-brush-list", "gimp-brush-grid|gimp-brush-list",
GIMP_HELP_BRUSH_DIALOG }, GIMP_HELP_BRUSH_DIALOG },
{ "dialogs-brush-editor", GIMP_STOCK_BRUSH, { "dialogs-brush-editor", GIMP_STOCK_BRUSH,
NC_("dialogs-action", "Brush Editor"), NULL, NC_("dialogs-action", "Brush Editor"), NULL,
NC_("dialogs-action", "Open the brush editor"), NC_("dialogs-action", "Open the brush editor"),
"gimp-brush-editor", "gimp-brush-editor",
GIMP_HELP_BRUSH_EDIT }, GIMP_HELP_BRUSH_EDIT },
{ "dialogs-dynamics-editor", GIMP_STOCK_BRUSH, { "dialogs-dynamics-editor", GIMP_STOCK_DYNAMICS,
NC_("dialogs-action", "Dynamics Editor"), NULL, NC_("dialogs-action", "Dynamics Editor"), NULL,
NC_("dialogs-action", "Open the dynamics editor"), NC_("dialogs-action", "Open the dynamics editor"),
"gimp-dynamics-editor", "gimp-dynamics-editor",
GIMP_HELP_BRUSH_EDIT }, GIMP_HELP_DYNAMICS_EDITOR_DIALOG },
{ "dialogs-patterns", GIMP_STOCK_PATTERN, { "dialogs-patterns", GIMP_STOCK_PATTERN,
NC_("dialogs-action", "P_atterns"), "<control><shift>P", NC_("dialogs-action", "P_atterns"), "<control><shift>P",

View File

@ -305,6 +305,8 @@
#define GIMP_HELP_BRUSH_EDITOR_DIALOG "gimp-brush-editor-dialog" #define GIMP_HELP_BRUSH_EDITOR_DIALOG "gimp-brush-editor-dialog"
#define GIMP_HELP_BRUSH_EDITOR_EDIT_ACTIVE "gimp-brush-editor-edit-active" #define GIMP_HELP_BRUSH_EDITOR_EDIT_ACTIVE "gimp-brush-editor-edit-active"
#define GIMP_HELP_DYNAMICS_EDITOR_DIALOG "gimp-dynamics-editor-dialog"
#define GIMP_HELP_PATTERN_DIALOG "gimp-pattern-dialog" #define GIMP_HELP_PATTERN_DIALOG "gimp-pattern-dialog"
#define GIMP_HELP_PATTERN_EDIT "gimp-pattern-edit" #define GIMP_HELP_PATTERN_EDIT "gimp-pattern-edit"
#define GIMP_HELP_PATTERN_OPEN_AS_IMAGE "gimp-pattern-open-as-image" #define GIMP_HELP_PATTERN_OPEN_AS_IMAGE "gimp-pattern-open-as-image"

View File

@ -268,6 +268,7 @@ G_BEGIN_DECLS
/* missing icons: */ /* missing icons: */
#define GIMP_STOCK_BRUSH GIMP_STOCK_TOOL_PAINTBRUSH #define GIMP_STOCK_BRUSH GIMP_STOCK_TOOL_PAINTBRUSH
#define GIMP_STOCK_DYNAMICS GIMP_STOCK_TOOL_PAINTBRUSH
#define GIMP_STOCK_BUFFER GTK_STOCK_PASTE #define GIMP_STOCK_BUFFER GTK_STOCK_PASTE
#define GIMP_STOCK_DETACH GTK_STOCK_CONVERT #define GIMP_STOCK_DETACH GTK_STOCK_CONVERT
#define GIMP_STOCK_FONT GTK_STOCK_SELECT_FONT #define GIMP_STOCK_FONT GTK_STOCK_SELECT_FONT

View File

@ -17,7 +17,7 @@
<separator /> <separator />
<menuitem action="dialogs-colors" /> <menuitem action="dialogs-colors" />
<menuitem action="dialogs-brushes" /> <menuitem action="dialogs-brushes" />
<menuitem action="dialogs-dynamics" /> <menuitem action="dialogs-dynamics-editor" />
<menuitem action="dialogs-patterns" /> <menuitem action="dialogs-patterns" />
<menuitem action="dialogs-gradients" /> <menuitem action="dialogs-gradients" />
<menuitem action="dialogs-palettes" /> <menuitem action="dialogs-palettes" />