mirror of https://github.com/GNOME/gimp.git
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:
parent
de9a171a19
commit
42fe8abc98
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue