Commit 28669b07 authored by Jehan's avatar Jehan

actions: dock-close had a default shortcut colliding with view-close.

When the accelerator is NULL, gtk_action_group_add_action_with_accel()
would use the default one for the stock icon used. And GTK_STOCK_CLOSE
default accelerator is "<Primary>w" which we already use for view-close.
We must use empty string when we want no default accelerator.
parent 20c86f82
......@@ -46,7 +46,7 @@ static const GimpActionEntry dock_actions[] =
{ "dock-close", GTK_STOCK_CLOSE,
NC_("dock-action", "Close Dock"), NULL, NULL,
NC_("dock-action", "Close Dock"), "", NULL,
G_CALLBACK (window_close_cmd_callback),
Markdown is supported
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