make sure that the "image-new" and "image-new-from-image" actions always

2004-07-20  Michael Natterer  <mitch@gimp.org>

	* app/actions/image-actions.c: make sure that the "image-new" and
	"image-new-from-image" actions always have the same shortcut.
This commit is contained in:
Michael Natterer 2004-07-20 18:36:07 +00:00 committed by Michael Natterer
parent 85e884cee1
commit 868bee6540
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-07-20 Michael Natterer <mitch@gimp.org>
* app/actions/image-actions.c: make sure that the "image-new" and
"image-new-from-image" actions always have the same shortcut.
2004-07-20 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/Lighting/lighting_main.c

View File

@ -63,7 +63,7 @@ static GimpActionEntry image_actions[] =
GIMP_HELP_FILE_NEW },
{ "image-new-from-image", GTK_STOCK_NEW,
N_("_New..."), "<control>N", NULL,
N_("_New..."), NULL, NULL,
G_CALLBACK (image_new_from_image_cmd_callback),
GIMP_HELP_FILE_NEW },
@ -157,10 +157,16 @@ static GimpEnumActionEntry image_rotate_actions[] =
void
image_actions_setup (GimpActionGroup *group)
{
GtkAction *action;
gimp_action_group_add_actions (group,
image_actions,
G_N_ELEMENTS (image_actions));
action = gtk_action_group_get_action (GTK_ACTION_GROUP (group),
"image-new-from-image");
gtk_action_set_accel_path (action, "<Actions>/image/image-new");
gimp_action_group_add_enum_actions (group,
image_convert_actions,
G_N_ELEMENTS (image_convert_actions),