summaryrefslogtreecommitdiff
path: root/libs/gtkmm2ext/actions.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-12-04 22:01:59 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-12-04 22:01:59 +0000
commitb0a2eb359dfacf6a551a5a6af581702e66d81576 (patch)
tree1e2f03c8c9a48b891de064bf3e97c5f931293c5c /libs/gtkmm2ext/actions.cc
parent72e11bae94c805b738b69348147c28a3f678b3c8 (diff)
use the correct display for key accelerators
git-svn-id: svn://localhost/ardour2/branches/3.0@10893 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/gtkmm2ext/actions.cc')
-rw-r--r--libs/gtkmm2ext/actions.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gtkmm2ext/actions.cc b/libs/gtkmm2ext/actions.cc
index 2bbb1520f1..7237497d86 100644
--- a/libs/gtkmm2ext/actions.cc
+++ b/libs/gtkmm2ext/actions.cc
@@ -338,7 +338,7 @@ ActionManager::get_key_representation (const string& accel_path, AccelKey& key)
if (known) {
uint32_t k = possibly_translate_legal_accelerator_to_real_key (key.get_key());
key = AccelKey (k, Gdk::ModifierType (key.get_mod()));
- return ui_manager->get_accel_group()->name (key.get_key(), Gdk::ModifierType (key.get_mod()));
+ return ui_manager->get_accel_group()->get_label (key.get_key(), Gdk::ModifierType (key.get_mod()));
}
return unbound_string;