- std::string name = (*patch)->name();
- boost::replace_all (name, "_", " ");
-
- patch_menus.push_back (
- Gtk::Menu_Helpers::MenuElem (
- name,
- sigc::bind (sigc::mem_fun(*this, &PatchChange::on_patch_menu_selected),
- (*patch)->patch_primary_key())));
+ patch_menus.push_back (Gtkmm2ext::MenuElemNoMnemonic ((*patch)->name(),
+ sigc::bind (sigc::mem_fun(*this, &PatchChange::on_patch_menu_selected), (*patch)->patch_primary_key())));