remove OS X specific code for key editor binding displays
authorPaul Davis <paul@linuxaudiosystems.com>
Sun, 4 Dec 2011 22:32:48 +0000 (22:32 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Sun, 4 Dec 2011 22:32:48 +0000 (22:32 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@10895 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/keyeditor.cc

index bafa0a4f6c99b4f4c4c40c8c6b0c293ad5074ecc..e3839c098b7d1c1aa623d5e362dafc47cb5eaacb 100644 (file)
@@ -283,24 +283,7 @@ KeyEditor::populate ()
                if (*k == ActionManager::unbound_string) {
                        row[columns.binding] = string();
                } else {
-
-#ifdef GTKOSX
-                       string label = (*k);
-                       
-                       /* Gtk/Quartz maps:
-                          NSAlternate/NSOption key to Mod1
-                          NSCommand key to Mod2
-                       */
-
-//                     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);
-#endif
                }
        }
 }