app: use <primary> instead of <control> in accelerator strings
but generically change it back to <control> for GTK+ < 2.24.7. This enables using the Command modifier on OSX,
This commit is contained in:
@ -47,25 +47,25 @@ static const GimpActionEntry select_actions[] =
|
||||
{ "select-menu", NULL, NC_("select-action", "_Select") },
|
||||
|
||||
{ "select-all", GIMP_STOCK_SELECTION_ALL,
|
||||
NC_("select-action", "_All"), "<control>A",
|
||||
NC_("select-action", "_All"), "<primary>A",
|
||||
NC_("select-action", "Select everything"),
|
||||
G_CALLBACK (select_all_cmd_callback),
|
||||
GIMP_HELP_SELECTION_ALL },
|
||||
|
||||
{ "select-none", GIMP_STOCK_SELECTION_NONE,
|
||||
NC_("select-action", "_None"), "<control><shift>A",
|
||||
NC_("select-action", "_None"), "<primary><shift>A",
|
||||
NC_("select-action", "Dismiss the selection"),
|
||||
G_CALLBACK (select_none_cmd_callback),
|
||||
GIMP_HELP_SELECTION_NONE },
|
||||
|
||||
{ "select-invert", GIMP_STOCK_INVERT,
|
||||
NC_("select-action", "_Invert"), "<control>I",
|
||||
NC_("select-action", "_Invert"), "<primary>I",
|
||||
NC_("select-action", "Invert the selection"),
|
||||
G_CALLBACK (select_invert_cmd_callback),
|
||||
GIMP_HELP_SELECTION_INVERT },
|
||||
|
||||
{ "select-float", GIMP_STOCK_FLOATING_SELECTION,
|
||||
NC_("select-action", "_Float"), "<control><shift>L",
|
||||
NC_("select-action", "_Float"), "<primary><shift>L",
|
||||
NC_("select-action", "Create a floating selection"),
|
||||
G_CALLBACK (select_float_cmd_callback),
|
||||
GIMP_HELP_SELECTION_FLOAT },
|
||||
|
Reference in New Issue
Block a user