use AccelGroup::get_label() rather than AccelGroup::name() to display names in the keybindings editor, as per 3.0

git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@11502 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-02-22 19:21:49 +00:00
parent f3b38e263a
commit 63f18ca632

View file

@ -182,7 +182,7 @@ KeyEditor::on_key_release_event (GdkEventKey* ev)
known = ActionManager::lookup_entry (path, key);
if (known) {
(*i)[columns.binding] = ActionManager::ui_manager->get_accel_group()->name (key.get_key(), Gdk::ModifierType (key.get_mod()));
(*i)[columns.binding] = ActionManager::ui_manager->get_accel_group()->get_label (key.get_key(), Gdk::ModifierType (key.get_mod()));
} else {
(*i)[columns.binding] = string();
}