app: fix #5153 keyboard shortcuts Shift+[ and ] don't work on most keyboards

On most keyboards the [ and ] keys are shared with { and }. Which means
that if you press Shift+[ you get {. We were using this key combination
to increase the tool's size by 10 and the other to decrease it by 10.

However, on all keyboards where these keys share the same physical spot
on the keyboard, this wasn't working.
So, let's change the actual keys to do this to { and }.
This commit is contained in:
Jacob Boerema 2021-07-26 22:33:23 -04:00
parent de9a171a19
commit 42fe8abc98
1 changed files with 2 additions and 2 deletions

View File

@ -336,11 +336,11 @@ static const GimpEnumActionEntry tools_size_actions[] =
GIMP_ACTION_SELECT_NEXT, FALSE,
NULL },
{ "tools-size-decrease-skip", GIMP_ICON_DIALOG_TOOL_OPTIONS,
NC_("tools-action", "Tool's Size: Decrease by 10"), "<shift>bracketleft", NULL,
NC_("tools-action", "Tool's Size: Decrease by 10"), "braceleft", NULL,
GIMP_ACTION_SELECT_SKIP_PREVIOUS, FALSE,
NULL },
{ "tools-size-increase-skip", GIMP_ICON_DIALOG_TOOL_OPTIONS,
NC_("tools-action", "Tool's Size: Increase by 10"), "<shift>bracketright", NULL,
NC_("tools-action", "Tool's Size: Increase by 10"), "braceright", NULL,
GIMP_ACTION_SELECT_SKIP_NEXT, FALSE,
NULL },
{ "tools-size-decrease-percent", GIMP_ICON_DIALOG_TOOL_OPTIONS,