don't forget to set the action's accelerator.

2004-05-04  Michael Natterer  <mitch@gimp.org>

	* app/actions/file-dialog-actions.c (file_dialog_actions_setup):
	don't forget to set the action's accelerator.
This commit is contained in:
Michael Natterer 2004-05-04 14:51:10 +00:00 committed by Michael Natterer
parent 122e2c78db
commit 6b55a849a2
2 changed files with 12 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2004-05-04 Michael Natterer <mitch@gimp.org>
* app/actions/file-dialog-actions.c (file_dialog_actions_setup):
don't forget to set the action's accelerator.
2004-05-04 Sven Neumann <sven@gimp.org>
* app/actions/channels-commands.c

View File

@ -77,12 +77,13 @@ file_dialog_actions_setup (GimpActionGroup *group,
help_id = plug_in_proc_def_get_help_id (file_proc, help_domain);
}
entry.name = file_proc->db_info.name;
entry.stock_id = stock_id;
entry.label = strstr (file_proc->menu_path, "/") + 1;
entry.tooltip = NULL;
entry.proc_def = file_proc;
entry.help_id = help_id;
entry.name = file_proc->db_info.name;
entry.stock_id = stock_id;
entry.label = strstr (file_proc->menu_path, "/") + 1;
entry.accelerator = file_proc->accelerator;
entry.tooltip = NULL;
entry.proc_def = file_proc;
entry.help_id = help_id;
gimp_action_group_add_plug_in_actions (group, &entry, 1,
G_CALLBACK (file_dialog_type_cmd_callback));