Bug 754171 - cmd - missing modifier key to configure input controllers

Forgot to replace "control" with "primary" in the keyboard controller
event names.
This commit is contained in:
Michael Natterer
2015-09-09 14:59:32 +02:00
parent fb92321d43
commit d370e9c135

View File

@ -72,22 +72,22 @@ static KeyboardEvent keyboard_events[] =
"cursor-up-shift",
N_("Cursor Up") },
{ GDK_KEY_Up, "<Primary>", 0,
"cursor-up-control",
"cursor-up-primary",
N_("Cursor Up") },
{ GDK_KEY_Up, "<Alt>", 0,
"cursor-up-alt",
N_("Cursor Up") },
{ GDK_KEY_Up, "<Shift><Primary>", 0,
"cursor-up-shift-control",
"cursor-up-shift-primary",
N_("Cursor Up") },
{ GDK_KEY_Up, "<Shift><Alt>", 0,
"cursor-up-shift-alt",
N_("Cursor Up") },
{ GDK_KEY_Up, "<Primary><Alt>", 0,
"cursor-up-control-alt",
"cursor-up-primary-alt",
N_("Cursor Up") },
{ GDK_KEY_Up, "<Shift><Primary><Alt>", 0,
"cursor-up-shift-control-alt",
"cursor-up-shift-primary-alt",
N_("Cursor Up") },
{ GDK_KEY_Down, NULL, 0,
@ -97,22 +97,22 @@ static KeyboardEvent keyboard_events[] =
"cursor-down-shift",
N_("Cursor Down") },
{ GDK_KEY_Down, "<Primary>", 0,
"cursor-down-control",
"cursor-down-primary",
N_("Cursor Down") },
{ GDK_KEY_Down, "<Alt>", 0,
"cursor-down-alt",
N_("Cursor Down") },
{ GDK_KEY_Down, "<Shift><Primary>", 0,
"cursor-down-shift-control",
"cursor-down-shift-primary",
N_("Cursor Down") },
{ GDK_KEY_Down, "<Shift><Alt>", 0,
"cursor-down-shift-alt",
N_("Cursor Down") },
{ GDK_KEY_Down, "<Primary><Alt>", 0,
"cursor-down-control-alt",
"cursor-down-primary-alt",
N_("Cursor Down") },
{ GDK_KEY_Down, "<Shift><Primary><Alt>", 0,
"cursor-down-shift-control-alt",
"cursor-down-shift-primary-alt",
N_("Cursor Down") },
{ GDK_KEY_Left, NULL, 0,
@ -122,22 +122,22 @@ static KeyboardEvent keyboard_events[] =
"cursor-left-shift",
N_("Cursor Left") },
{ GDK_KEY_Left, "<Primary>", 0,
"cursor-left-control",
"cursor-left-primary",
N_("Cursor Left") },
{ GDK_KEY_Left, "<Alt>", 0,
"cursor-left-alt",
N_("Cursor Left") },
{ GDK_KEY_Left, "<Shift><Primary>", 0,
"cursor-left-shift-control",
"cursor-left-shift-primary",
N_("Cursor Left") },
{ GDK_KEY_Left, "<Shift><Alt>", 0,
"cursor-left-shift-alt",
N_("Cursor Left") },
{ GDK_KEY_Left, "<Primary><Alt>", 0,
"cursor-left-control-alt",
"cursor-left-primary-alt",
N_("Cursor Left") },
{ GDK_KEY_Left, "<Shift><Primary><Alt>", 0,
"cursor-left-shift-control-alt",
"cursor-left-shift-primary-alt",
N_("Cursor Left") },
{ GDK_KEY_Right, NULL, 0,
@ -147,22 +147,22 @@ static KeyboardEvent keyboard_events[] =
"cursor-right-shift",
N_("Cursor Right") },
{ GDK_KEY_Right, "<Primary>", 0,
"cursor-right-control",
"cursor-right-primary",
N_("Cursor Right") },
{ GDK_KEY_Right, "<Alt>", 0,
"cursor-right-alt",
N_("Cursor Right") },
{ GDK_KEY_Right, "<Shift><Primary>", 0,
"cursor-right-shift-control",
"cursor-right-shift-primary",
N_("Cursor Right") },
{ GDK_KEY_Right, "<Shift><Alt>", 0,
"cursor-right-shift-alt",
N_("Cursor Right") },
{ GDK_KEY_Right, "<Primary><Alt>", 0,
"cursor-right-control-alt",
"cursor-right-primary-alt",
N_("Cursor Right") },
{ GDK_KEY_Right, "<Shift><Primary><Alt>", 0,
"cursor-right-shift-control-alt",
"cursor-right-shift-primary-alt",
N_("Cursor Right") }
};