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

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.
parent 85e884ce
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
......
......@@ -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),
......
Supports Markdown
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