lets see what gtk/osx displays for key bindings without us editing them

git-svn-id: svn://localhost/ardour2/branches/3.0@10894 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-12-04 22:03:52 +00:00
parent b0a2eb359d
commit 97d74666e9
1 changed files with 7 additions and 6 deletions

View File

@ -286,16 +286,17 @@ KeyEditor::populate ()
#ifdef GTKOSX
string label = (*k);
/* Gtk/Quartz maps:
NSAlternate/NSOption key to Mod1
NSCommand key to Meta
NSCommand key to Mod2
*/
replace_all (label, "<Meta>", _("Command-"));
replace_all (label, "<Alt>", _("Option-"));
replace_all (label, "<Shift>", _("Shift-"));
replace_all (label, "<Control>", _("Control-"));
// replace_all (label, "<Primary>", _("Command-"));
// replace_all (label, "<Alt>", _("Option-"));
// replace_all (label, "<Shift>", _("Shift-"));
// replace_all (label, "<Control>", _("Control-"));
row[columns.binding] = label;
#else
row[columns.binding] = (*k);