[gimp/soc-2009-dynamics] Lo and behold, menu item.
- From: Alexia Death <alexiade src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gimp/soc-2009-dynamics] Lo and behold, menu item.
- Date: Thu, 30 Jul 2009 17:59:19 +0000 (UTC)
commit 08a88f681dfe68fb226bf0a8ae0886249c4a8821
Author: Alexia Death <alexiadeath gmail com>
Date: Thu Jul 30 20:49:10 2009 +0300
Lo and behold, menu item.
app/actions/actions.c | 2 +-
app/actions/dialogs-actions.c | 8 +++++---
app/widgets/gimphelp-ids.h | 2 ++
libgimpwidgets/gimpstock.h | 1 +
menus/dialogs-menuitems.xml | 2 +-
5 files changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/app/actions/actions.c b/app/actions/actions.c
index cdada3e..7efe331 100644
--- a/app/actions/actions.c
+++ b/app/actions/actions.c
@@ -104,7 +104,7 @@ static const GimpActionFactoryEntry action_groups[] =
{ "brush-editor", N_("Brush Editor"), GIMP_STOCK_BRUSH,
brush_editor_actions_setup,
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_update },
{ "brushes", N_("Brushes"), GIMP_STOCK_BRUSH,
diff --git a/app/actions/dialogs-actions.c b/app/actions/dialogs-actions.c
index ab07340..53458d6 100644
--- a/app/actions/dialogs-actions.c
+++ b/app/actions/dialogs-actions.c
@@ -118,17 +118,19 @@ const GimpStringActionEntry dialogs_dockable_actions[] =
"gimp-brush-grid|gimp-brush-list",
GIMP_HELP_BRUSH_DIALOG },
+
{ "dialogs-brush-editor", GIMP_STOCK_BRUSH,
NC_("dialogs-action", "Brush Editor"), NULL,
NC_("dialogs-action", "Open the brush editor"),
"gimp-brush-editor",
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", "Open the dynamics editor"),
"gimp-dynamics-editor",
- GIMP_HELP_BRUSH_EDIT },
+ GIMP_HELP_DYNAMICS_EDITOR_DIALOG },
+
{ "dialogs-patterns", GIMP_STOCK_PATTERN,
NC_("dialogs-action", "P_atterns"), "<control><shift>P",
diff --git a/app/widgets/gimphelp-ids.h b/app/widgets/gimphelp-ids.h
index 3966e2c..6e67e8f 100644
--- a/app/widgets/gimphelp-ids.h
+++ b/app/widgets/gimphelp-ids.h
@@ -305,6 +305,8 @@
#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_DYNAMICS_EDITOR_DIALOG "gimp-dynamics-editor-dialog"
+
#define GIMP_HELP_PATTERN_DIALOG "gimp-pattern-dialog"
#define GIMP_HELP_PATTERN_EDIT "gimp-pattern-edit"
#define GIMP_HELP_PATTERN_OPEN_AS_IMAGE "gimp-pattern-open-as-image"
diff --git a/libgimpwidgets/gimpstock.h b/libgimpwidgets/gimpstock.h
index ae43a4e..d951e9d 100644
--- a/libgimpwidgets/gimpstock.h
+++ b/libgimpwidgets/gimpstock.h
@@ -268,6 +268,7 @@ G_BEGIN_DECLS
/* missing icons: */
#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_DETACH GTK_STOCK_CONVERT
#define GIMP_STOCK_FONT GTK_STOCK_SELECT_FONT
diff --git a/menus/dialogs-menuitems.xml b/menus/dialogs-menuitems.xml
index c9f8b1a..6208afa 100644
--- a/menus/dialogs-menuitems.xml
+++ b/menus/dialogs-menuitems.xml
@@ -17,7 +17,7 @@
<separator />
<menuitem action="dialogs-colors" />
<menuitem action="dialogs-brushes" />
- <menuitem action="dialogs-dynamics" />
+ <menuitem action="dialogs-dynamics-editor" />
<menuitem action="dialogs-patterns" />
<menuitem action="dialogs-gradients" />
<menuitem action="dialogs-palettes" />
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]